Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 7 Oct 2001 17:46:00 +0200
From:      Alson van der Meulen <alm@flutnet.org>
To:        freebsd-questions@freebsd.org
Subject:   Re: transfer home dir
Message-ID:  <20011007174600.A24409@md2.mediadesign.nl>
In-Reply-To: <200110071525.f97FP9w01032@wiers556.speed.planet.nl>
References:  <200110071525.f97FP9w01032@wiers556.speed.planet.nl>

next in thread | previous in thread | raw e-mail | index | archive | help
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
-- 
,-------------------------------------------.
> Name:           Alson van der Meulen      <
> Personal:        alson@flutnet.org        <
> School:       alson@gymnasiumleiden.nl    <
`-------------------------------------------'
Where's the DIR command?
---------------------------------------------

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?20011007174600.A24409>