Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 30 Sep 2000 13:53:12 -0500 (CDT)
From:      Mike Meyer <mwm@mired.org>
To:        Alexander Langer <alex@big.endian.de>
Cc:        current@FreeBSD.ORG
Subject:   Re: setting device permissions for DEVFS
Message-ID:  <14806.13976.356085.876527@guru.mired.org>
In-Reply-To: <20000930201738.A17165@cichlids.cichlids.com>
References:  <20000929180208.A821@cichlids.cichlids.com> <Pine.BSF.4.21.0009291327080.62512-100000@acs-24-154-25-35.zoominternet.net> <20000930120037.A4899@cichlids.cichlids.com> <14806.11402.323948.403889@guru.mired.org> <20000930201738.A17165@cichlids.cichlids.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Alexander Langer writes:
> Thus spake Mike Meyer (mwm@mired.org):
> > Does it possibly belong in /etc/defaults/rc.devfs, to slurp in
> > /etc/rc.devfs (if it exists) at the end?
> No - instead we should add something like devfs_permission{0,1,2,etc}
> (and maybe ownership) to rc.conf, which can be modified there and
> then rc.devfs sets them - similar to the ifconfig stuff.
> 
> Opinions?

Well, I like your idea better than mine (though device_chmods="first
second etc" then chmod_first, chmod_second, chmod_etc would be better
names), but meant to ask - is there some reason that /etc/fbtab can't
be used for this? Possibly with some beefing up (/etc/defaults, for
instance)?

Of course, it needs to handle symlinks. I'd rather fix the symlink for
/dev/scanner than reconfigure sane when I add a new device. Possibly
device_links, or more work on fbtab?

	<mike



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




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