From owner-cvs-sbin Wed Feb 22 15:21:35 1995 Return-Path: cvs-sbin-owner Received: (from majordom@localhost) by freefall.cdrom.com (8.6.9/8.6.6) id PAA09560 for cvs-sbin-outgoing; Wed, 22 Feb 1995 15:21:35 -0800 Received: (from bde@localhost) by freefall.cdrom.com (8.6.9/8.6.6) id PAA09550; Wed, 22 Feb 1995 15:21:31 -0800 Date: Wed, 22 Feb 1995 15:21:31 -0800 From: Bruce Evans Message-Id: <199502222321.PAA09550@freefall.cdrom.com> To: CVS-commiters, cvs-sbin Subject: cvs commit: src/sbin/disklabel disklabel.c Sender: cvs-sbin-owner@freebsd.org Precedence: bulk bde 95/02/22 15:21:31 Modified: sbin/disklabel disklabel.c Log: Don't clobber d_secperunit in `disklabel -e'. `disklabel -e' replaces all the values that it doesn't print by defaults. This seems wrong. I want to be able to see the total number of sectors more than edit it. The default d_secperunit of (sectors/track * tracks/cylinder * cylinders) is bogus if sectors/track is only an approximation and more bogus if sectors/track and tracks/cylinder are dummy values such as 4096 and 1 to defeat ufs's pessimizations.