Re: [Freebsd 9] [amd64] [USB] [HPLIP] what's the (new) right way to manage hplip usb-plugged printers, running Freebsd 9

From: Jilles Tjoelker <jilles_at_stack.nl>
Date: Sat, 29 Oct 2011 21:58:53 +0200
On Sat, Oct 29, 2011 at 04:10:46PM +0200, David Marec wrote:
> So, what's should be the news group&user's rights required by HPLIP/cups 
> on FreeBSD 9 ?

> And, how to handle them with devd ?

Use devfs rules.

Pasting from http://www.stack.nl/~jilles/unix/freebsd-devfs.txt

Create or edit /etc/devfs.rules and put something like this in it:

[devfsrules_mybox=10]
add path 'fd0*' mode 660

See man 8 devfs for more information.

Then put in /etc/rc.conf

devfs_system_ruleset="devfsrules_mybox"

If you want to edit other /dev mountpoints (e.g. for jails) use
something like

devfs_set_rulesets="/usr/jails/jail1/dev=devfsrules_jail1 /usr/jails/jail2/dev=devfsrules_jail2"

-- 
Jilles Tjoelker
Received on Sat Oct 29 2011 - 17:58:55 UTC

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