Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 9 Feb 2004 15:34:12 -0500 (EST)
From:      Garrett Wollman <wollman@khavrinen.lcs.mit.edu>
To:        "M. Warner Losh" <imp@bsdimp.com>
Cc:        current@FreeBSD.ORG
Subject:   Re: Review/Test: Pseudo-device unit number management patch 
Message-ID:  <200402092034.i19KYCP1081763@khavrinen.lcs.mit.edu>
In-Reply-To: <20040209.010318.89944026.imp@bsdimp.com>
References:  <6514.1076282830@critter.freebsd.dk> <Pine.BSF.4.21.0402082112420.24800-100000@InterJet.elischer.org> <20040209.010318.89944026.imp@bsdimp.com>

next in thread | previous in thread | raw e-mail | index | archive | help
<<On Mon, 09 Feb 2004 01:03:18 -0700 (MST), "M. Warner Losh" <imp@bsdimp.com> said:

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

In traditional implementations of cloning devices, the master device
actually exists in the namespace and can be seen and prodded without
having to open it first.  (E.g., /dev/pts)

In really funky implementations of cloning devices, the master device
magically morphs into a directory when you access it like one.  (E.g.,
/dev/pts on AIX)

-GAWollmna



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