Mount and umount are in /sbin. So if you stepped on /usr then you would still be able to unmount it.
Timothy Bolz ([EMAIL PROTECTED]) wrote: > >Jason, >Thanks I tried the command but I think I will have to be root because it gave >me permission denied. By loosing my system, I think I know what you mean. >It was funny. I made a directory /home and mounted it. My /home/timothy >directory was gone. I was upset, I thought I lost it untill I unmounted it >and there it was again. I learned something though. If I did that I think >/usr would still be there but just covered by the empty directory and thus >making the system unoperable. If remove the /usr mount it would work >properly. I'd have to use a rescue disk to unmount /usr though. That's if it >worked the same way as my /home directory learning curve went. > >I think I went through the same procedure belove only using tar. > >Again Thanks >Tim > >On Sunday 09 November 2003 11:44 pm, you wrote: >> On Sun, Nov 09, 2003 at 11:11:55PM -0600, Timothy Bolz wrote: >> > I was running out of diskspace. >> > >> > The question I have is what directory uses up the most >> > space >> >> # cd / >> # du -sk * >> >> > and could I just mount it for example /usr and would /usr use this >> > partiton to extend itself. >> >> Not sure what you mean by "extend itself", but when you mount /usr, >> you will mask whatever was in /usr, so you can't mount an empty >> partition as /usr, or you will lose your system. >> >> Assume /dev/hda3 is /, /mnt is open for temporary mounts, and you're >> going to mount /dev/hda6 as /usr: >> >> # mke2fs /dev/hda6 >> # mount /dev/hda6 /mnt >> # cp -a /usr/* /mnt >> # umount /mnt >> # mount /dev/hda6 /usr >> # mount /dev/hda3 /mnt >> # rm -rf /mnt/usr/* >> # umount /mnt >> # echo "/dev/hda6\t/usr\text2\tdefaults\t1 1" >> /etc/fstab >> >> Of course, this is hypothetical, I didn't tell you to do this, and >> if you lose your system, it's not my fault ;] >_______________________________________________ >EuG-LUG mailing list >[EMAIL PROTECTED] >http://mailman.efn.org/cgi-bin/listinfo/eug-lug > -- Assured Computing When you need to be sure. [EMAIL PROTECTED] www.assuredcomp.com Voice - 541-868-0331 FAX - 541-463-1627 Eugene, Oregon _______________________________________________ EuG-LUG mailing list [EMAIL PROTECTED] http://mailman.efn.org/cgi-bin/listinfo/eug-lug
