summaryrefslogtreecommitdiffstats
path: root/bin/rm/rm.1
diff options
context:
space:
mode:
authorsteve <steve@FreeBSD.org>1996-12-14 06:11:53 +0000
committersteve <steve@FreeBSD.org>1996-12-14 06:11:53 +0000
commit2aae101b543d6a80a1e8490fe4c9300ffafc1bc7 (patch)
treee84a4d4e89b07300ab7f9c1fbea9f7eb74a00db3 /bin/rm/rm.1
parentc5d0f9cb3928db35413db774a96dc2a8eb85b141 (diff)
downloadFreeBSD-src-2aae101b543d6a80a1e8490fe4c9300ffafc1bc7.zip
FreeBSD-src-2aae101b543d6a80a1e8490fe4c9300ffafc1bc7.tar.gz
Merge Lite2 mods, and -Wall cleaning. Unimplemented undelete(2)
cruft is protected by a #ifdef (BSD4_4_LITE) that should be removed when this is supported by the kernel.
Diffstat (limited to 'bin/rm/rm.1')
-rw-r--r--bin/rm/rm.119
1 files changed, 15 insertions, 4 deletions
diff --git a/bin/rm/rm.1 b/bin/rm/rm.1
index 7732931..05a78d1 100644
--- a/bin/rm/rm.1
+++ b/bin/rm/rm.1
@@ -32,10 +32,10 @@
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
-.\" @(#)rm.1 8.2 (Berkeley) 4/18/94
-.\" $Id: rm.1,v 1.3 1996/03/07 23:26:58 wosch Exp $
+.\" @(#)rm.1 8.5 (Berkeley) 12/5/94
+.\" $Id: rm.1,v 1.4 1996/08/29 18:06:07 wosch Exp $
.\"
-.Dd April 18, 1994
+.Dd December 5, 1994
.Dt RM 1
.Os
.Sh NAME
@@ -44,7 +44,7 @@
.Sh SYNOPSIS
.Nm rm
.Op Fl f | Fl i
-.Op Fl dPRr
+.Op Fl dPRrW
.Ar file ...
.Sh DESCRIPTION
The
@@ -100,6 +100,10 @@ that directory is skipped.
.It Fl r
Equivalent to
.Fl R .
+.It Fl W
+Attempts to undelete the named files.
+Currently, this option can only be used to recover
+files covered by whiteouts. (UNIMPLEMENTED)
.El
.Pp
The
@@ -135,6 +139,7 @@ Example:
``$ rm -- -filename''.
.Sh SEE ALSO
.Xr rmdir 1 ,
+.Xr undelete 2 ,
.Xr unlink 2 ,
.Xr fts 3 ,
.Xr getopt 3 ,
@@ -147,6 +152,12 @@ system.
UFS is a fixed-block file system, LFS is not.
In addition, only regular files are overwritten, other types of files
are not.
+.Pp
+No support exists for the
+.Xr undelete 2
+call in the kernel, so the
+.Fl W
+option is not yet implemented.
.Sh COMPATIBILITY
The
.Nm rm
OpenPOWER on IntegriCloud