Is OS going to scan the full device while detecting it?
CASTalk.com Forum Index CASTalk.com
Discussion of DSP, FPGA, storage and embedded system.
 
 FAQFAQ   MemberlistMemberlist     RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
 
Google
 
Web castalk.com
Is OS going to scan the full device while detecting it?

 
Post new topic   Reply to topic    CASTalk.com Forum Index -> Storage System
Author Message
Yukuan
Guest





Posted: Tue Jul 05, 2005 7:38 am    Post subject: Is OS going to scan the full device while detecting it? Reply with quote

Hi All,

I have a question about USB mass storage, such as flash pendrive.
Is OS going to scan its all logical blocks after detecting the pendrive
or
just to scan the FAT table in the meantime?
Back to top
Maxim S. Shatskih
Guest





Posted: Tue Jul 05, 2005 4:03 pm    Post subject: Re: Is OS going to scan the full device while detecting it? Reply with quote

Even the FAT table is not 100% scanned on mount. Only the minimum necessary
is read on mount.

Use CHKDSK to scan the whole media.

--
Maxim Shatskih, Windows DDK MVP
StorageCraft Corporation
maxim@storagecraft.com
http://www.storagecraft.com

"Yukuan" <yukuan.jiang@gmail.com> wrote in message
news:1120531105.684899.24410@o13g2000cwo.googlegroups.com...
Quote:
Hi All,

I have a question about USB mass storage, such as flash pendrive.
Is OS going to scan its all logical blocks after detecting the pendrive
or
just to scan the FAT table in the meantime?
Back to top
Yukuan
Guest





Posted: Wed Jul 06, 2005 4:16 pm    Post subject: Re: Is OS going to scan the full device while detecting it? Reply with quote

Please help me make a further confirmation:
An OS only scans necessary partial FAT while device mounting;
and do not scans/reads any other data.
Am I right?

Maxim S. Shatskih wrote:
Quote:
Even the FAT table is not 100% scanned on mount. Only the minimum necessary
is read on mount.

Use CHKDSK to scan the whole media.
Back to top
Maxim S. Shatskih
Guest





Posted: Wed Jul 06, 2005 11:56 pm    Post subject: Re: Is OS going to scan the full device while detecting it? Reply with quote

Yes. It scans the bootblock only in some cases. Well, for FAT32, the very
nearest file access will also scan the root directory cluster chain.

FASTFAT.SYS has no code to do any media surface checks on mount.

--
Maxim Shatskih, Windows DDK MVP
StorageCraft Corporation
maxim@storagecraft.com
http://www.storagecraft.com

"Yukuan" <yukuan.jiang@gmail.com> wrote in message
news:1120655569.426492.119340@g47g2000cwa.googlegroups.com...
Quote:

Please help me make a further confirmation:
An OS only scans necessary partial FAT while device mounting;
and do not scans/reads any other data.
Am I right?

Maxim S. Shatskih wrote:
Even the FAT table is not 100% scanned on mount. Only the minimum necessary
is read on mount.

Use CHKDSK to scan the whole media.

Back to top
Yukuan
Guest





Posted: Thu Jul 07, 2005 7:29 am    Post subject: Re: Is OS going to scan the full device while detecting it? Reply with quote

Maxim S. Shatskih wrote:
Quote:
Yes. It scans the bootblock only in some cases. Well, for FAT32, the very

^^^^^^^^
Quote:
nearest file access will also scan the root directory cluster chain.
^^^^^^^^^^^^^^^^^^^

FASTFAT.SYS has no code to do any media surface checks on mount.


Grateful to have you help me clear my doubt.

But I am still confused by the "very nearest file access".
What does it mean?
Back to top
Maxim S. Shatskih
Guest





Posted: Thu Jul 07, 2005 10:33 pm    Post subject: Re: Is OS going to scan the full device while detecting it? Reply with quote

Quote:
But I am still confused by the "very nearest file access".

First file access after mount.

--
Maxim Shatskih, Windows DDK MVP
StorageCraft Corporation
maxim@storagecraft.com
http://www.storagecraft.com
Back to top
 
Post new topic   Reply to topic    CASTalk.com Forum Index -> Storage System All times are GMT
Page 1 of 1

 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum




VoIP Electronics Powered by phpBB