Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 10 Aug 2004 14:37:10 -0400
From:      Gary Mulder <gmulder@infotechfl.com>
To:        boxend@redtick.homeunix.com (Mark)
Cc:        freebsd-questions@freebsd.org
Subject:   Re: linking
Message-ID:  <4.2.0.58.20040810142800.00b908d0@mail.infotechfl.com>
In-Reply-To: <200408101750.i7AHowN00494@clunix.cl.msu.edu>
References:  <200408101500.i7AF0FnR029952@redtick.homeunix.com>

next in thread | previous in thread | raw e-mail | index | archive | help

>
>Say you want to move /usr/local to live in /muz, where you have scads of
>space.   Do the following.
>   (I have my own naming convention that helps me keep track of things
>    you can name things as you like - but try to be mnemonic).

or alternatively do (and preferably from single user mode, with a "mount 
-a" to mount all of the fs):

         cd /usr
         tar cf - ./local | (cd /muz; tar xf -)
         find ./local -type f -exec cksum {} \; > /var/tmp/cksums_usr
         cd /muz
         find ./local -type f -exec cksum {} \; > /var/tmp/cksums_muz
         diff /var/tmp/cksums_*

         (the cksum output files should be identical...)

         rm -r /usr/local
         ln -s /muz/local /usr/local

Gary



--
Gary Mulder   <mailto:gary.mulder@infotechfl.com>
Info Tech, Inc.
5700 SW 34th Street, Suite 1235 Phone: (352) 381-4400
Gainesville, FL 32608 Fax: (352) 381-4444



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4.2.0.58.20040810142800.00b908d0>