Re: Review/Test: Pseudo-device unit number management patch

From: Pawel Jakub Dawidek <pjd_at_FreeBSD.org>
Date: Mon, 9 Feb 2004 15:00:31 +0100
On Mon, Feb 09, 2004 at 01:03:18AM -0700, M. Warner Losh wrote:
+> s/I/we/  Others have signed off on this model.  Maybe you could
+> explain how such a device would exist, and its exact semantics.  With
+> a cloning device that phk is talking about, you open /dev/foo, and
+> /dev/foo0, /dev/foo1, etc are automatically created.  This is how
+> things work on other systems for cloning devices.
+> 
+> One could argue the wisdom of making the tunnel device clonable (I
+> happen to agree with it, but I can see the oppsoing argument).
+> However, sensible cloning semantics have been well understood for
+> years.  BSD is very late to the party in not having these sorts of
+> devices before now.

Maybe more human-friendly way will be to create /dev/foo0 without
request and if someone will open /dev/foo0, device /dev/foo1 will be
created... Just an idea.

-- 
Pawel Jakub Dawidek                       http://www.FreeBSD.org
pjd_at_FreeBSD.org                           http://garage.freebsd.pl
FreeBSD committer                         Am I Evil? Yes, I Am!

Received on Mon Feb 09 2004 - 04:58:13 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:42 UTC