Hi,
I am writing a user space program to open a drive / volume and
get the used blocks on the system. My question is , does the
volume_bitmap return the bad clusters on the volume also , or are they
mapped out to the BadClus file and are flagged as unused ? Also, what
is the format of the BadClus file and is there a way to get the list
of bad clusters on a volume ?
----- Original Message -----
From: “Sameer Kamat” To: “Windows File Systems Devs Interest List” Sent: Tuesday, January 25, 2005 7:02 PM Subject: [ntfsd] VOLUME_BITMAP and Bad Clusters
> Hi, > I am writing a user space program to open a drive / volume and > get the used blocks on the system. My question is , does the > volume_bitmap return the bad clusters on the volume also , or are they > mapped out to the BadClus file and are flagged as unused ? Also, what > is the format of the BadClus file and is there a way to get the list > of bad clusters on a volume ? > > Thanks, > Sameer. > > — > Questions? First check the IFS FAQ at https://www.osronline.com/article.cfm?id=17 > > You are currently subscribed to ntfsd as: xxxxx@storagecraft.com > To unsubscribe send a blank email to xxxxx@lists.osr.com
So if I go through the volume bitmap and read every block I will run
into a bad block. In that case how can I skip over the bad blocks, is
there a bitmap of bad blocks too ? Would the $BadClus file be of any
help here ?
Thanks,
Sameer
On Tue, 25 Jan 2005 22:58:26 +0300, Maxim S. Shatskih
wrote: > Surely the bad blocks are mapped as used, it is so for any filesystem I > know. > > Maxim Shatskih, Windows DDK MVP > StorageCraft Corporation > xxxxx@storagecraft.com > http://www.storagecraft.com > > ----- Original Message ----- > From: “Sameer Kamat” > To: “Windows File Systems Devs Interest List” > Sent: Tuesday, January 25, 2005 7:02 PM > Subject: [ntfsd] VOLUME_BITMAP and Bad Clusters > > > Hi, > > I am writing a user space program to open a drive / volume and > > get the used blocks on the system. My question is , does the > > volume_bitmap return the bad clusters on the volume also , or are they > > mapped out to the BadClus file and are flagged as unused ? Also, what > > is the format of the BadClus file and is there a way to get the list > > of bad clusters on a volume ? > > > > Thanks, > > Sameer. > > > > — > > Questions? First check the IFS FAQ at > https://www.osronline.com/article.cfm?id=17 > > > > You are currently subscribed to ntfsd as: xxxxx@storagecraft.com > > To unsubscribe send a blank email to xxxxx@lists.osr.com > > — > Questions? First check the IFS FAQ at https://www.osronline.com/article.cfm?id=17 > > You are currently subscribed to ntfsd as: xxxxx@gmail.com > To unsubscribe send a blank email to xxxxx@lists.osr.com >