Subject: Re: cgd & Setting up a new drive
To: Jan Danielsson <jan.m.danielsson@gmail.com>
From: Lubomir Sedlacik <salo@Xtrmntr.org>
List: netbsd-users
Date: 03/23/2007 17:38:33
--fdxaWYUQIlOfL+ny
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Thu, Mar 22, 2007 at 10:58:37PM +0100, Jan Danielsson wrote:
> I have bought a new drive which I want to dedicate to /home.
> Obviously(?), I want to run cgd on it. On another system I have a
> similar setup. This is the disklabel on the other system:
>=20
> #        size    offset     fstype [fsize bsize cpg/sgs]
>  c: 625142385        63     unused      0     0        # (Cyl.      0*-
> 620180)
>  d: 625142448         0     unused      0     0        # (Cyl.      0 -
> 620180)
>  e: 625142448         0     4.2BSD      0     0     0  # (Cyl.      0 -
> 620180)
>=20
> What I did was to set up cgd to use wd1e. Thinking about it
> afterwards, I'm not sure if that's a good idea. 'e' covers the entire
> disk. Does this mean that cgd can overwrite the disklabel -- is it
> just a matter of time before that will happen? Or does it know that it
> should skip the disklabel sector(s)? Should I have used 'c' instead?

you don't need physical disklabel on the underlying device if you want
to use the whole drive for cgd(4), just use the "d" partition (for
i386).

regards,

--=20
-- Lubomir Sedlacik <salo@{NetBSD,Xtrmntr,silcnet}.org>   --

--fdxaWYUQIlOfL+ny
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (NetBSD)

iD8DBQFGBAKHiwjDDlS8cmMRAnmvAJ93lzlpIhQnQS+zCU3C/tsbDzux+ACfS0aM
BfLN3E+ued55ulZPMdREOm8=
=NZD7
-----END PGP SIGNATURE-----

--fdxaWYUQIlOfL+ny--