From 9625671ff90244b5a52112908bb88b2e30c33f0f Mon Sep 17 00:00:00 2001 From: dlg Date: Sun, 24 Aug 2008 09:08:49 +0000 Subject: [PATCH] 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@ --- sys/scsi/sd.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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: -- 2.20.1