|
Next: Disks without filesystems Up: Filesystems Previous: Other tools for all
Other tools for the ext2 filesystemIn addition to the filesystem creator (mke2fs ) and checker (e2fsck ) accessible directly or via the filesystem type independent front ends, the ext2 filesystem has some additional tools that can be useful. tune2fs adjusts filesystem parameters. Some of the more interesting parameters are:
dumpe2fs shows information about an ext2 filesystem, mostly from the superblock. Figure 4.5 shows a sample output. Some of the information in the output is technical and requires understanding of how the filesystem works (see appendix ), but much of it is readily understandable even for layadmins.
debugfs is a filesystem debugger. It allows direct access to the filesystem data structures stored on disk and can thus be used to repair a disk that is so broken that fsck can't fix it automatically. It has also been known to be used to recover deleted files. However, debugfs very much requires that you understand what you're doing; a failure to understand can destroy all your data. dump and restore can be used to back up an ext2 filesystem. They are ext2 specific versions of the traditional UNIX backup tools. See chapter 10 for more information on backups.
Next Up Previous Contents Index Next: Disks without filesystems Up: Filesystems Previous: Other tools for all Lars Wirzenius Sat Nov 15 02:32:11 EET 1997 |
|||||||||||||||||
With any suggestions or questions please feel free to contact us |