summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAaron Campbell <aaron@cvs.openbsd.org>2001-08-23 12:20:40 +0000
committerAaron Campbell <aaron@cvs.openbsd.org>2001-08-23 12:20:40 +0000
commitd604dc54d4e42ee0d46b1d623ed5cbf83c800a49 (patch)
tree583c4cd17de0fdcab44c07cac9412c368a098ab7
parentaa9f532a2fd99397197fdafa57fedb8680b0ed9f (diff)
Add a CAVEATS section explaining that a hard link cannot be made to a file
flagged immutable or append-only; pjanzen@ ok
-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 ) .