From owner-freebsd-current Mon Mar 25 00:55:36 1996 Return-Path: owner-current Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id AAA04638 for current-outgoing; Mon, 25 Mar 1996 00:55:36 -0800 (PST) Received: from irz301.inf.tu-dresden.de (irz301.inf.tu-dresden.de [141.76.1.11]) by freefall.freebsd.org (8.7.3/8.7.3) with SMTP id AAA04557 for ; Mon, 25 Mar 1996 00:53:32 -0800 (PST) Received: from sax.sax.de by irz301.inf.tu-dresden.de (8.6.12/8.6.12-s1) with ESMTP id JAA14927 for ; Mon, 25 Mar 1996 09:52:19 +0200 Received: by sax.sax.de (8.6.11/8.6.12-s1) with UUCP id JAA05541 for freebsd-current@FreeBSD.org; Mon, 25 Mar 1996 09:52:21 +0100 Received: (from j@localhost) by uriah.heep.sax.de (8.7.4/8.6.9) id JAA08874 for freebsd-current@FreeBSD.org; Mon, 25 Mar 1996 09:48:13 +0100 (MET) From: J Wunsch Message-Id: <199603250848.JAA08874@uriah.heep.sax.de> Subject: Re: libdisk To: freebsd-current@FreeBSD.org (FreeBSD-current users) Date: Mon, 25 Mar 1996 09:48:13 +0100 (MET) Reply-To: joerg_wunsch@uriah.heep.sax.de (Joerg Wunsch) In-Reply-To: <199603250411.PAA20022@godzilla.zeta.org.au> from "Bruce Evans" at Mar 25, 96 03:11:06 pm X-Phone: +49-351-2012 669 X-Mailer: ELM [version 2.4 PL24 ME8a] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-current@FreeBSD.org X-Loop: FreeBSD.org Precedence: bulk As Bruce Evans wrote: > > The builtin device list {"wd","sd",0} and logic (!strcmp(p, "wd", 2) are > is unsuitable for a library. What about "fd", "vn", "od", ...? Same holds true for hard-coded major and minor numbers. :-(( -- cheers, J"org joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ -- NIC: JW11-RIPE Never trust an operating system you don't have sources for. ;-)