Comment on devfs.conf

Poul-Henning Kamp phk at phk.freebsd.dk
Thu May 15 13:55:46 PDT 2003


In message <200305151653.43540.jeff at walters.name>, Jeff Walters writes:
>The new /etc/devfs.conf arrangement is a good thing but it doesn't work for 
>devices that are created on the fly after boot, and it gives an error on 
>wildcards on device names.  
>
>I suggest for /etc/rc.d/devfs that instead of changing the permissions and 
>ownerships directly on device nodes, create a default devfs ruleset based on 
>/etc/devfs.conf entries and apply the set.  For example, previously you could 
>modify /etc/rc.devfs with the logic like:

I must admit that I should have looked at this, now that I have, I fully
agree:  The policy setup at boot should be not just applied once, but
made the default ruleset.

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