Date: Tue, 27 Oct 1998 21:12:53 +0100 From: Sebastian Lederer <lederer@bonn-online.com> To: Studded <Studded@gorean.org>, freebsd-hackers@FreeBSD.ORG Subject: Re: Patch for src/sys/i386/isa/wd.c Message-ID: <36362945.81950EC7@bonn-online.com> References: <3634F865.9755D2E7@bonn-online.com> <3635180F.BA6C6F92@gorean.org> <3636067E.7C2249A3@bonn-online.com> <36362011.1235F2E1@gorean.org>
next in thread | previous in thread | raw e-mail | index | archive | help
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): <IBM-DHEA-36480> 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): <WDC AC22100H> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?36362945.81950EC7>