From owner-freebsd-hackers Thu Apr 20 05:16:09 1995 Return-Path: hackers-owner Received: (from majordom@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id FAA26919 for hackers-outgoing; Thu, 20 Apr 1995 05:16:09 -0700 Received: from UUCP-GW.CC.UH.EDU (root@UUCP-GW.CC.UH.EDU [129.7.1.11]) by freefall.cdrom.com (8.6.10/8.6.6) with SMTP id FAA26910 for ; Thu, 20 Apr 1995 05:16:04 -0700 Received: from Taronga.COM by UUCP-GW.CC.UH.EDU with UUCP id AA05809 (5.67a/IDA-1.5); Thu, 20 Apr 1995 06:45:31 -0500 Received: by bonkers.taronga.com (smail2.5p) id AA17790; 20 Apr 95 06:30:16 CDT (Thu) Received: (from peter@localhost) by bonkers.taronga.com (8.6.11/8.6.6) id GAA17787; Thu, 20 Apr 1995 06:30:15 -0500 From: Peter da Silva Message-Id: <199504201130.GAA17787@bonkers.taronga.com> Subject: Re: [DEVFS] your opinions sought! To: bde@zeta.org.au (Bruce Evans) Date: Thu, 20 Apr 1995 06:30:15 -0500 (CDT) Cc: bde@zeta.org.au, hackers@FreeBSD.org, julian@ref.tfs.com, rgrimes@gndrsh.aac.dev.com In-Reply-To: <199504200302.NAA31880@godzilla.zeta.org.au> from "Bruce Evans" at Apr 20, 95 01:02:14 pm X-Mailer: ELM [version 2.4 PL23] Content-Type: text Content-Length: 659 Sender: hackers-owner@FreeBSD.org Precedence: bulk > >> /dev/driver_name/all_devices_handled_by_this_drive_in_one_directory is > >> easiest for drivers, but not quite what is wanted by programs. > >Why not? > To handle /dev/sio/*, /dev/cx/*, /dev/ity/* and /dev/cy/*, ps would have > to know that the set of tty drivers is precisely { sio, cx, ity, cy }. Ah, that's the two-views thing again. *Some* programs (PS, DF) need to know what all the devices of a given type are. Other times you want to know what all the devices of a given driver are, or you want something more specific like having /dev/uha/c0t1l0n because /dev/tape/0n might be your QIC if you didn't have the external DAT powered up at boot.