Conversation
Notices
-
Sunday, 14-Feb-10 11:26:19 UTC from seesmic
- Vitaliy Kulikov repeated this.
-
@softmetz get the inode number with ls -i, then use find -follow -inum <number> from the root of the filesystem
-
@softmetz you could scan entire filesystem with find and use -exec or some flag to check if given files points to your target file
-
@softmetz better use with -type to check only links. Also -L option + -printf looks interesting. Write your solution when done :)
-
@softmetz loops are common on /proc and similar filesystems, use -xdev to avoid these warnings
-
@softmetz 'man find' - Look at the '-lname' option
-
@softmetz check the man page for 'find'. The argument you are looking for is -lname (or -ilname) (ex: "sudo find /sbin -ilname lvm" )