Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 09 Feb 2004 00:27:10 +0100
From:      "Poul-Henning Kamp" <phk@phk.freebsd.dk>
To:        Garance A Drosihn <drosih@rpi.edu>
Cc:        current@freebsd.org
Subject:   Re: Review/Test: Pseudo-device unit number management patch 
Message-ID:  <6514.1076282830@critter.freebsd.dk>
In-Reply-To: Your message of "Sun, 08 Feb 2004 16:54:23 EST." <p06020404bc4c5fcbfe49@[128.113.24.47]> 

next in thread | previous in thread | raw e-mail | index | archive | help
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@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.



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