devfs and changing device permissions
Micah
micahjon at ywave.com
Mon Jul 31 01:04:27 UTC 2006
Robert Huff wrote:
> If I want to permanently change the permissions for a device, I
> add en entry to /etc/devfs.conf. Right?
Depends. If the device is present when the system boots, yes. If it
shows up later (like a USB drive) then you need to set up some
/etc/devfs.rules instead.
> But that doesn't get picked up until the next time devd is
> started. If I want to change the permissions right now, can I just
> go into /dev and use chmod or do I need to fool around with
> devfs(8)?
>
>
> Robert Huff
devfs.rules are applied when you execute /etc/rc.d/devfs restart, and
that may apply to devfs.conf too (never tried it honestly). That said,
I've never had problems using chmod for temporary changes on device nodes.
HTH,
Micah
More information about the freebsd-questions
mailing list