Date: Sun, 6 Oct 1996 22:35:44 +0200 (MET DST) From: Robert Eckardt <roberte@mep.ruhr-uni-bochum.de> To: grog@lemis.de (Greg Lehey) Cc: andreas@klemm.gtn.com, questions@FreeBSD.ORG Subject: Re: help on newfs and a new partition Message-ID: <199610062035.WAA00960@ghost.mep.ruhr-uni-bochum.de> In-Reply-To: <199610060904.LAA26162@allegro.lemis.de> from Greg Lehey at "6. Oct. 96 11:03:56"
next in thread | previous in thread | raw e-mail | index | archive | help
> 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 <mynewpartition> > >>> /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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199610062035.WAA00960>