Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 10 Mar 2008 15:43:43 +0100
From:      Mark Nowiasz <buckaroo@gmx.de>
To:        freebsd-stable@freebsd.org
Subject:   Re: devfs ignores pass0 entry at boot time
Message-ID:  <200803101543.43742.buckaroo@gmx.de>
In-Reply-To: <3a142e750803100723r169392c3r840ada9a9dc4da65@mail.gmail.com>
References:  <200803091415.59328.buckaroo@gmx.de> <200803101506.39452.buckaroo@gmx.de> <3a142e750803100723r169392c3r840ada9a9dc4da65@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200803101543.43742.buckaroo>