Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 27 Aug 2000 10:24:54 +0200
From:      Poul-Henning Kamp <phk@critter.freebsd.dk>
To:        Boris Popov <bp@butya.kz>
Cc:        current@freebsd.org
Subject:   Re: PATCH: devfs mkIII test & review please. 
Message-ID:  <1226.967364694@critter>
In-Reply-To: Your message of "Sun, 27 Aug 2000 07:12:25 %2B0700." <Pine.BSF.4.10.10008270708410.608-100000@lion.butya.kz> 

next in thread | previous in thread | raw e-mail | index | archive | help
In message <Pine.BSF.4.10.10008270708410.608-100000@lion.butya.kz>, Boris Popov
 writes:
>On Fri, 18 Aug 2000, Poul-Henning Kamp wrote:
>
>> Missing:
>>         Rename
>>         Subdirs.
>>         Close some race conditions using guaranteed atomic operations.
>>         Mountoption (ro ?) to prevent new devices from appearing in an instance.
>>         All uses of cdevsw_add() needs to be use devfs_clone() instead.
>
>	How should 3rd party KLDs implement cloning function ? For now it
>seems to be impossible to use a single binary for DEVFS and non-DEVFS
>case.

Once the code has been shaken out, the cloning stuff will be standard.

Right now I prefer to keep as much as possible under #ifdef DEVFS.

See kern/vfs_conf.c for another good reason (besides KLD) to make
the cloning stuff standard.

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


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




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