X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=blobdiff_plain;f=etc%2Fudev%2Fudev.rules.examples;h=a464b6ba57a02ea55a3139b811415c6b529ed0eb;hp=0d619e37e6e11d2bad84a940ba2289ae110eec48;hb=311e9ae68139083c801284a52f498c105d7c09f9;hpb=92c5ddee382d06de63c10aa81a18255d0b789812 diff --git a/etc/udev/udev.rules.examples b/etc/udev/udev.rules.examples index 0d619e37e..a464b6ba5 100644 --- a/etc/udev/udev.rules.examples +++ b/etc/udev/udev.rules.examples @@ -51,6 +51,10 @@ KERNEL="dm-[0-9]*", PROGRAM="/sbin/devmap_name %M %m", NAME="%k", SYMLINK="%c" # DRI devices always go into a subdirectory (as per the LSB spec) KERNEL="card*", NAME="dri/card%n" +# create all 15 partitions of a USB flash card reader +# note the trailing spaces in the attribute, use udevinfo(8) to examine your device +BUS="scsi", SYSFS{model}="CF/MD ", NAME{all_partitions}="compactflash" + # alsa devices KERNEL="controlC[0-9]*", NAME="snd/%k" KERNEL="hw[CD0-9]*", NAME="snd/%k"