mirror of
https://git.code.sf.net/p/ntfs-3g/ntfs-3g.git
synced 2024-11-23 10:04:00 +08:00
cb2cd394b3
so disks having bad sectors (dying disks) can be rescued. The content of the cluster having bad sectors is filled by character '2' and the start of the cluster is marked by "BadClusteR". (Logical change 1.682)
100 lines
3.3 KiB
Plaintext
100 lines
3.3 KiB
Plaintext
Please keep in alphabetical order so utilities are easier to find.
|
|
|
|
Thanks,
|
|
Anton
|
|
|
|
|
|
**********
|
|
* mkntfs *
|
|
**********
|
|
|
|
- mkntfs should be hard linked with mkfs.ntfs for the mkfs utility.
|
|
- We don't know what the real last sector is, thus we mark the volume dirty
|
|
and the subsequent chkdsk (which will happen on reboot into Windows
|
|
automatically) recreates the backup boot sector if the Linux kernel lied to
|
|
us about the number of sectors.
|
|
- Got a report that creating a floppy with mkntfs failed. Difference between
|
|
this floppy and the floppy created by the special tool found on the net was
|
|
said to be that the bitmap is 256kib on the special floppy while mkntfs will
|
|
make it much smaller. Need to verify this and experiment with the bitmap
|
|
size to make it work. Note, reporter was using win2k.
|
|
|
|
|
|
*************
|
|
* ntfsclone *
|
|
*************
|
|
|
|
- get rid of the unneeded lseek()'s during reads/writes (probably it
|
|
doesn't improve performance much, or any at all)
|
|
- catch if source and dest are the same
|
|
- rescue: when reading a cluster fails then try rescue at the sector level
|
|
- disable consistency check for --metadata (e.g. if the check is crashing)
|
|
- make "wiped", etc statistic variables long long
|
|
- option: --inode
|
|
- option: --data
|
|
- metadata cloning: skip more non-needed inodes
|
|
- manual: document LFS issues (smbfs' lfs option, nfs)
|
|
- manual: mention optimized seeks
|
|
- manual: optimal backup if disks have bad sectors
|
|
- manual: ntfsclone guarantees the restored image works only
|
|
if one restores to the exactly same partition. For example,
|
|
one can not copy system partition to a different partition:
|
|
minimum "hidden sectors" field and BOOT.INI need modifications.
|
|
We could do these adjustments optionally.
|
|
- check if kernel block size = GCD(page size, device size) makes
|
|
effect on performance (Al Viro says no)
|
|
- check whether the O_WRONLY -> O_RDWR change made effect on performance
|
|
|
|
|
|
***********
|
|
* ntfsfix *
|
|
***********
|
|
|
|
- Cleanup to use ntfs_attr_* API for editing $MFTMirr, $Volume, and $LogFile.
|
|
This has the immediate benefit of enabling attribute list support and making
|
|
the code simpler.
|
|
- On ntfs 3.0+ volumes need to disable the usn journal if it is active. This
|
|
means deleting file $UsnJrnl from /$Extend directory.
|
|
- On ntfs 3.0+ volumes need to mark the quota out of date? - Probably, but
|
|
it shouldn't cause any corruption not doing so for the moment so this is
|
|
not a showstopper bug for the first release. (AIA)
|
|
|
|
|
|
*************
|
|
* ntfslabel *
|
|
*************
|
|
|
|
- Support ioctls for ntfs tng driver 2.?.? for reading/changing the label.
|
|
|
|
|
|
**************
|
|
* ntfsresize *
|
|
**************
|
|
|
|
High priority
|
|
- move ntfs consistency check to libntfs (for ntfsck, ntfsclone, etc)
|
|
- use different exit codes (e.g. corrupt volume detected, unsupported case,
|
|
bad sectors, etc)
|
|
|
|
Medium priority
|
|
- support disks having bad sectors
|
|
- cope with the rare, unsupported cases, see man ntfsresize 'KNOWN ISSUES'
|
|
- save $Bitmap if it was modified and an error occures (e.g. bad sector).
|
|
- handle signals (^C, etc)
|
|
|
|
Low priority
|
|
- move volume start
|
|
|
|
|
|
****************
|
|
* ntfsundelete *
|
|
****************
|
|
|
|
- undelete by name rather than inode number
|
|
- support for compressed files
|
|
- support for internationalisation
|
|
- recover by type?
|
|
- mass undelete (using wildcards)
|
|
- display parent directory
|
|
- name "<none>" to MFTn
|