From owner-freebsd-hackers Mon Oct 26 16:48:03 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id QAA16074 for freebsd-hackers-outgoing; Mon, 26 Oct 1998 16:48:03 -0800 (PST) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from dt053nb4.san.rr.com (dt053nb4.san.rr.com [204.210.34.180]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id QAA16035 for ; Mon, 26 Oct 1998 16:47:56 -0800 (PST) (envelope-from Studded@gorean.org) Received: from gorean.org (Studded@localhost [127.0.0.1]) by dt053nb4.san.rr.com (8.8.8/8.8.8) with ESMTP id QAA00714; Mon, 26 Oct 1998 16:47:11 -0800 (PST) (envelope-from Studded@gorean.org) Message-ID: <3635180F.BA6C6F92@gorean.org> Date: Mon, 26 Oct 1998 16:47:11 -0800 From: Studded Organization: Triborough Bridge & Tunnel Authority X-Mailer: Mozilla 4.5 [en] (X11; I; FreeBSD 2.2.7-STABLE-1026 i386) X-Accept-Language: en MIME-Version: 1.0 To: Sebastian Lederer CC: freebsd-hackers@FreeBSD.ORG Subject: Re: Patch for src/sys/i386/isa/wd.c References: <3634F865.9755D2E7@bonn-online.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Sebastian Lederer wrote: > > Hi, > > How about the following patch to src/sys/i386/isa/wd.c ? It fills in the > disk model name (and disk type) when reading the in-core disk label via > the DIOCGDINFO ioctl(), if it has not already been set. Tested and > working on a couple of machines. It's just a simple way for userland > programs to identify IDE disks by name (which is what I need for a > FreeBSD installation program). This compiles and runs fine on -stable, any chance you could supply code that would show me the label? I think this is a fine idea, and I'd even like to see it in the boot message. More information provided to the user is always a good thing. Doug -- *** Chief Operations Officer, DALnet IRC network *** To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message