From: dlg Date: Sun, 24 Aug 2008 09:08:49 +0000 (+0000) Subject: dont display disk geometry (cyls/heads/sectors) since it mostly lies these X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=9625671ff90244b5a52112908bb88b2e30c33f0f;p=openbsd dont display disk geometry (cyls/heads/sectors) since it mostly lies these days. if you really want it still you can fetch it via disklabel(8). ok krw@ deraadt@ --- diff --git a/sys/scsi/sd.c b/sys/scsi/sd.c index ceb613cff60..6b44d1c2381 100644 --- a/sys/scsi/sd.c +++ b/sys/scsi/sd.c @@ -1,4 +1,4 @@ -/* $OpenBSD: sd.c,v 1.152 2008/08/01 01:44:20 dlg Exp $ */ +/* $OpenBSD: sd.c,v 1.153 2008/08/24 09:08:49 dlg Exp $ */ /* $NetBSD: sd.c,v 1.111 1997/04/02 02:29:41 mycroft Exp $ */ /*- @@ -225,9 +225,9 @@ sdattach(struct device *parent, struct device *self, void *aux) printf("%s: ", sd->sc_dev.dv_xname); switch (result) { case SDGP_RESULT_OK: - printf("%lldMB, %lu cyl, %lu head, %lu sec, %lu bytes/sec, %lld sec total", - dp->disksize / (1048576 / dp->blksize), dp->cyls, - dp->heads, dp->sectors, dp->blksize, dp->disksize); + printf("%lldMB, %lu bytes/sec, %lld sec total", + dp->disksize / (1048576 / dp->blksize), dp->blksize, + dp->disksize); break; case SDGP_RESULT_OFFLINE: