Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 29 Apr 2007 23:26:15 -0600
From:      Chad Perrin <perrin@apotheon.com>
To:        FreeBSD Questions <freebsd-questions@freebsd.org>
Subject:   Re: CLI filesystem format tool
Message-ID:  <20070430052615.GA20346@demeter.hydra>
In-Reply-To: <20070430025933.GD15045@gizmo.acns.msu.edu>
References:  <20070429215319.GA18753@demeter.hydra> <20070429221638.GA33593@xor.obsecurity.org> <20070430025933.GD15045@gizmo.acns.msu.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, Apr 29, 2007 at 10:59:33PM -0400, Jerry McAllister wrote:
> 
> I would suggest that you first use bsdlabel to create a single partition
> on that slice.   You can use the a: partition, or if you feel squimish
> about using that one that is traditionally used for root, then use
> the d: partition.  Do this:
> 
>    bsdlabel -w ad0s3            To initialize a partition label, then
>    bsdlabel -e ad0s3
> 
> You enter an edit more.   Just duplicate the c: line 
>   --Do NOT change the c: line--
> edit that duplicate line and make it a: or d: or whatever.
> Change the tuype to BSD4.2
> You can add values for  [fsize bsize bps/cpg],    maybe to:
>                          2048  16384  28552
> But I think you can just leave them blank.
> write/quit the edit session and the label is written.
> 
> Then you need to run newfs on that new partition.
> 
>    newfs /dev/ad0s3a   or   newfs /dev/ad0s3d    if you named it d:
> 
> Then, just edit /etc/fstab to make it mount at boot time
> and mount it up.   If you already have stuff in /home, then you will
> need to make one of them a temporary mount somewhere to move stuff over.

Thanks for the advice.

-- 
CCD CopyWrite Chad Perrin [ http://ccd.apotheon.org ]
Paul Graham: "Real ugliness is not harsh-looking syntax, but having to
build programs out of the wrong concepts."



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070430052615.GA20346>