devfs ignores pass0 entry at boot time

Mark Nowiasz buckaroo at gmx.de
Mon Mar 10 14:43:47 UTC 2008


Am Montag, 10. März 2008 15:23:59 schrieb Paul B. Mahol:
> 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.

Hah - I've found the bug!

devfs.rules has to end with an empty line, otherwise the last entry is being 
ignored at boot time (but strangely enough, not when doing an /etc/rc.d/devfs 
restart):

An entry like

add path 'pass*' mode 660 group wheel user mark<EOF>

will be ignored, whereas

add path 'pass*' mode 660 group wheel user mark\n
<EOF>

will be honoured.

Well, this bug should be easy to fix - but as stated above, it's quite odd 
that a restart works.

Regards,
Mark
-- 
Never underestimate the bandwidth of a station wagon full of tapes.
	-- Dr. Warren Jackson, Director, UTCS


More information about the freebsd-stable mailing list