From mboxrd@z Thu Jan 1 00:00:00 1970 From: Piter PUNK Date: Mon, 22 Dec 2008 19:57:40 +0000 Subject: Re: Moving Ubuntu to upstream udev rules (Part 2) Message-Id: <494FF134.3000006@unitednerds.org> List-Id: References: <1229955629.6944.63.camel@quest> In-Reply-To: <1229955629.6944.63.camel@quest> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: linux-hotplug@vger.kernel.org Kay Sievers wrote: > On Mon, Dec 22, 2008 at 15:20, Scott James Remnant wrote: >> - SUBSYSTEM="block", GROUP="disk" >> + SUBSYSTEM="block", ATTRS{removable}!="1", GROUP="disk" >> + SUBSYSTEM="block", ATTRS{removable}="1", GROUP="floppy" >> >> We put removable block devices in the floppy group, you leave them in >> disk? (But use the floppy group for real floppies?) > > Putting gigabyte-big USB hard disks in the "floppy" group? Also some > ATA/SCSI storage controller are marked as removable. I don't think we > want that in the defaults. :) Here we put floppies in "floppy" group and other removable devices on "plugdev" group. >> - KERNEL="sg[0-9]*", ATTRS{type}!="3|6", GROUP="disk", MODE="0640" >> + SUBSYSTEMS="scsi", ATTRS{type}="0", GROUP="disk", MODE="0640" >> + SUBSYSTEMS="scsi", ATTRS{type}="4|5", GROUP="cdrom", MODE="0640" > > We do not use "cdrom", but we could. Harald? Oh! And CD/CD-R/CD-RW/DVD/DVD-* in "cdrom" group >> - KERNEL="pktcdvd[0-9]*", NAME="pktcdvd/%k" >> + KERNEL="pktcdvd[0-9]*", NAME="pktcdvd/%k", GROUP="cdrom" > > Harald, you have "cdrom", and that's fine ot use? Those are in "cdrom", too. >> We put CD-ROM drives and similar into the cdrom group, not disk. >> >> + SUBSYSTEMS="scsi", ATTRS{type}="1|8", GROUP="tape" >> >> - KERNEL="ht[0-9]*|nht[0-9]*", GROUP="disk" >> + KERNEL="ht[0-9]*|nht[0-9]*", GROUP="tape" >> >> - KERNEL="pt[0-9]*|npt[0-9]*", GROUP="disk" >> + KERNEL="pt[0-9]*|npt[0-9]*", GROUP="tape" >> >> - KERNEL="qft[0-9]*|nqft[0-9]*|zqft[0-9]*|nzqft[0-9]*|rawqft[0-9]*| >> nrawqft[0-9]*", GROUP="disk" >> + KERNEL="qft[0-9]*|nqft[0-9]*|zqft[0-9]*|nzqft[0-9]*|rawqft[0-9]*| >> nrawqft[0-9]*", GROUP="tape" >> >> We put tape drives and similar into the tape group, not disk. > > Hmm, we don't have a "tape" group at all. Harald you have? Here we have the group "tape" but no rule to assign anything to this group. > Not sure. Removed it! /dev/audio should just be just removed from the kernel. > >> + SUBSYSTEM="sound", GROUP="audio" >> >> And we have an "audio" group for them. > > Added. Harald, could you please check, that you get an "audio" group > too. It's as useful as "video", even when we do not put any "normal" > users, but only daemons in it. We have that here, too. > If we can not agree on a default, we can do an option, but we do > nobody a favor who works on an upstream project and who needs to find > the differences again. So, I'm all for finding a common solution, For > me it would not be a problem to use "dialout" if that is what we want. > Harald? "uucp" group is in use here... No "dialout" group. This is really needed? Piter PUNK