Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 4 Oct 1996 21:08:42 -0700 (PDT)
From:      Doug White <dwhite@gdi.uoregon.edu>
To:        Sergios <sergios@hol.gr>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: help on newfs and a new partition
Message-ID:  <Pine.BSI.3.94.961004210436.1372C-100000@gdi.uoregon.edu>
In-Reply-To: <2.2.32.19961004185445.00906ef0@prometheus.hol.gr>

next in thread | previous in thread | raw e-mail | index | archive | help
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.

> 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSI.3.94.961004210436.1372C-100000>