From owner-freebsd-questions Fri Oct 4 21:09:20 1996 Return-Path: owner-questions Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id VAA23424 for questions-outgoing; Fri, 4 Oct 1996 21:09:20 -0700 (PDT) Received: from gdi.uoregon.edu (gdi.uoregon.edu [128.223.170.30]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id VAA23391 for ; Fri, 4 Oct 1996 21:09:03 -0700 (PDT) Received: from localhost (dwhite@localhost) by gdi.uoregon.edu (8.7.5/8.6.12) with SMTP id VAA01416; Fri, 4 Oct 1996 21:08:42 -0700 (PDT) Date: Fri, 4 Oct 1996 21:08:42 -0700 (PDT) From: Doug White Reply-To: dwhite@resnet.uoregon.edu To: Sergios cc: freebsd-questions@freebsd.org Subject: Re: help on newfs and a new partition In-Reply-To: <2.2.32.19961004185445.00906ef0@prometheus.hol.gr> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-questions@freebsd.org X-Loop: FreeBSD.org Precedence: bulk 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. > but I read the handbook and the faq and still cannot understand why a simple > newfs /dev/wd1s2 does not work......what is disklabel and why should I use > it? isnt there a simpler way? this /etc/disk* stuff is worse than editing a > termcap;-) Then don't. Use the 'auto' disktype. 'disklabel' is a program that manages the BSD 'partition table' as it were. You have to have a disklabel (which contains various disk info and the actual partitioning of the slice) before you can newfs it because you newfs by partition. Take a look at the disklabel(8) man page for details. Doug White | University of Oregon Internet: dwhite@resnet.uoregon.edu | Residence Networking Assistant http://gladstone.uoregon.edu/~dwhite | Computer Science Major