Date: Sun, 7 May 1995 17:34:03 +1000 (EST) From: David Dawes <dawes@physics.usyd.edu.au> To: hackers@FreeBSD.org Subject: Number of partitions reports/required by disklabel incorrect? Message-ID: <199505070734.AA08842@physics.su.oz.au>
next in thread | raw e-mail | index | archive | help
I just noticed that the output of disklabel(8) on SNAP-950412 reports the number of partitions to be one more than it displays. The main reason I noticed it was that when editing the label, and setting the number to the actual number: 3 partitions: # size offset fstype [fsize bsize bps/cpg] a: 164538 198 4.2BSD 512 4096 16 # (Cyl. 1 - 831) c: 164538 198 unused 0 0 # (Cyl. 1 - 831) d: 164736 0 unused 0 0 # (Cyl. 0 - 831) disklabel would say: Warning, unused partition d: size 164736 offset 0 and sure enough running disklabel again reports: 3 partitions: # size offset fstype [fsize bsize bps/cpg] a: 164538 198 4.2BSD 512 4096 16 # (Cyl. 1 - 831) c: 164538 198 unused 0 0 # (Cyl. 1 - 831) If I tell it I've got 4 partitions, then the 3 get written to the label correctly. David
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199505070734.AA08842>