Thank you, Charlie, for explaining that. I was confused by the manual text "showlink: It will display what groups of files are linked together." I thought I could use it to tell if dist and accept are hard linked together.
Thanks, again, for helping me understand SmartList.
-Kevin
Charlie Summers charlie@lofcom.com 06/27/01 11:13AM >>>
At 10:48 AM -0400 6/27/01, KEVIN ZEMBOWER is rumored to have typed:
Is something broken, or just something I don't understand?
showdist is designed to show you the directories where like-file hardlinks reside. For example, in your list directory type:
../.bin/showlink rc.init
...and you'll see a list of the _directories_ where there are hard links to your rc.init file (generally every list directory you have plus .etc/ unless you have a modified rc.init file somewhere).
showlink really wasn't designed to show any hardlink anywhere on your hard drive (it _only_ looks insite the main lists directory...link a copy of rc.init outside the list tree and showlink won't see it).
Charlie
KEVIN ZEMBOWER wrote:
Thank you, Charlie, for explaining that. I was confused by the manual text "showlink: It will display what groups of files are linked together." I thought I could use it to tell if dist and accept are hard linked together.
Thanks, again, for helping me understand SmartList.
-Kevin
The strange thing about this is that if the dist file and the accept file are in the List directory, then sholwink should show all hard linked files to dist. In fact this is exactly what I use it for day in and day out without a problem, it works. for me ...
--
Sincerely,
Joyce Miletic VA Linux Systems Level 3 Technical Support **************************
In article sb39c397.068@ccp2.jhuccp.org, "KEVIN ZEMBOWER" KZEMBOWER@jhuccp.org writes:
Thank you, Charlie, for explaining that. I was confused by the manual text "showlink: It will display what groups of files are linked together." I thought I could use it to tell if dist and accept are hard linked together.
You can tell this by doing "ls -i dist accept". It will display each file's "inode number" next to the filename; if the files are hard-linked to each other, then these numbers will be the same.
smartlist@lists.rwth-aachen.de