Date: Mon, 18 Aug 1997 13:30:41 +0930 From: Greg Lehey <grog@lemis.com> To: Jason McKay <jasonm@barney.webace.com.au> Cc: questions@FreeBSD.ORG Subject: Re: Links Message-ID: <19970818133041.48542@lemis.com> In-Reply-To: <Pine.BSF.3.96.970818101806.15668A-100000@barney.webace.com.au>; from Jason McKay on Mon, Aug 18, 1997 at 10:20:25AM %2B0800 References: <Pine.BSF.3.96.970818101806.15668A-100000@barney.webace.com.au>
next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Aug 18, 1997 at 10:20:25AM +0800, Jason McKay wrote: > I have just installed a second hard disk on my FreeBSD machine, I have > moved the users directories to /drive2c (partition on second drive). > > How can I make a link, so when you change directory to /home it actually > goes to /drive2c/home? Do you already have a directory home? If so, do (as root): # mkdir /drive2c/home # cd / # tar cf - home | (cd /drive2c; tar xvf -) Now make very sure that everything has come across, then: # rm -rf /home After that, even if you didn't have a home: # ln -s /drive2c/home / BTW, I find drive2c a bad choice of name for a file system. What happens if you move it somewhere else? In general, your file system names shouldn't reflect the hardware configuration. You could, for example, call it /home :-) Greg
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19970818133041.48542>