[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: hardlink to symlink behaviour [was: Re: MKXORG=yes on Linux: nbmtree: existing entry for `libXaw.so', type `link' does not match type `file']
On Wed 01 Oct 2008 at 08:50:02 +0200, Joerg Sonnenberger wrote:
> POSIX allows in some places this behavior. But the general rules for
> system calls apply to symlink(2) as well, so POSIX doesn't really specify a
> mechanism to create. The POSIX rules are intended as you said for
> implementing symlinks without separate inodes.
It sounds useful to me to be able to make hard links to symlinks.
That way, you can truely make a "copy" of a directory hierarchy by
making a whole bunch of hard links to all files/devices/symlinks (but
you'll still have to duplicate directories of course). Rather like
lndir(1)/linkfarm(1), but with hard links.
Apparently the NetBSD implementation makes this impossible.
___ Olaf 'Rhialto' Seibert -- You author it, and I'll reader it.
\X/ rhialto/at/xs4all.nl -- Cetero censeo "authored" delendum esse.
Main Index |
Thread Index |