bug-coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#9896: acknowledged by developer (Re: bug#9896: ln man page ambiguity


From: Voelker, Bernhard
Subject: bug#9896: acknowledged by developer (Re: bug#9896: ln man page ambiguity)
Date: Mon, 21 Nov 2011 08:53:51 +0100

 
Paul Eggert wrote:
+  -n, --no-dereference        treat LINK_NAME as a normal file if\n\
+                                it is a symbolic link to a directory\n\

IMHO that's wrong.

ln also creates a hardlink of a symlink if that points to a file:

$ touch f
$ ln -s f flink
$ ln -n flink flink-n
$ ls -li
total 0
192387 -rw-r----- 1 ecs ecs 0 2011-11-21 08:50 f
192388 lrwxrwxrwx 2 ecs ecs 1 2011-11-21 08:51 flink -> f
192388 lrwxrwxrwx 2 ecs ecs 1 2011-11-21 08:51 flink-n -> f

Have a nice day,
Berny






reply via email to

[Prev in Thread] Current Thread [Next in Thread]