Szakacsits Szabolcs writes ("Re: [Linux-NTFS-Dev] Implementing ntfsimage"):
> Only comment now is that the backup boot sector, the last 512 bytes of the
> partition, isn't strictly part of the NTFS. Nowhere NTFS refers to it. So
> imaging based on exclusively cluster bitmap isn't enough.
Yes, I noticed that. The corresponding bit in the cluster bitmap is
set (on the volumes I have to hand, anyway) but it's beyond the end
according to the cluster count.
> For me it came free: in the same session both consistency check and imaging
> are done (except stdout case). So I guess you just use the cluster bitmap.
That's right.
> > If there's a library function to do it, excellent. Otherwise I'll punt
> > on that for now.
>
> OK, I'll make, actually it's also in progress as part of making the
> inode/attrib/cluster walking code shared with many callback points for
> ntfsresize/ntfsmeta/ntfsck/ntfsdefrag/my_ntfsimage and potentially others.
OK.
> > (I'm using `utils_mount_volume'. Maybe, if you want things to do
>
> utils_mount_volume is missing things. See mount_volume and after it was
> called the volume size checks in ntfsresize. The error messages also
> answer FAQ's what got gone after I added the explanations/guesses to them.
I'll take a look at that.
Thanks,
Ian.
|