1
0
mirror of https://github.com/systemd/systemd.git synced 2024-11-02 10:51:20 +03:00
Commit Graph

28 Commits

Author SHA1 Message Date
Kay Sievers
f0bbea6696 rules: rtc - create rtc compat link only for cmos type rtc 2008-12-21 13:48:55 +01:00
Kay Sievers
d4e0db3c5d rules: remove /dev/raw/raxctl symlink, it's a devfs leftover 2008-12-21 13:42:08 +01:00
Kay Sievers
41e7f55711 rules: more changes toward Ubuntu rules merge
dv1394*: no kernel name symlink
lp*: no par* symlink
hwrng: no kernel name symlink
2008-12-21 13:17:37 +01:00
Kay Sievers
23456b19eb rules: more changes toward Ubuntu rules merge
specialix_rioctl: no kernel name symlink
specialix_sxctl: no kernel name symlink
bus/usb: 0644 -> 0664
ppdev: lp
dri: 0666 -> 0660
js: no kernel name symlink
2008-12-21 13:01:40 +01:00
Kay Sievers
a31f59b570 rules: first simple step merging with Ubuntu rules 2008-12-19 16:49:56 +01:00
Kay Sievers
93e4f2cfc8 rules: remove ide-scsi 2008-12-19 04:37:09 +01:00
Kay Sievers
2fc635fb67 rules: move aoe rules to default rules file 2008-12-09 04:18:21 +01:00
Kay Sievers
bc4c751802 rules: add persistent /dev/serial/{by-id,by-path} rules
$ tree /dev/serial/
 /dev/serial/
 |-- by-id
 |   |-- usb-067b_2303-if00-port0 -> ../../ttyUSB0
 |   |-- usb-FTDI_FT232R_USB_UART_A7005uBP-if00-port0 -> ../../ttyUSB3
 |   |-- usb-HUAWEI_Technology_HUAWEI_Mobile-if00-port0 -> ../../ttyUSB1
 |   `-- usb-HUAWEI_Technology_HUAWEI_Mobile-if01-port0 -> ../../ttyUSB2
 `-- by-path
     |-- pci-0000:00:1d.0-usb-0:1:1.0-port0 -> ../../ttyUSB3
     |-- pci-0000:00:1d.7-usb-0:2.2.2:1.0-port0 -> ../../ttyUSB0
     |-- pci-0000:00:1d.7-usb-0:2.3:1.0-port0 -> ../../ttyUSB1
     `-- pci-0000:00:1d.7-usb-0:2.3:1.1-port0 -> ../../ttyUSB2

 $ tree /dev/serial/
 /dev/serial/
 |-- by-id
 |   |-- usb-Inside_Out_Networks_Edgeport_4_04-01-006467-if00-port0 -> ../../ttyUSB0
 |   |-- usb-Inside_Out_Networks_Edgeport_4_04-01-006467-if00-port1 -> ../../ttyUSB1
 |   |-- usb-Inside_Out_Networks_Edgeport_4_04-01-006467-if00-port2 -> ../../ttyUSB2
 |   |-- usb-Inside_Out_Networks_Edgeport_4_04-01-006467-if00-port3 -> ../../ttyUSB3
 |   |-- usb-Keyspan__a_division_of_InnoSys_Inc._USB_4-port_Serial_Adapter-if00-port0 -> ../../ttyUSB8
 |   |-- usb-Keyspan__a_division_of_InnoSys_Inc._USB_4-port_Serial_Adapter-if00-port1 -> ../../ttyUSB9
 |   |-- usb-Keyspan__a_division_of_InnoSys_Inc._USB_4-port_Serial_Adapter-if00-port2 -> ../../ttyUSB10
 |   |-- usb-Keyspan__a_division_of_InnoSys_Inc._USB_4-port_Serial_Adapter-if00-port3 -> ../../ttyUSB11
 |   `-- usb-Prolific_Technology_Inc._USB-Serial_Controller-if00-port0 -> ../../ttyUSB7
 `-- by-path
     |-- pci-0000:00:1d.2-usb-0:1.3:1.0-port0 -> ../../ttyUSB7
     |-- pci-0000:00:1d.7-usb-0:6.1.4.1:1.0-port0 -> ../../ttyUSB4
     |-- pci-0000:00:1d.7-usb-0:6.1.4.1:1.0-port1 -> ../../ttyUSB5
     |-- pci-0000:00:1d.7-usb-0:6.1.4.1:1.0-port2 -> ../../ttyUSB6
     |-- pci-0000:00:1d.7-usb-0:6.1.4.4:1.0-port0 -> ../../ttyUSB0
     |-- pci-0000:00:1d.7-usb-0:6.1.4.4:1.0-port1 -> ../../ttyUSB1
     |-- pci-0000:00:1d.7-usb-0:6.1.4.4:1.0-port2 -> ../../ttyUSB2
     |-- pci-0000:00:1d.7-usb-0:6.1.4.4:1.0-port3 -> ../../ttyUSB3
     |-- pci-0000:00:1d.7-usb-0:6.3:1.0-port0 -> ../../ttyUSB8
     |-- pci-0000:00:1d.7-usb-0:6.3:1.0-port1 -> ../../ttyUSB9
     |-- pci-0000:00:1d.7-usb-0:6.3:1.0-port2 -> ../../ttyUSB10
     `-- pci-0000:00:1d.7-usb-0:6.3:1.0-port3 -> ../../ttyUSB11
