From: krw Date: Thu, 1 Sep 2022 13:56:21 +0000 (+0000) Subject: Drop support for unused attributes 'bs' (d_bbsize) and 'sb' X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=2567f30d9bd2f8d35b2153f6428406c5cfedb07e;p=openbsd Drop support for unused attributes 'bs' (d_bbsize) and 'sb' (d_sbsize). ok otto@ as part of larger diff --- diff --git a/lib/libc/gen/disklabel.c b/lib/libc/gen/disklabel.c index a438a6b4815..57fd76aebfc 100644 --- a/lib/libc/gen/disklabel.c +++ b/lib/libc/gen/disklabel.c @@ -92,8 +92,6 @@ getdiskbyname(const char *name) /* XXX */ dp->d_secperunith = 0; getnumdflt(dp->d_secperunit, "su", dp->d_secpercyl * dp->d_ncylinders); - getnumdflt(dp->d_bbsize, "bs", BBSIZE); - getnumdflt(dp->d_sbsize, "sb", SBSIZE); strlcpy(psize, "px", sizeof psize); strlcpy(pbsize, "bx", sizeof pbsize); strlcpy(pfsize, "fx", sizeof pfsize); diff --git a/share/man/man5/disktab.5 b/share/man/man5/disktab.5 index cdf3ddfae41..2d98696d9b2 100644 --- a/share/man/man5/disktab.5 +++ b/share/man/man5/disktab.5 @@ -1,4 +1,4 @@ -.\" $OpenBSD: disktab.5,v 1.20 2022/08/30 18:50:06 krw Exp $ +.\" $OpenBSD: disktab.5,v 1.21 2022/09/01 13:56:21 krw Exp $ .\" $NetBSD: disktab.5,v 1.4 1994/11/30 19:31:15 jtc Exp $ .\" .\" Copyright (c) 1983, 1991, 1993 @@ -30,7 +30,7 @@ .\" .\" @(#)disktab.5 8.1 (Berkeley) 6/5/93 .\" -.Dd $Mdocdate: August 30 2022 $ +.Dd $Mdocdate: September 1 2022 $ .Dt DISKTAB 5 .Os .Sh NAME @@ -69,10 +69,6 @@ The following list indicates the normal values stored for each disk entry: .Dv DEV_BSIZE ) . .It \&sf Ta bool Ta "Controller supports bad144-style bad sector forwarding." .It \&d[0-4] Ta num Ta "Drive-type-dependent parameters." -.It \&bs Ta num Ta "Boot block size (default:" -.Dv BBSIZE ) . -.It \&sb Ta num Ta "Superblock size (default: " -.Dv SBSIZE ) . .Pp .It \&ba Ta num Ta "Block size for partition" .Dq a