From owner-freebsd-questions Sun Oct 7 19:31:39 2001 Delivered-To: freebsd-questions@freebsd.org Received: from guru.mired.org (okc-65-31-203-60.mmcable.com [65.31.203.60]) by hub.freebsd.org (Postfix) with SMTP id C616E37B403 for ; Sun, 7 Oct 2001 19:31:35 -0700 (PDT) Received: (qmail 20436 invoked by uid 100); 8 Oct 2001 02:31:35 -0000 From: Mike Meyer MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15297.4103.370912.813171@guru.mired.org> Date: Sun, 7 Oct 2001 21:31:35 -0500 To: Alson van der Meulen Cc: questions@freebsd.org, Subject: Re: transfer home dir In-Reply-To: <80577780@toto.iv> X-Mailer: VM 6.90 under 21.1 (patch 14) "Cuyahoga Valley" XEmacs Lucid X-face: "5Mnwy%?j>IIV\)A=):rjWL~NB2aH[}Yq8Z=u~vJ`"(,&SiLvbbz2W`;h9L,Yg`+vb1>RG% *h+%X^n0EZd>TM8_IB;a8F?(Fb"lw'IgCoyM.[Lg#r\ Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Alson van der Meulen 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. 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