Bug 161586 - udev: name differs from kernel name -> two nodes
udev: name differs from kernel name -> two nodes
Product: Red Hat Enterprise Linux 4
Classification: Red Hat
Component: udev (Show other bugs)
i686 Linux
medium Severity low
: ---
: ---
Assigned To: Harald Hoyer
Depends On:
  Show dependency treegraph
Reported: 2005-06-24 13:34 EDT by nate.dailey
Modified: 2007-11-30 17:07 EST (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2005-06-27 03:44:17 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description nate.dailey 2005-06-24 13:34:50 EDT
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):

How reproducible:

Steps to Reproduce:
1. Create a udev rule that assigns a name to a device that differs from the kernel name.
2. Reboot.

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.

Additional info:
Comment 1 Harald Hoyer 2005-06-27 03:44:17 EDT
This will never be supported. Sorry.

Note You need to log in before you can comment on or make changes to this bug.