documentation/2889: describe -W option in rm manpage more explicitly >Number: 2889
>Category: documentation
>Synopsis: describe -W option in rm manpage more explicitly
>Confidential: no
http://www.blackant.net/ >Environment:
System : OpenBSD 3.1
Architecture: OpenBSD.i386
Machine : i386
>Description:
-W option in rm is vague.
>How-To-Repeat:
man rm
>Fix:
description thanks to tedu <grendel@zeitbombe.org>
- src/bin/rm/rm.1.orig Thu Aug 15 16:06:38 2002
+++ src/bin/rm/rm.1 Thu Aug 15 16:08:48 2002
@@ -110,7 +110,12 @@
.It Fl W
Attempts to undelete the named files.
Currently, this option can only be used to recover
-files covered by whiteouts.
+files covered by whiteouts;
+it works on union mounts only. Erasing a file on a union mount doesn't
+actually delete it on the bottom layer. Instead it adds an entry saying,
+"this file isn't here." Because the original file is still on the bottom
+layer, erasing the whiteout entry in the union mount makes the file appear
+again.
.El
.Pp
The
>Release-Note:
Received on Thu Nov 7 16:26:26 2002
This archive was generated by hypermail 2.1.8
: Wed Aug 23 2006 - 13:29:37 EDT
|