Compare commits

..

No commits in common. "development" and "v1.0" have entirely different histories.

2 changed files with 5 additions and 7 deletions

View file

@ -3,9 +3,7 @@ LDLIBS := -lutil
dump_inode:
.PHONY: all clean install
all: dump_inode
.PHONY: clean install
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 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:
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:
.Pp
.Dl # dump_inode -a sd1k | grep nlink:0 | grep -v size:0
.Dl ...