From owner-freebsd-current Sun May 31 00:56:57 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id AAA20062 for freebsd-current-outgoing; Sun, 31 May 1998 00:56:57 -0700 (PDT) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from antipodes.cdrom.com (castles307.castles.com [208.214.167.7]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id AAA20057 for ; Sun, 31 May 1998 00:56:55 -0700 (PDT) (envelope-from mike@antipodes.cdrom.com) Received: from antipodes.cdrom.com (localhost [127.0.0.1]) by antipodes.cdrom.com (8.8.8/8.8.5) with ESMTP id XAA09881; Sat, 30 May 1998 23:52:38 -0700 (PDT) Message-Id: <199805310652.XAA09881@antipodes.cdrom.com> X-Mailer: exmh version 2.0zeta 7/24/97 To: Mikhail Teterin cc: current@FreeBSD.ORG Subject: Re: I see one major problem with DEVFS... In-reply-to: Your message of "Sun, 31 May 1998 03:10:25 EDT." <199805310710.DAA18304@rtfm.ziplink.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Sat, 30 May 1998 23:52:38 -0700 From: Mike Smith Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > Mike Smith once stated: > > => May be this should be the semantics of `rm' on the DEVFS? > => Removal of the driver, or telling it to stop driving a > => particular device? (If possible, otherwise, rm fails?) mknod > => (or, `touch'!!) can then be used to load the driver back (if > => possible). > > =Not useful. You want to poke a single entity (the driver) and > =have it remove all it's nodes, rather than have to guess at all > =the nodes everywhere that it might own and run around deleting > =them all. > > Not necessarily. By removing /dev/lpt1 I may be telling the > lpt driver to stop driving the second lport, but the lpt0 may > continue to work. As I said, it's not useful. You can't guarantee that there aren't other instances of the device that you haven't/can't remove. Sure, it's one possible interpretation - it's just not a good one. -- \\ Sometimes you're ahead, \\ Mike Smith \\ sometimes you're behind. \\ mike@smith.net.au \\ The race is long, and in the \\ msmith@freebsd.org \\ end it's only with yourself. \\ msmith@cdrom.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message