-----BEGIN PGP SIGNED MESSAGE-----

On Sun, 10 Aug 1997, Gary L. Dolan wrote:

> On Sun, Aug 10, 1997 at 05:21:23PM -0400, Scott K. Ellis wrote:
> > On Sun, 10 Aug 1997, Gary L. Dolan wrote:
> > > When I attempted to remove (as root) an old subdirectory under
> > > /usr/local using  'rm -d', I got an "Operation not permitted"
> > > response. The info reference on 'rm' gives the '-d' option.
> > 
> > You ABSOLUTLY NEVER want to use the -d option to rm.  That will seriously
> > corrupt your filesystem (it deletes the directory inode without deleting
> > the files in the directory).  The proper way to remove a directory and its
> > comments is 'rm -rf <dirname>'
> Thanks for the information. If this is really a *bad* idea, it ought not
> to be in the info program as a viable option to rm without some explanation.

The man page at least, and I believe the info file, mention that any files
in the directory won't be deleted and you should run fsck.  The fact that
only root is allowed to use that option should also be a tip-off.

- -- 
     Scott K. Ellis      |      Thinking is more interesting than knowing,
     [EMAIL PROTECTED]      |          but less interesting than looking.
                         |                       -- Goethe

-----BEGIN PGP SIGNATURE-----
Version: 2.6.3a
Charset: noconv

iQCVAwUBM+6DjqCk2fENdzpVAQG9QgQAnAdf33Dk7px4ZecmMXFPcl+J65ulO46z
D1TAWbea7LYjD0uYu0csIDWjg2LUPrSfy/cerSjs2I2Q0geqWvtVoUpaUJwQG2d2
3l7hPbn+3XiFyo4nz+IIKpqIRiv+mh/gUdK/+39eipXss9QyLejPIpthrHa+XF3w
1+1jDmxnGWU=
=s9HO
-----END PGP SIGNATURE-----


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .

Reply via email to