how do I find names of files affected by fsck ?
Hi,
I would like to know the names of files affected by fsck.ext3 . It seems like this is an important feature entirely missing from fsck. Currently, the only information fsck shows is block numbers and inode numbers. Is there a way to find out file names affected by an fsck repair (specifically fsck.ext3)? Is there a different program that can lookup block numbers to file names? -J_Tom_Moon_79 btw, this is also posted here: http://forums.fedoraforum.org/showthread.php?t=216053 |
fsck has a number of options. See man fsck for the full details, but perhaps you need to use the -V option, and maybe tee or redirect the output to a logfile.
If you have already run fsck without these options, the repairs will have already been made, as best fsck can (and it's pretty robust in my experience). |
I looked at command line options in 'man fsck' and 'man fsck.ext3'.
I have tested the verbose option. -v (lowercase) for verbose, does not print any file name information. |
ls -i file or stat file will give you the inode of the file and find -inum number will find filenames associated with that inode.
|
All times are GMT -5. The time now is 09:40 PM. |