|
man-page for "ntfsundelete" dated November 2005, taken from ntfsprogs 2.0.0 Namentfsundelete - recover a deleted file from an NTFS volume.Synopsisntfsundelete [options] deviceDescriptionntfsundelete has three modes of operation: scan, undelete and copy.ScanThe default mode, scan simply reads an NTFS Volume and looks for files that have been deleted. Then it will print a list giving the inode number, name and size. UndeleteThe undelete mode takes the files either matching the regular expression (option -m) or specified by the inode-expressions and recovers as much of the data as possible. It saves the result to another location. Partly for safety, but mostly because NTFS write support isn’t finished. CopyThis is a wizard’s option. It will save a portion of the MFT to a file. This probably only be useful when debugging ntfsundelete Notesntfsundelete only ever reads from the NTFS Volume. ntfsundelete will never change the volume.CaveatsMiraclesntfsundelete cannot perform the impossible.When a file is deleted the MFT Record is marked as not in use and the bitmap representing the disk usage is updated. If the power isn’t turned off immediately, the free space, where the file used to live, may become overwritten. Worse, the MFT Record may be reused for another file. If this happens it is impossible to tell where the file was on disk. Even if all the clusters of a file are not in use, there is no guarantee that they haven’t been overwritten by some short-lived file. LocaleIn NTFS all the filenames are stored as Unicode. They will be converted into the current locale for display by ntfsundelete. The utility has successfully displayed some Chinese pictogram filenames and then correctly recovered them.Extended MFT RecordsIn rare circumstances, a single MFT Record will not be large enough to hold the metadata describing a file (a file would have to be in hundreds of fragments for this to happen). In these cases one MFT record may hold the filename, but another will hold the information about the data. ntfsundelete will not try and piece together such records. It will simply show unnamed files with data.Compressed and Encrypted Filesntfsundelete cannot recover compressed or encrypted files. When scanning for them, it will display as being 0% recoverable.The Recovered File’s Size and DateTo recover a file ntfsundelete has to read the file’s metadata. Unfortunately, this isn’t always intact. When a file is deleted, the metadata can be left in an inconsistent state. e.g. the file size may be zero; the dates of the file may be set to the time it was deleted, or random.To be safe ntfsundelete will pick the largest file size it finds and write that to disk. It will also try and set the file’s date to the last modified date. This date may be the correct last modified date, or something unexpected. OptionsBelow is a summary of all the options that ntfsundelete accepts. Nearly all options have two equivalent names. The short name is preceded by - and the long name is preceded by --. Any single letter options, that don’t take an argument, can be combined into a single command, e.g. -fv is equivalent to -f -v. Long named options can be abbreviated to any unique prefix of their name.
ExamplesLook for deleted files on /dev/hda1.Look for deleted documents on /dev/hda1. Look for deleted files between 5000 and 6000000 bytes, with at least 90% of the data recoverable, on /dev/hda1. Look for deleted files altered in the last two days Undelete inodes 2, 5 and 100 to 131 of device /dev/sda1 Undelete inode number 3689, call the file ’work.doc’ and put it in the user’s home directory. Save MFT Records 3689 to 3690 to a file ’debug’
BugsThere are some small limitations to ntfsundelete, but currently no known bugs. If you find a bug please send an email describing the problem to the development team:linux-ntfs-dev@lists.sourceforge.net Authorsntfsundelete was written by Richard Russon and Holger Ohmacht, with contributions from Anton Altaparmakov.Availabilityntfsundelete is part of the ntfsprogs package and is available from:http://www.linux-ntfs.org/content/view/19/37
The manual pages are available
online at: See AlsoNote: Only ntfs-related man-pages are to be found on this server.If you are looking for other man-pages, please try man <pagename> on your own computer or search an online-repository like http://www.linuxcommand.org/superman_pages.php. ntfsinfo(8) , ntfsprogs(8)
|
|||||||||||
| www.linux-ntfs.org website © 2005 by the Linux-NTFS-Project. | |||||||||||