I knew there was a reason I put that note of caution there!  Obviously I 
didn't test it out...  yes, you are correct that would indeed delete 
everything from the old root partition.  It should be this instead:
# cd /mnt/usr

On Saturday 05 February 2005 12:25 pm, Nick Rout wrote:
> On Sat, 2005-02-05 at 12:10 -0800, Adam Collins wrote:
> > 8)  Delete the data from the original /usr directory:
> >  # mount --bind / /mnt
> >  # cd /mnt
> >  # rm -rf *   <-- careful with this!
> >  # cd /
> >  # umount /mnt
> >
> > From here, you can run "df -h" to show your filesystem usage.  That's
> > it.
>
> whoop pull up, isn't this going to delete the whole root dir, therefore
> the whole filesystem?
>
> you bind mount / to /mnt
>
> then rm'ing whats in /mnt

--
[email protected] mailing list

Reply via email to