Re: mv directories to new partition; rm directories
On Sun, Aug 10, 1997 at 05:21:23PM -0400, Scott K. Ellis wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
>
> 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.
--
Gary
--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
debian-user-request@lists.debian.org .
Trouble? e-mail to templin@bucknell.edu .
Reply to: