devfs rules not applied on reattach

From: Anish Mistry <mistry.7_at_osu.edu>
Date: Tue, 24 Aug 2004 00:56:34 -0400
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

 Not sure if this is a bug or not, but my understanding of device rules that 
are placed in /etc/devfs.conf are supposed to be applied when a device is 
attached. ie.
perm da0  0666
perm da0s1 0666
perm da1  0666
perm da1s1 0666
perm da2  0666
perm da2s1 0666
perm da3  0666
perm da3s1 0666

These permissions are applied on boot since /etc/rc.d/devfs runs and applies 
them, but shouldn't they be reapplied when the device disappears and 
reappears?  For example:
1) USB 6-in1 reader is attached during boot
2) disk reader is unplugged and device nodes destroyed
3) plug in reader and device nodes come up, but permissions are now 0640 not 
0666 like the rule in devfs.conf
Is this expected behavior?

Thanks,

- -- 
Anish Mistry
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (FreeBSD)

iD8DBQFBKsqJxqA5ziudZT0RApWuAKC44HrE0ZzZttTELpgc42k4PTXIEgCfT8VX
PvFo92hJ2f/0gvj8ojTYvNs=
=JLdx
-----END PGP SIGNATURE-----
Received on Tue Aug 24 2004 - 02:55:16 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:08 UTC