WUGNET, the Windows User Group Network
Your Complete Resource Center for "The Best" in Shareware, Computing Tips and Support, Windows Industry News... and much more!
Home Forums Shareware Windows Tips Hot Offers FREE Newsletters Arcade Contact Us About Partners
Search WUGNET: RSS Feeds RSS Feeds Advertise with WUGNET    |    Shareware eBooks
HomeHome FAQFAQ      ProfileProfile    Private MessagesPrivate Messages   Log inLog in

how to see which sector belongs to which file in fat32?

 
   Home -> Windows Other -> Fat32 RSS
Next:  Unable to boot W2K Pro  
Author Message
john doe18

External


Since: Oct 04, 2004
Posts: 2



(Msg. 1) Posted: Fri Mar 25, 2005 4:18 am
Post subject: how to see which sector belongs to which file in fat32?
Archived from groups: microsoft>public>win98>fat32 (more info?)

i know it's written somewhere in FAT (1. sector and size of file) but
i don't know how to read it in my application? i can access drive on a
raw-data level and print out all of the sectors, but i'd like to look
which sectors are free and which are used by which files. how do i do
that? vc++ 6.0 is the language

thank you
Back to top
Login to vote
Jeff Richards

External


Since: Mar 14, 2004
Posts: 2440



(Msg. 2) Posted: Fri Mar 25, 2005 5:35 pm
Post subject: Re: how to see which sector belongs to which file in fat32? [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

The size of the file is not part of the FAT. The directory entry contains a
pointer to the first sector. The FAT entry for this first sector contains
the sector number of the second sector, and so on until the FAT entry
contains the indicator for no more sectors.
--
Jeff Richards
MS MVP (Windows - Shell/User)
"john doe" <maric81.RemoveThis@hotmail.com> wrote in message
news:d03ba648.0503250418.73b71ecc@posting.google.com...
 >i know it's written somewhere in FAT (1. sector and size of file) but
 > i don't know how to read it in my application? i can access drive on a
 > raw-data level and print out all of the sectors, but i'd like to look
 > which sectors are free and which are used by which files. how do i do
 > that? vc++ 6.0 is the language
 >
 > thank you<!-- ~MESSAGE_AFTER~ -->
Back to top
Login to vote
SFB - KB3MM

External


Since: Aug 14, 2004
Posts: 128



(Msg. 3) Posted: Sat Mar 26, 2005 3:35 am
Post subject: Re: how to see which sector belongs to which file in fat32? [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

I thought they were clusters nut sectors.

"Jeff Richards" <JRichards.TakeThisOut@msn.com.au> wrote in message
news:%23IjZMRYMFHA.568@TK2MSFTNGP09.phx.gbl...
 > The size of the file is not part of the FAT. The directory entry contains
a
 > pointer to the first sector. The FAT entry for this first sector contains
 > the sector number of the second sector, and so on until the FAT entry
 > contains the indicator for no more sectors.
 > --
 > Jeff Richards
 > MS MVP (Windows - Shell/User)
 > "john doe" <maric81.TakeThisOut@hotmail.com> wrote in message
 > news:d03ba648.0503250418.73b71ecc@posting.google.com...
  > >i know it's written somewhere in FAT (1. sector and size of file) but
  > > i don't know how to read it in my application? i can access drive on a
  > > raw-data level and print out all of the sectors, but i'd like to look
  > > which sectors are free and which are used by which files. how do i do
  > > that? vc++ 6.0 is the language
  > >
  > > thank you
 >
 ><!-- ~MESSAGE_AFTER~ -->
Back to top
Login to vote
Jeff Richards

External


Since: Mar 14, 2004
Posts: 2440



(Msg. 4) Posted: Sat Mar 26, 2005 6:35 pm
Post subject: Re: how to see which sector belongs to which file in fat32? [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Yes - cluster. I'm sure OP can make the translation.
--
Jeff Richards
MS MVP (Windows - Shell/User)
"SFB - KB3MM" <Mickey.RemoveThis@MouseHouse.com> wrote in message
news:utDgsWdMFHA.2704@TK2MSFTNGP15.phx.gbl...
 >I thought they were clusters nut sectors.
 >
 > "Jeff Richards" <JRichards.RemoveThis@msn.com.au> wrote in message
 > news:%23IjZMRYMFHA.568@TK2MSFTNGP09.phx.gbl...
  >> The size of the file is not part of the FAT. The directory entry
  >> contains
 > a
  >> pointer to the first sector. The FAT entry for this first sector
  >> contains
  >> the sector number of the second sector, and so on until the FAT entry
  >> contains the indicator for no more sectors.
  >> --
  >> Jeff Richards
  >> MS MVP (Windows - Shell/User)
  >> "john doe" <maric81.RemoveThis@hotmail.com> wrote in message
  >> news:d03ba648.0503250418.73b71ecc@posting.google.com...
   >> >i know it's written somewhere in FAT (1. sector and size of file) but
   >> > i don't know how to read it in my application? i can access drive on a
   >> > raw-data level and print out all of the sectors, but i'd like to look
   >> > which sectors are free and which are used by which files. how do i do
   >> > that? vc++ 6.0 is the language
   >> >
   >> > thank you
  >>
  >>
 ><!-- ~MESSAGE_AFTER~ -->
Back to top
Login to vote
Tim Slattery

External


Since: Jun 14, 2004
Posts: 536



(Msg. 5) Posted: Mon Mar 28, 2005 8:42 am
Post subject: Re: how to see which sector belongs to which file in fat32? [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

"Jeff Richards" <JRichards.RemoveThis@msn.com.au> wrote:

 >The size of the file is not part of the FAT. The directory entry contains a
 >pointer to the first sector. The FAT entry for this first sector contains
 >the sector number of the second sector, and so on until the FAT entry
 >contains the indicator for no more sectors.

The file size is not stored in the FAT, but it is stored in the file's
directory entry.

--
Tim Slattery
MS MVP(DTS)
Slattery_T.RemoveThis@bls.gov<!-- ~MESSAGE_AFTER~ -->
Back to top
Login to vote
Display posts from previous:   
       Home -> Windows Other -> Fat32 All times are: Eastern Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You can edit your posts in this forum
You can delete your posts in this forum
You can vote in polls in this forum
Categories:
 Windows XP
 Windows Vista
  Windows Other
 Office
 Office Other
 Security
 WinRAR
  • Home |
  • Shareware |
  • Windows Tips |
  • Hot Offers |
  • FREE Newsletters |
  • Arcade |
  • Forums |
  • eBooks |
  • About WUGNET |
  • Partners |
  • Contact

  • WUGNET Privacy Policy |
  • Link to WUGNET