Review/Test: Pseudo-device unit number management patch

Poul-Henning Kamp phk at phk.freebsd.dk
Sun Feb 8 15:27:30 PST 2004


In message <p06020404bc4c5fcbfe49@[128.113.24.47]>, Garance A Drosihn writes:
>At 9:11 AM +0100 2/8/04, Poul-Henning Kamp wrote:
>>Julian Elischer writes:
>>  >
>>  > Previously, nmdm started off with 4 devices visible in /dev now
>>  > I don't see that.. The old behaviour was intuitive... You saw
>>  > a device.
>>
>>This new behaviour is called a "cloning device" and it doesn't
>>allocate any resources until they are actually needed, which I
>>believe is the correct behaviour for pseudo-devices.
>
>Could there be some kind of fake "marker-device" sitting there,
>one which would use basically no resources, and which would
>change to the real-device when someone opens it? 

No, that is not possible with the model we have chosen.

-- 
Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
phk at FreeBSD.ORG         | TCP/IP since RFC 956
FreeBSD committer       | BSD since 4.3-tahoe    
Never attribute to malice what can adequately be explained by incompetence.


More information about the freebsd-current mailing list