From owner-freebsd-hackers Tue Oct 27 12:13:29 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id MAA20074 for freebsd-hackers-outgoing; Tue, 27 Oct 1998 12:13:29 -0800 (PST) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from circe.bonn-online.com (circe.bonn-online.com [195.52.214.66]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id MAA20069 for ; Tue, 27 Oct 1998 12:13:27 -0800 (PST) (envelope-from lederer@bonn-online.com) Received: from bonn-online.com ([194.162.223.187]) by circe.bonn-online.com (8.8.5/8.8.5) with ESMTP id VAA01782; Tue, 27 Oct 1998 21:12:29 +0100 Message-ID: <36362945.81950EC7@bonn-online.com> Date: Tue, 27 Oct 1998 21:12:53 +0100 From: Sebastian Lederer X-Mailer: Mozilla 4.04 [en] (X11; I; FreeBSD 3.0-CURRENT i386) MIME-Version: 1.0 To: Studded , freebsd-hackers@FreeBSD.ORG Subject: Re: Patch for src/sys/i386/isa/wd.c References: <3634F865.9755D2E7@bonn-online.com> <3635180F.BA6C6F92@gorean.org> <3636067E.7C2249A3@bonn-online.com> <36362011.1235F2E1@gorean.org> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Studded wrote: > > > > You can use disklabel(8) on the raw disk device, e.g. "disklabel /dev/rwd0", > > or maybe"disklabel /dev/rwd0 | grep label". > > Ok, tried that and the "label: " slot is blank. I have a WD Caviar 1.6G > EIDE drive that's about 2 years old if that helps you any. > Do you use 2.2-stable or 3.0-RELEASE ? The generic diskslice code in 2.2.x leaves the packname in the disklabel blank, while in 3.0 it puts "fictitious" in. My patch checks only for the 3.0 case. > > > even like to see it in the boot message. More information provided to > > > the user is always a good thing. > > > > Why in the boot message? The kernel already prints the model name when probing > > the disks, > > if that's what you mean? > > Mine prints out: wd0: 1549MB (3173184 sectors), 3148 cyls, 16 heads, > 63 S/T, 512 B/S > That's strange, I usually see something like this on IDE probes: wdc0: unit 0 (wd0): wd0: 6197MB (12692736 sectors), 12592 cyls, 16 heads, 63 S/T, 512 B/S and in particular on a machine with a 2GB WD Caviar drive: wdc0: unit 0 (wd0): wd0: 2014MB (4124736 sectors), 4092 cyls, 16 heads, 63 S/T, 512 B/S Best regards, Sebastian Lederer -- Sebastian Lederer lederer@bonn-online.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message