On Mon, Nov 10, 2003 at 02:13:08AM -0500, Linux Rocks ! wrote:
> On my system, rm is in /usr/bin, so if your in /usr and you rm -rf *, you will 
> actually remove rm! so is du, and df! maybe it would be best to boot your 
> system using a bootable cd before doing this!

With Linux 2.4, one can mount a partition on more than one mount point.

So if /usr is on the same partition as /, one can mount the new /usr
partition, and then mount the / partition on /mnt, and then
'rm -rf /mnt/usr/*'.  This way, /usr is never empty.

But you're right, changing /usr's partition is probably best done
from recovery media.

-- 
<[EMAIL PROTECTED]>
_______________________________________________
EuG-LUG mailing list
[EMAIL PROTECTED]
http://mailman.efn.org/cgi-bin/listinfo/eug-lug

Reply via email to