Date: Thu, 2 Oct 1997 01:28:04 +0200 From: Ollivier Robert <roberto@keltia.freenix.fr> To: current@FreeBSD.ORG Subject: Re: Geometry weirdness with sysinstall/libdisk Message-ID: <19971002012804.28680@keltia.freenix.fr> In-Reply-To: <19971001072648.MU20136@uriah.heep.sax.de>; from Joerg Wunsch on Wed, Oct 01, 1997 at 04:01:19AM -0500 References: <19970930223542.44057@keltia.freenix.fr> <19971001072648.MU20136@uriah.heep.sax.de> <19971001040119.61326@gaffaneys.com>
next in thread | previous in thread | raw e-mail | index | archive | help
According to Jörg: > > Debug_Disk(sd2) flags=0 bios_geom=13045/54/6 = 4226580 > > Certainly no slices present yet. As you can see in disklabel output, it certainly _has_ slices, it used to be my boot drive !!! # /dev/rsd2c: type: SCSI disk: IBM32160 ... 8 partitions: # size offset fstype [fsize bsize bps/cpg] a: 40960 0 4.2BSD 1024 8192 16 # (Cyl. 0 - 19) b: 131072 40960 swap # (Cyl. 20 - 83) c: 4226725 0 unused 0 0 # (Cyl. 0 - 2063*) d: 204800 172032 4.2BSD 1024 8192 16 # (Cyl. 84 - 183) e: 716800 376832 4.2BSD 1024 8192 16 # (Cyl. 184 - 533) f: 409600 1093632 4.2BSD 1024 8192 16 # (Cyl. 534 - 733) g: 1024000 1503232 4.2BSD 1024 8192 16 # (Cyl. 734 - 1233) h: 1699493 2527232 4.2BSD 1024 8192 16 # (Cyl. 1234 - 2063*) > They are not `right' in the sense of FreeBSD either, since they are > useless for the BIOS. 2063 > 1024. It has never prevented it to boot into FreeBSD (no boot manager on that drive). > From the drive itself, i'd say. Well, no, this drive has 8205 > cylinders and 6 heads: It is a 32160 so it is 6703 cyl. x 5 heads so I still don't see where does the 13045 come from... > But again, these values are largely irrelevant. If you need to make a > disk DOS-compatible, it's never a bad idea to create the DOS partition > first. If you don't want it DOS-compatible, why caring for a > ficticuous geometry at all? What bother me a lot is why libdisk/sysinstall don't see the slices when disklabel can ! I can mount every slice on that drive without problem so the kernel has the right label but why disklabel is the only program to display it correctly ? It is inconsistent to say the least. -- Ollivier ROBERT -=- FreeBSD: There are no limits -=- roberto@keltia.freenix.fr FreeBSD keltia.freenix.fr 3.0-CURRENT #35: Sun Sep 21 19:28:07 CEST 1997
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19971002012804.28680>