[Slackbuilds-users] qemu-kvm udev rules

Robby Workman 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?". ;)

Exactly :-)

> 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...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: not available
URL: <http://lists.slackbuilds.org/pipermail/slackbuilds-users/attachments/20100603/e0f50238/attachment.asc>

More information about the SlackBuilds-users mailing list