2008-12-04 01:43:33 +01:00
Kay Sievers
18c969a12b rules: ATA_COMPAT do not try to match on sr*, it will never have vendor ATA 2008-12-02 17:33:11 +01:00
Piter PUNK
3101190851 rules: add usb device nodes 2008-11-28 02:01:51 +01:00
Kay Sievers
a4a2edb0ea rules: fix cciss disk/by-id/ links 2008-11-28 01:18:48 +01:00
Piter PUNK
453ca4f907 rules: /dev/null -> X0R
/dev/X0R        null            symbolic        Required by iBCS-2
Note: /dev/X0R is <letter X>-<digit 0>-<letter R>
2008-11-28 01:18:15 +01:00
Kay Sievers
b257afd0a2 rules: exclude "btibm" devices from vol_id calls 2008-11-25 17:25:14 +01:00
Kay Sievers
24239ded2d rules: v4l - add by-id/ links for USB devices
/dev/v4l
|-- by-id
|   |-- usb-046d_09a4_C4B15020-video-index0 -> ../../video0
|   `-- usb-05a9_a511-video-index0 -> ../../video1
`-- by-path
    |-- pci-0000:00:1d.0-usb-0:1:1.0-video-index0 -> ../../video1
    `-- pci-0000:00:1d.7-usb-0:2:1.0-video-index0 -> ../../video0
2008-11-20 02:26:13 +01:00
Kay Sievers
874c43e42a rules: merge group "video" into default rules 2008-11-19 21:47:07 +01:00
Harald Hoyer
15b3df5507 rules: add persistent rules for memory stick block devices
commit 5a9aed145ac0ffb3e29b1c8e0f19b34e277f9117
Author: Harald Hoyer <harald@redhat.com>
Date:   Wed Nov 19 11:22:30 2008 +0100

    added persistent rules for memory stick block devices
2008-11-19 17:29:50 +01:00
Kay Sievers
bd20bada37 rules: remove pnp shell script, acpi loads these modules properly 2008-11-13 07:47:16 +01:00
Kay Sievers
8e9c06be26 rules: remove DEVTYPE disk/partition 2008-11-13 07:45:58 +01:00
Kay Sievers
87fb336f39 rules: remove "add" match from usb device node rule 2008-10-30 16:11:49 +01:00
Kay Sievers
ba6e84fe6a rules: remove SCSI timeouts
On Thu, Oct 30, 2008 at 03:55, Tejun Heo <tj@kernel.org> wrote:
The appropriate default timeout differs depending on the transport and
the type of the attached device, so the above two rules harm more than
help.  The affect of the above two rules weren't visible for some
reason but with recent block layer timeout update, they actually work
and cause problems.
2008-10-30 09:20:03 +01:00
Kay Sievers
4df1d70329 connect /sys and /dev with /sys/dev/{block,char}/<maj>:<min> and /dev/{block,char}/<maj>:<min> 2008-10-07 00:18:55 +02:00
Kay Sievers
333b736fdc rules: ieee1394 - create both, by-id/scsi-* and by-id/ieee-* links 2008-10-01 14:42:58 +02:00
Kay Sievers
a689165b5a libudev: require LIBUDEV_I_KNOW_THE_API_IS_SUBJECT_TO_CHANGE 2008-08-29 21:22:24 +02:00
Kay Sievers
8eb4ab836c rules: optical drives - probe at last session offset, do not probe for raid 2008-08-22 10:11:34 +02:00
Kay Sievers
3870186374 rules: add nvram 2008-08-11 10:34:18 +02:00
Kay Sievers
f755fd5657 rules: run vol_id on opticals only if media is found
Opening an optical drive device node without O_NONBLOCK autocloses the
tray, we run vol_id on every media change by kernel emitted "change"
events, which can make it hard to change the media when the tray closes
immediatey again.:) We check for cdrom_id to indicate an existing track,
if no media is found, we will not open the device with vol_id.

Thanks to Christian Krause and DavidZ for debugging and testing.
2008-08-02 10:26:48 +02:00
Kay Sievers
f63dc3b74f rules: mode 0660 for group "disk" 2008-07-30 13:20:31 +02:00
Kay Sievers
282988c4f8 move default rules from /etc/udev/rules.d/ to /lib/udev/rules.d/
None of these rules is supposed to be changed by users, so move
them out of /etc. Custom rules, and automatically generated rules
stay in /etc. All rules are still processed in lexical order,
regardless which directory they live in.
2008-07-18 15:56:03 +02:00