summaryrefslogtreecommitdiff
path: root/NEWS
diff options
context:
space:
mode:
authorEric Blake <ebb9@byu.net>2009-09-24 11:57:11 -0600
committerEric Blake <ebb9@byu.net>2009-09-25 07:03:03 -0600
commitefcee783e4d576898130ccbf1cb2d7d6bf1b8420 (patch)
tree401900376fd200b55ebede212a2b777b1d3fa0d4 /NEWS
parentfb59d72f0a48ef6bc45d795ab96131368157c59f (diff)
downloadcoreutils-efcee783e4d576898130ccbf1cb2d7d6bf1b8420.tar.xz
ln: add -L/-P options
* src/ln.c (STAT_LIKE_LINK): Delete. (logical): New flag. (long_options): Add -L, -P. (usage): Mention them. (main): Choose between them. (do_link): Perform correct action. * tests/ln/misc: Move hard-to-sym portion of test... * tests/ln/hard-to-sym: ...into new test, and add more. * tests/Makefile.am (TESTS): Run new test. * NEWS: Document this. * doc/coreutils.texi (link invocation, ln invocation): Likewise. * bootstrap.conf (gnulib_modules): Add linkat.
Diffstat (limited to 'NEWS')
-rw-r--r--NEWS7
1 files changed, 7 insertions, 0 deletions
diff --git a/NEWS b/NEWS
index 1571c9c0d..506050203 100644
--- a/NEWS
+++ b/NEWS
@@ -32,6 +32,13 @@ GNU coreutils NEWS -*- outline -*-
last component (possibly via a dangling symlink) can be created,
since mkdir will succeed in that case.
+** New features
+
+ ln now accepts the options --logical (-L) and --physical (-P),
+ added by POSIX 2008. The default behavior is -P on systems like
+ GNU/Linux where link(2) creates hard links to symlinks, and -L on
+ BSD systems where link(2) follows symlinks.
+
** Improvements
rm: rewrite to use gnulib's fts