summaryrefslogtreecommitdiffstats
path: root/bin/ln
diff options
context:
space:
mode:
authoraaron <aaron@openbsd.org>2001-08-23 12:20:39 +0000
committeraaron <aaron@openbsd.org>2001-08-23 12:20:39 +0000
commit957e27533f9a06916e2b69c9e022620db61516fa (patch)
tree791b8e53f8f7b834a926f66dc4bec06b5b689158 /bin/ln
parentRemove more. (diff)
downloadwireguard-openbsd-957e27533f9a06916e2b69c9e022620db61516fa.tar.xz
wireguard-openbsd-957e27533f9a06916e2b69c9e022620db61516fa.zip
Add a CAVEATS section explaining that a hard link cannot be made to a file
flagged immutable or append-only; pjanzen@ ok
Diffstat (limited to 'bin/ln')
-rw-r--r--bin/ln/ln.18
1 files changed, 7 insertions, 1 deletions
diff --git a/bin/ln/ln.1 b/bin/ln/ln.1
index 8d4510b5002..1fb5d2dbddc 100644
--- a/bin/ln/ln.1
+++ b/bin/ln/ln.1
@@ -1,4 +1,4 @@
-.\" $OpenBSD: ln.1,v 1.11 2001/08/09 00:03:12 millert Exp $
+.\" $OpenBSD: ln.1,v 1.12 2001/08/23 12:20:39 aaron Exp $
.\" $NetBSD: ln.1,v 1.10 1995/07/25 19:37:04 jtc Exp $
.\"
.\" Copyright (c) 1980, 1990, 1993
@@ -190,3 +190,9 @@ An
.Nm
utility appeared in
.At v6 .
+.Sh CAVEATS
+Since the
+.Ar source_file
+must have its link count incremented, a hard link cannot be created to a
+file which is flagged immutable or append-only (see
+.Xr chflags 1 ) .