From owner-freebsd-current Wed Apr 3 5:30:14 2002 Delivered-To: freebsd-current@freebsd.org Received: from sax.sax.de (sax.sax.de [193.175.26.33]) by hub.freebsd.org (Postfix) with ESMTP id 2372837B417; Wed, 3 Apr 2002 05:30:07 -0800 (PST) Received: (from uucp@localhost) by sax.sax.de (8.9.3/8.9.3) with UUCP id PAA00126; Wed, 3 Apr 2002 15:30:02 +0200 (CEST) Received: (from j@localhost) by uriah.heep.sax.de (8.11.6/8.11.6) id g33DSqQ47115; Wed, 3 Apr 2002 15:28:52 +0200 (MET DST) (envelope-from j) Date: Wed, 3 Apr 2002 15:28:52 +0200 From: Joerg Wunsch To: Bruce Evans Cc: freebsd-current@FreeBSD.ORG, phk@FreeBSD.ORG Subject: Re: disklabel(8) floppy panic Message-ID: <20020403152852.A41505@uriah.heep.sax.de> Reply-To: Joerg Wunsch Mail-Followup-To: Joerg Wunsch , Bruce Evans , freebsd-current@FreeBSD.ORG, phk@FreeBSD.ORG References: <20020402203559.A25802@uriah.heep.sax.de> <20020403202932.T9816-100000@gamplex.bde.org> <20020403202932.T9816-100000@gamplex.bde.org> <20020403224538.L382-100000@gamplex.bde.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20020403224538.L382-100000@gamplex.bde.org>; from bde@zeta.org.au on Wed, Apr 03, 2002 at 10:46:56PM +1000 X-Phone: +49-351-2012 669 X-PGP-Fingerprint: DC 47 E6 E4 FF A6 E9 8F 93 21 E0 7D F9 12 D6 4E Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG As Bruce Evans wrote: > On Wed, 3 Apr 2002, I wrote: > > > ... > > This seems to be a bug in the fd driver. ls -F "works" the first time > > exist. fd0a and fd0c may need to exist for compatibility, but shouldn't. > > fd0b and fd0[d-h] just shouldn't exist. > > Bruce > As Bruce Evans wrote: > This seems to be a bug in the fd driver. ls -F "works" the first time > on nonexistent partitions. But it should only work on devices that > oops: ^ on devices that go through the disk layer > exist. I have not much clues about how make_dev_alias(9) and NAMI lookups are stacked here. I've simply taken phk's code (for the aliases, it should be functionally identical to phk's version, i only had to rewrite the non-alias device creation). > fd0a and fd0c may need to exist for compatibility, but shouldn't. > fd0b and fd0[d-h] just shouldn't exist. Hmm, they all used to be in /dev/MAKEDEV. IMHO, all of them can go away, but i didn't want to force too much of my opinion onto others here. :) -- cheers, J"org .-.-. --... ...-- -.. . DL8DTL http://www.sax.de/~joerg/ NIC: JW11-RIPE Never trust an operating system you don't have sources for. ;-) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message