Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 4 Oct 1996 21:08:42 -0700 (PDT)
From:      Doug White <>
To:        Sergios <>
Subject:   Re: help on newfs and a new partition
Message-ID:  <>
In-Reply-To: <>

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:    | Residence Networking Assistant    | Computer Science Major

Want to link to this message? Use this URL: <>