diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 1998-02-06 22:17:21 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 1998-02-06 22:17:21 +0000 |
commit | 5571360484c931bf2baf536c3b0f9e4fd24c74f1 (patch) | |
tree | 53ed8fb32c17bbd8694f45ebb84b2ed20cc01d79 /sys/dev | |
parent | 837bd2c6b777e11e61125d36e9527aa60eb912e1 (diff) |
add FS_CCD, make ccd prefer such partitions. It still accespts FS_BSDFFS, and something will change about that soon
Diffstat (limited to 'sys/dev')
-rw-r--r-- | sys/dev/ccd.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/dev/ccd.c b/sys/dev/ccd.c index e4ec4daa468..b82b527106f 100644 --- a/sys/dev/ccd.c +++ b/sys/dev/ccd.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ccd.c,v 1.33 1998/01/25 09:42:31 niklas Exp $ */ +/* $OpenBSD: ccd.c,v 1.34 1998/02/06 22:17:16 deraadt Exp $ */ /* $NetBSD: ccd.c,v 1.33 1996/05/05 04:21:14 thorpej Exp $ */ /*- @@ -356,7 +356,8 @@ ccdinit(ccd, cpaths, p) free(cs->sc_cinfo, M_DEVBUF); return (error); } - if (dpart.part->p_fstype == FS_BSDFFS) { + if (dpart.part->p_fstype == FS_CCD || + dpart.part->p_fstype == FS_BSDFFS) { maxsecsize = ((dpart.disklab->d_secsize > maxsecsize) ? dpart.disklab->d_secsize : maxsecsize); |