From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Marco d'Itri" Date: Wed, 03 Dec 2003 23:59:56 +0000 Subject: Re: [ANNOUNCE] udev 008 release MIME-Version: 1 Content-Type: multipart/mixed; boundary="cNdxnHkX5QqsyA0e" Message-Id: List-Id: References: In-Reply-To: To: linux-hotplug@vger.kernel.org --cNdxnHkX5QqsyA0e Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Dec 03, Greg KH wrote: >I'm still looking for a devfs naming scheme config file. Can anyone >verify that udev supports everything yet now or not? I know I've been >saying this for a few releases now... I'm attaching the one installed by default by the debian package. It's not complete because some devices I own are not yet supported by the kernel (notably sound cards, lp and input devices) and I do not know the devfs names of some devices I do not own, but I will keep adding new rules in the next weeks. So far the only differences from devfs are the names of the cdrom devices ("disc" intead of "cd") and the lack of symlinks in discs/ and cdroms/. -- ciao, | Marco | [3447 peMS5jdXJiia.] --cNdxnHkX5QqsyA0e Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="udev.rules" # There are a number of modifiers that are allowed to be used in the # NAME or PROGRAM fields. # They provide the following subsitutions: # %n - the "kernel number" of the device. # for example, 'sda3' has a "kernel number" of '3' # %M - the kernel major number for the device # %m - the kernel minor number for the device # %b - the bus id for the device # %c - the return value for the CALLOUT program (note, this doesn't work within # the PROGRAM field for the obvious reason.) # %D - use the devfs style disk name for this device. # For partitions, this will result in 'part%n' # If this is not a partition, it will result in 'disk' # NUMBER, BUS="ide", id="0.0", NAME="ide/host0/bus0/target0/lun0/%D" NUMBER, BUS="ide", id="0.1", NAME="ide/host0/bus0/target1/lun0/%D" NUMBER, BUS="ide", id="1.0", NAME="ide/host0/bus1/target0/lun0/%D" NUMBER, BUS="ide", id="1.1", NAME="ide/host0/bus1/target1/lun0/%D" REPLACE, KERNEL="md[0-9]*", NAME="md/%n" REPLACE, KERNEL="tty[0-9]*", NAME="vc/%n" REPLACE, KERNEL="ttyS[0-9]*", NAME="tts/%n" REPLACE, KERNEL="ttyUSB[0-9]*", NAME="tts/USB%n" REPLACE, KERNEL="video[0-9]*", NAME="v4l/video%n" REPLACE, KERNEL="radio[0-9]*", NAME="v4l/radio%n" REPLACE, KERNEL="vbi[0-9]*", NAME="v4l/vbi%n" REPLACE, KERNEL="vtx[0-9]*", NAME="v4l/vtx%n" --cNdxnHkX5QqsyA0e-- ------------------------------------------------------- This SF.net email is sponsored by OSDN's Audience Survey. Help shape OSDN's sites and tell us what you think. Take this five minute survey and you could win a $250 Gift Certificate. http://www.wrgsurveys.com/2003/osdntech03.php?site=8 _______________________________________________ Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net Linux-hotplug-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel