[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] cp --no-derefence --link assumes a Linux kernel
From: |
Paul Eggert |
Subject: |
Re: [PATCH] cp --no-derefence --link assumes a Linux kernel |
Date: |
Wed, 21 Sep 2005 21:16:57 -0700 |
User-agent: |
Gnus/5.1007 (Gnus v5.10.7) Emacs/21.4 (gnu/linux) |
Aurelien Jarno <address@hidden> writes:
> POSIX.1-2001 says that link() should dereference symlinks. The Linux
> kernel does not follow POSIX, so that calling cp with --no-dereference
> and --link works as expected. However on non-Linux kernel, this does not
> work as expected, the symlinks being dereferenced. This is even worse
> with symlinks pointing to non-existing paths, where contrary to Linux,
> cp fails in such cases.
Sorry, I can't quite understand your explanation. Can you please give
a series of shell commands that illustrates the problems?
Also, what does "cp --version" and "uname -a" say for you?
Thanks.