Compare commits

...

2 commits

Author SHA1 Message Date
Thomas Lindner 178f9a52db improve wording 2023-03-08 21:56:01 +01:00
Thomas Lindner 36156104ad add all target 2023-03-08 21:55:26 +01:00
2 changed files with 7 additions and 5 deletions

View file

@ -3,7 +3,9 @@ LDLIBS := -lutil
dump_inode:
.PHONY: clean install
.PHONY: all clean install
all: dump_inode
clean:
rm -f dump_inode

View file

@ -103,10 +103,10 @@ has always inode number 2:
Note, that the listing of deleted entries is based on heuristics and might be
spurious.
.Pp
If you cannot find the inode number of your file this way, you can try to dump
the whole inode table.
To find your file this way, you need some criteria to identify it e.g. files
that are deleted but still open have nlink 0 but a size that is not 0:
If you cannot find the inode number of your file another way, you can try to
dump the whole inode table.
To identify your file, you need to filter for some criteria e.g. files that are
deleted but still open have nlink 0 but a size that is not 0:
.Pp
.Dl # dump_inode -a sd1k | grep nlink:0 | grep -v size:0
.Dl ...