Compare commits
2 commits
v1.0
...
developmen
Author | SHA1 | Date | |
---|---|---|---|
178f9a52db | |||
36156104ad |
4
Makefile
4
Makefile
|
@ -3,7 +3,9 @@ LDLIBS := -lutil
|
|||
|
||||
dump_inode:
|
||||
|
||||
.PHONY: clean install
|
||||
.PHONY: all clean install
|
||||
all: dump_inode
|
||||
|
||||
clean:
|
||||
rm -f dump_inode
|
||||
|
||||
|
|
|
@ -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 ...
|
||||
|
|
Loading…
Reference in a new issue