home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.unix.admin
- Path: sparky!uunet!zaphod.mps.ohio-state.edu!rpi!ghost.dsi.unimi.it!serini
- From: serini@ghost.dsi.unimi.it (Piero Serini)
- Subject: Re: move a filesytem? corrections
- References: <BzFBx0.ECD@encore.com> <1992Dec18.110817.6773@ghost.dsi.unimi.it>
- Organization: Computer Science Dep. - Milan University
- Date: Fri, 18 Dec 1992 11:48:43 GMT
- Message-ID: <1992Dec18.114843.8331@ghost.dsi.unimi.it>
- Lines: 44
-
- serini@ghost.dsi.unimi.it (Piero Serini) writes:
-
- [...]
-
- ># tar cf - . | compress | (cd /usr2 ; uncompress | tar xf - )
-
- [...]
-
- If you have special files under /usr use cpio instead of tar
- Read cpio man pages ...
-
- [...]
-
- ># sync ; sync
- ># cd /
- ># /bin/rm -rf /usr
- # cd /usr
- # /bin/rm -rf *
- So you can unmount it ... sorry
-
- [...]
-
- I'm sorry .. I assumed you have no special files (devices)
- under /usr, but I cant' tell, so you can use tar or cpio
- as you need.
- About the rm of /usr, maybe your system will not be happy
- if you remove it before you unmount. Sou you have to cd into /usr
- then /bin/rm -rf * This whill leave all .* files in it,
- but I think it's not a problem. You CAN'T /bin/rm .*
- ^^
- safely, as if your rm doesn't check . and .. it will remove
- the ROOT directory!
-
- Be careful.
- Disclaimer as in the 1st article ..
-
- Bye
- Piero
-
- ------------------------------------------ Piero Serini -----------------
- Piero Serini E-mail: serini@ghost.dsi.unimi.it
- Computer Science Dept. or: piero@strider.st.dsi.unimi.it
- Univ. Statale - Milano - ITALY ** mail me your .signature **
- -------------------------------------------------------------------------
-