[Slackbuilds-users] qemu-kvm udev rules
rworkman at slackbuilds.org
Thu Jun 3 21:59:56 UTC 2010
On Thu, 3 Jun 2010 18:52:43 -0300
Max Miorim <miorimmax at gmail.com> wrote:
> Note that NAME="%k" is redundant: suppose you have a disk /dev/sda1,
> in udev, its kernel device (%k) is "sda1" already, so there's no need
> to say "hey udev, please create the device at /dev/$NAME instead of
> /dev/%k, ok?". ;)
> NAME="something" should be used if You wanted to have a device to be
> created under somewhere other than /dev/%k. An example of this is in
> /lib/udev/rules.d/50-udev-default.rules where video1394 devices are
> created under /dev/video1394/%k.
Even that should not exist any more -- the kernel should provide
correct device names these days.
For cases where the user and/or sysadmin wants to have more
"intuitive" names for device nodes, the proper approach is to
have udev rules create symlinks with SYMLINK+="blah" instead.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 198 bytes
Desc: not available
More information about the SlackBuilds-users