Marco d'Itri a écrit :
Which packages create/use this group?


The scanner group is created by libsane. Maybe the udev rule should be added by this package as well ?



I also have a question : where can I find any documentation on the SYSFS{type} node ? How is the number assigned ? Does "5" always corresponds to cdrom ? "6" to scanner ?



I also looked for "addgroup" in other dpkg install scripts, and there are several of them. Maybe this could help finding other userful udev rules for specific usages ?

# ls /var/lib/dpkg/info/ | xargs grep addgroup
(...)
cron.postinst: (...)      addgroup --system         crontab
cupsys-client.postinst:   addgroup --system         lpadmin
cupsys.postinst:          addgroup --system         lpadmin
dbus-1.postinst:          addgroup --system         "$MESSAGEUSER"
gdm.postinst:             addgroup --system         gdm
libgphoto2-2.postinst:    addgroup --system         camera
libsane.postinst:         addgroup --quiet --system scanner
mysql-server.preinst:     addgroup --system         mysql
pmount.postinst:          addgroup --quiet --system plugdev
postgresql.preinst:       addgroup --system         postgres
ssh.postinst:             addgroup --system --quiet ssh



Reply via email to