Re: mv directories to new partition; rm directories
-----BEGIN PGP SIGNED MESSAGE-----
On Sun, 10 Aug 1997, Gary L. Dolan wrote:
> In doing a bit of experimenting before the big step, I have
> copied the directory, including permissions, to the new
> partition (which is presently mounted at /hdb4). I used
> (cd /source; tar cf - .) | (cd /dest; tar xvfp -)
> 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>'
- --
| The mark of your ignorance is the depth of
Scott K. Ellis | your belief in injustice and tragedy.
storm@gate.net | What the caterpillar calls the end of the world,
| the master calls a butterfly.
| -- Illusions
-----BEGIN PGP SIGNATURE-----
Version: 2.6.3a
Charset: noconv
iQCVAwUBM+4w1aCk2fENdzpVAQEdzwP+LbhKtf7tIOOfeLXuEVASkF7eKBgjMmlL
J73FcIK+1VkUSEVVB4mC8jPF4u/6rfwNmJ9jxnbXaPVEHmC7pfyV66Tu6Pf4y7c+
+SqaUJiIQl+N2lKH8Oom7yjZLctGLm3TJvGrJz9+3yuBle/lE+rY32qBaXybe/Jt
d0TWUYiHPfc=
=VANx
-----END PGP SIGNATURE-----
--
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: