diff options
author | delphij <delphij@FreeBSD.org> | 2010-10-04 06:17:45 +0000 |
---|---|---|
committer | delphij <delphij@FreeBSD.org> | 2010-10-04 06:17:45 +0000 |
commit | 327370f2cc27638a0d207b86b3b9be01108e9053 (patch) | |
tree | c32cbf07af96c452bbfd9a4fa7a3e7aa50018610 /bin | |
parent | e25db50d4788c3c78ba55cdf679393c2261c4d83 (diff) | |
download | FreeBSD-src-327370f2cc27638a0d207b86b3b9be01108e9053.zip FreeBSD-src-327370f2cc27638a0d207b86b3b9be01108e9053.tar.gz |
Clarify the combination effect of -P and -f to make it clear.
Submitted by: arundel
MFC after: 2 weeks
Diffstat (limited to 'bin')
-rw-r--r-- | bin/rm/rm.1 | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/bin/rm/rm.1 b/bin/rm/rm.1 index 9df8458..f580d33 100644 --- a/bin/rm/rm.1 +++ b/bin/rm/rm.1 @@ -32,7 +32,7 @@ .\" @(#)rm.1 8.5 (Berkeley) 12/5/94 .\" $FreeBSD$ .\" -.Dd December 26, 2006 +.Dd October 3, 2010 .Dt RM 1 .Os .Sh NAME @@ -88,9 +88,13 @@ yet provides almost the same level of protection against mistakes. Overwrite regular files before deleting them. Files are overwritten three times, first with the byte pattern 0xff, then 0x00, and then 0xff again, before they are deleted. -Files with multiple links will not be overwritten nor deleted unless +Files with multiple links will not be overwritten nor deleted +and a warning will be issued. +If the .Fl f -is specified, a warning is generated instead. +option is specified, files with multiple links will also be overwritten +and deleted. +No warning will be issued. .Pp Specifying this flag for a read only file will cause .Nm |