From owner-freebsd-questions Sun Oct 6 13:36:08 1996 Return-Path: owner-questions Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id NAA09498 for questions-outgoing; Sun, 6 Oct 1996 13:36:08 -0700 (PDT) Received: from ghost.mep.ruhr-uni-bochum.de (ghost.mep.ruhr-uni-bochum.de [134.147.6.16]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id NAA09492 for ; Sun, 6 Oct 1996 13:36:02 -0700 (PDT) Received: (from roberte@localhost) by ghost.mep.ruhr-uni-bochum.de (8.7.5/8.7.3) id WAA00960; Sun, 6 Oct 1996 22:35:49 +0200 (MET DST) From: Robert Eckardt Message-Id: <199610062035.WAA00960@ghost.mep.ruhr-uni-bochum.de> Subject: Re: help on newfs and a new partition In-Reply-To: <199610060904.LAA26162@allegro.lemis.de> from Greg Lehey at "6. Oct. 96 11:03:56" To: grog@lemis.de (Greg Lehey) Date: Sun, 6 Oct 1996 22:35:44 +0200 (MET DST) Cc: andreas@klemm.gtn.com, questions@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL25 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-questions@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk > Andreas Klemm writes: > > > > On Fri, 4 Oct 1996, Doug White wrote: > > > >> On Fri, 4 Oct 1996, Sergios wrote: > >> > >>> please somebody help me. I have a 700 Mb free space on wd1 and I > >>> want to move > >>> /usr/local there. with other unices I have made a mount > >>> /mnt and > >>> (cd /usr/local; tar cf - .)|(cd /mnt; tar xfv -) > >> > >> That'll work once the filesystem exists. > > > > I recommend using the tar's p flag when extracting the stuff to > > get the same permissions after extractimg ;-) > > > > otherwise you might wonder why permissions of all files changed > > to root regarding to root's umask settings ;-) > > This doesn't happen under FreeBSD. Did you see it under System V? In It happens -- I just checked: E.g., the original files drwxrwxr-x 2 roberte work 512 Sep 20 17:55 /home/re/etc/FreeBSD -rw-rw-r-- 1 roberte work 384512 Jul 19 01:46 /home/re/etc/FreeBSD/boot.flp become w/o -p dr-x------ 2 roberte work 512 Sep 20 17:55 FreeBSD -r-------- 1 roberte work 384512 Jul 19 01:46 FreeBSD/boot.flp with root's umask=277 Robert -- Robert Eckardt \\ FreeBSD -- solutions for a large universe.(tm) RobertE@MEP.Ruhr-Uni-Bochum.de \\ What do you want to boot tomorrow ?(tm) http://WWW.MEP.Ruhr-Uni-Bochum.de/~roberte For PGP-key finger roberte@gluon.MEP.Ruhr-Uni-Bochum.de