From owner-freebsd-hackers Tue Jan 24 11:08:19 1995 Return-Path: hackers-owner Received: (from root@localhost) by freefall.cdrom.com (8.6.9/8.6.6) id LAA07318 for hackers-outgoing; Tue, 24 Jan 1995 11:08:19 -0800 Received: from tfs.com (mailhub.tfs.com [140.145.250.1]) by freefall.cdrom.com (8.6.9/8.6.6) with SMTP id LAA07312 for ; Tue, 24 Jan 1995 11:08:18 -0800 Received: by tfs.com (smail3.1.28.1) Message-Id: From: julian@tfs.com (Julian Elischer) Subject: Re: disklabel (1.1.5.1), partitions To: kuku@gilberto.physik.rwth-aachen.de (Christoph P. Kukulies) Date: Tue, 24 Jan 1995 11:07:44 -0800 (PST) Cc: freebsd-hackers@freefall.cdrom.com In-Reply-To: <199501240924.KAA00162@gilberto.physik.rwth-aachen.de> from "Christoph P. Kukulies" at Jan 24, 95 10:24:06 am X-Mailer: ELM [version 2.4 PL23] Content-Type: text Content-Length: 1065 Sender: hackers-owner@FreeBSD.org Precedence: bulk > > > I had disk problems on 'gil' recently (hopefully solved) - reformatted > a Fuji M2694S using SCSICNTL. > > I was wondering about the following when disklabeling again: > > dmesg told me: > > 2117025 1819 cyl 15 heads 77 sec > > Using these figures in a disktab entry resulted in a warning saying that > partitions c,d,e exceeded end of disk. (I made them p[cde]#2117025). > > So I reduced them to what 15 * 77 * 1819 calculates to, namely 2100945 > and disklabel kept silent. > > Did I give away some sectors ? > Unfortunatly yes... the question is "What do we do with disks with variable geometries.. especially when the disklabel code assumes it is a fixed geometry. we calculate an 'average' number of setors per track.. but it has to be an integer, and that truncation leads to a bunch of unused sectors.. julian > > > > --Chris Christoph P. U. Kukulies kuku@gil.physik.rwth-aachen.de > FreeBSD blues 2.1.0-Development FreeBSD 2.1.0-Development #1: > Wed Jan 18 10:42:31 1995 kuku@blues:/usr/src/sys/compile/BLUES i386 >