Date: Sun, 7 Oct 2001 21:31:35 -0500 From: Mike Meyer <mwm@mired.org> To: Alson van der Meulen <alm@flutnet.org> Cc: questions@freebsd.org, <w.wiersma@4business.nl> Subject: Re: transfer home dir Message-ID: <15297.4103.370912.813171@guru.mired.org> In-Reply-To: <80577780@toto.iv>
next in thread | previous in thread | raw e-mail | index | archive | help
Alson van der Meulen <alm@flutnet.org> types: > On Sun, Oct 07, 2001 at 05:25:09PM +0200, Wijnand Wiersma wrote: > > I'm a newbee to freebsd and I never noticed that I don't have a /home > > directory like in linux. I didn't knew it was just a link to /usr/home. > > But now my /usr partition is full. I have a free partition wich i want to use > > for my home directory. How can I do this without screwing up my ownerships of > > files? > Just remove the symlink, mount that partition under /home, and copy the > data using cd /usr/home; tar cf - . | tar xpf - -C /home > or cd /usr/home; pax -rw -pe . /home > > This way ownerships, permissions and other stuff will be preserved "Other stuff" doesn't include flags if you have any set - which is unlikely. If you have some set, you'll need either to reset them by hand, or dump the entire file system and restore just /home to the new partition. <mike -- Mike Meyer <mwm@mired.org> http://www.mired.org/home/mwm/ Q: How do you make the gods laugh? A: Tell them your plans. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?15297.4103.370912.813171>