Hi all,

I think there is a serious mistake in the movefs-howto on linuxvm.org.
Section 8 says you should cd to /usr and execute "rm -rf * .*" to delete
the contents of the old /usr directory. The problem is that ".*"  matches
".." too and would actually delete all files and directories under /. It
would be the same as "rm -rf /". The /usr directory normally doesn't
contain any dotfiles or dotdirs, so "rm -rf *" should be enough. To be on
the safe side you could do "rm -rf /usr" and afterwards "mkdir /usr" to
recreate the mountpoint.

And I have a question too: It says you should use tar to copy. Is there a
reason why I cannot use "cp -ax"? I have used "cp -ax" a few times to copy
directories to other partitions and don't have experienced any problems.

Regards
Carsten
--
Carsten Sommer <[EMAIL PROTECTED]>

Reply via email to