Red Hat Bugzilla – Bug 161586
udev: name differs from kernel name -> two nodes
Last modified: 2007-11-30 17:07:18 EST
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.6) Gecko/20050317 Firefox/1.0.2
Description of problem:
If udev is used to assign a name to a device that differs from the kernel name, then you can end up with two device nodes for the device: one with the kernel name (created when udev runs in the initrd) and one with the udev name (when udev runs from rc.sysinit).
I believe I read somewhere that the recommended method is to create symlinks rather than changing the name. This doesn't work, though, if you want to assign disk names that overlap with the kernel disk-namespace. For example, I'm assigning disks names based on where they're located. So for example, disk in slot 1 of an enclosure is sda, slot 2 is sdb, and so on. But if there's no disk in slot 2, then the disk in slot 3 might have kernel name = sdb, but udev name = sdc.
This isn't a huge problem, but it can be confusing to have two nodes for the same device.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Create a udev rule that assigns a name to a device that differs from the kernel name.
Actual Results: Two nodes in /dev for the device (assuming udev didn't give some other device the same name as the kernel name of the first device).
Expected Results: I might expect just one node, with the udev name.
This will never be supported. Sorry.