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

From: Poul-Henning Kamp <phk_at_phk.freebsd.dk>
Date: Mon, 09 Feb 2004 00:27:10 +0100
In message <p06020404bc4c5fcbfe49_at_[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.
Received on Sun Feb 08 2004 - 14:27:30 UTC

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