Hard links to directories: why not?

Peter da Silva peter at ficc.ferranti.com
Sat Jul 21 05:57:46 AEST 1990


In article <1990Jul20.100456.20995 at jarvis.csri.toronto.edu> flaps at dgp.toronto.edu (Alan J Rosenthal) writes:
> The fact that with symlinks, the real (hard) link is given a higher status
> than the symbolic link. With two hard links, there's no local strategy which
> follows only one, except for otherwise distinguishable cases like `.' and
> `..'.

Sure, tell find not to follow a directory if the inode of "foo/.." is not
the inode of ".". (i.e., treat it as a symbolic link)
-- 
Peter da Silva.   `-_-'
+1 713 274 5180.   'U`
<peter at ficc.ferranti.com>



More information about the Comp.unix.wizards mailing list