Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 30 May 1998 18:54:47 -0700
From:      Mike Smith <mike@smith.net.au>
To:        Mikhail Teterin <mi@aldan.algebra.com>
Cc:        current@FreeBSD.ORG
Subject:   Re: I see one major problem with DEVFS... 
Message-ID:  <199805310154.SAA08633@antipodes.cdrom.com>
In-Reply-To: Your message of "Sat, 30 May 1998 17:52:15 EDT." <199805302152.RAA17435@rtfm.ziplink.net> 

next in thread | previous in thread | raw e-mail | index | archive | help
> Poul-Henning Kamp once stated:
> 
> =Removing /dev/lpt0 doesn't make sense, it doesn't remove the driver,
> =it doesn't attach from the hardware, it merely removes the namesticker
> =from the mailbox.
> 
> 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).
> 
> Too far off? 

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.

-- 
\\  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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199805310154.SAA08633>