From: Piter PUNK <piterpunk@unitednerds.org>
To: linux-hotplug@vger.kernel.org
Subject: Re: Moving Ubuntu to upstream udev rules (Part 2)
Date: Mon, 22 Dec 2008 19:57:40 +0000 [thread overview]
Message-ID: <494FF134.3000006@unitednerds.org> (raw)
In-Reply-To: <1229955629.6944.63.camel@quest>
Kay Sievers wrote:
> On Mon, Dec 22, 2008 at 15:20, Scott James Remnant <scott@ubuntu.com> 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
next prev parent reply other threads:[~2008-12-22 19:57 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-12-22 14:20 Moving Ubuntu to upstream udev rules (Part 2) Scott James Remnant
2008-12-22 15:30 ` Kay Sievers
2008-12-22 15:42 ` Bernhard Walle
2008-12-22 15:55 ` Kay Sievers
2008-12-22 16:02 ` Scott James Remnant
2008-12-22 16:12 ` Kay Sievers
2008-12-22 16:15 ` Marco d'Itri
2008-12-22 16:30 ` Kay Sievers
2008-12-22 16:40 ` Marco d'Itri
2008-12-22 16:52 ` Kay Sievers
2008-12-22 19:57 ` Piter PUNK [this message]
2008-12-22 20:25 ` Marco d'Itri
2008-12-24 15:28 ` Kay Sievers
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=494FF134.3000006@unitednerds.org \
--to=piterpunk@unitednerds.org \
--cc=linux-hotplug@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.