devfs ignores pass0 entry at boot time

Paul B. Mahol onemda at gmail.com
Mon Mar 10 14:24:03 UTC 2008


I could not reproduce it on i386.
I moved pass entry in devfs.rules on last line and commented pass
entry in devfs.conf and rebooted.
Could you place pass0/* entry in nonlast line of devfs.rules and find
any difference.

On 3/10/08, Mark Nowiasz <buckaroo at gmx.de> wrote:
> Am Montag, 10. März 2008 14:59:17 schrieb Paul B. Mahol:
> > What's output of etc/devfs.conf ?
>
> own     speaker root:wheel
> perm    speaker 0660
> perm    /dev/cuaa1      0666
>
> own     cd0     mark:wheel
> perm    cd0     0666
>
> own     cd1     mark:wheel
> perm    cd1     0666
> perm    xpt0    0666
>
> own     pass0   mark:wheel
> perm    pass0   0666
>
> own     pass1   mark:wheel
> perm    pass1   0666
>
> own     da0     mark:wheel
> perm    da0     0660
> perm    devstat 0444
>
> devfs.rules will be applied during boot time (please not the different
> permission: for example cd0/1: 0666 in devfs.conf, 0600 in devfs.rules,
> cd0/1
> have got 0600 permissions), just the last entry (add path 'pass*' mode 660
> group wheel user mark) will be ignored - but only at boot time, when
> restarting devfs, pass0/1 will have the correct permissions/ownership.
>
> Regards,
> Mark
> --
> If *I* had a hammer, there'd be no more folk singers.
> _______________________________________________
> freebsd-stable at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-stable
> To unsubscribe, send any mail to "freebsd-stable-unsubscribe at freebsd.org"
>


More information about the freebsd-stable mailing list