From ce3ef17035de0fa3ce3ebe9ce33d9a6a577a9ce8 Mon Sep 17 00:00:00 2001 From: johan Date: Mon, 24 Mar 2003 20:15:58 +0000 Subject: Document how to clear flags with negative-logic, currently only the nodump flag. PR: 46912 Reported by: dave@syix.com MFC after: 2 weeks --- bin/chflags/chflags.1 | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) (limited to 'bin/chflags') diff --git a/bin/chflags/chflags.1 b/bin/chflags/chflags.1 index 0ce080f..843e9aa5 100644 --- a/bin/chflags/chflags.1 +++ b/bin/chflags/chflags.1 @@ -35,7 +35,7 @@ .\" @(#)chflags.1 8.4 (Berkeley) 5/2/95 .\" $FreeBSD$ .\" -.Dd May 2, 1995 +.Dd Mar 24, 2003 .Dt CHFLAGS 1 .Os .Sh NAME @@ -110,11 +110,16 @@ aliases for the above .Pp Putting the letters .Dq Ar no -before an option causes the flag to be turned off. +before or removing the letters +.Dq Ar no +from a keyword causes the flag to be cleared. For example: -.Bl -tag -offset indent -width "nouchg" +.Pp +.Bl -tag -offset indent -width "nouchg" -compact .It Ar nouchg -the immutable bit should be cleared +clear the user immutable flag (owner or super-user only) +.It Ar dump +clear the nodump flag (owner or super-user only) .El .Pp Symbolic links do not have flags, so unless the -- cgit v1.1