Re: link(2) and symlinks

2005-03-10 Thread Gunnar Ritter
Andries Brouwer <[EMAIL PROTECTED]> wrote: > On Wed, Mar 09, 2005 at 03:14:36PM -0800, Nick Stoughton wrote: > > Most Unix implementations behave in the manner specified by POSIX. One > > notable exception is Solaris 8 (I don't know about later Solarises). It's still the same on Solaris 10.

Re: link(2) and symlinks

2005-03-10 Thread Gunnar Ritter
Andries Brouwer [EMAIL PROTECTED] wrote: On Wed, Mar 09, 2005 at 03:14:36PM -0800, Nick Stoughton wrote: Most Unix implementations behave in the manner specified by POSIX. One notable exception is Solaris 8 (I don't know about later Solarises). It's still the same on Solaris 10.

Re: link(2) and symlinks

2005-03-09 Thread Andries Brouwer
On Wed, Mar 09, 2005 at 03:14:36PM -0800, Nick Stoughton wrote: > On Linux, the link() system call does not dereference symbolic links > > This behavior does not conform to POSIX > > Most Unix implementations behave in the manner specified by POSIX. One > notable exception is Solaris 8 (I don't

link(2) and symlinks

2005-03-09 Thread Nick Stoughton
On Linux, the link() system call does not dereference symbolic links: if oldpath is a symbolic link, then newpath is created as a new hard link to the same symbolic link file. (In other words, newpath is also a symbolic link to the same file that oldpath refers to.) E.g. (using shell commands to

link(2) and symlinks

2005-03-09 Thread Nick Stoughton
On Linux, the link() system call does not dereference symbolic links: if oldpath is a symbolic link, then newpath is created as a new hard link to the same symbolic link file. (In other words, newpath is also a symbolic link to the same file that oldpath refers to.) E.g. (using shell commands to

Re: link(2) and symlinks

2005-03-09 Thread Andries Brouwer
On Wed, Mar 09, 2005 at 03:14:36PM -0800, Nick Stoughton wrote: On Linux, the link() system call does not dereference symbolic links This behavior does not conform to POSIX Most Unix implementations behave in the manner specified by POSIX. One notable exception is Solaris 8 (I don't know