Alexander Skwar <[EMAIL PROTECTED]> wrote:
> So sprach Brian Caffrey am Wed, Jan 31, 2001 at 06:16:29PM -0800:
> > ....  The only problem with this
> > that I have found is that all hard links will become
> > there own file, hence more disk space usage.
> 
> Ah!  So tar *breaks* things, whereas cp will not.  Good to know.  Thanks.

Exactly what I was thinking.  Not preserving hard links is 'a bad thing' (tm ;-)

On the subject of moving /usr (I usually move /usr/src, so its not as
risky ;-) - as others have mentioned, be sure that you 

1 - have a rescue boot disk around just in case
2 - have a backup just in case
3 - do not remove the old /usr until after you have rebooted.
4 - edit your /etc/fstab
5 - rename the old /usr and immediately mount the new one - and
        pray that 'mount' does not need any libs on /usr!  (It shouldn't,
        else you could not mount /usr during bootup! So your
        real risk is that 'mv' is linked dynamically against something
        in /usr, since the sequence is:

        cd / ; mkdir /usr.new ; mv /usr /usr.orig ; mv /usr.new /usr ; mount /usr
6 - reboot to know now whether you are dead or not ;-)  (Rather than later)
7 - make sure EVERYTHING works. THEN remove /usr.orig

And now I'll shut up ;-)  

rc


Rusty Carruth          Email:     [EMAIL PROTECTED] or [EMAIL PROTECTED]
Voice: (480) 345-3621  SnailMail: Schlumberger ATE
FAX:   (480) 345-8793             7855 S. River Parkway, Suite 116
Ham: N7IKQ @ 146.82+,pl 162.2     Tempe, AZ 85284-1825
ICBM: 33 20' 44"N   111 53' 47"W

Reply via email to