Red Hat Bugzilla – Bug 127115
echo mkdmnod|/sbin/nash should not re-create an identical /dev/mapper/control
Last modified: 2014-03-16 22:46:30 EDT
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (compatible; Konqueror/3.2; Linux) (KHTML, like Gecko)
Description of problem:
If /dev/mapper/control exists with the correct major and minor numbers then it should not be removed and re-created, it should be left as-is.
nash should stat /dev/mapper/control first and do nothing if it discovers that the device node exists in the way it should.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
Boot the machine and observe that the device node is recreated.
Expected Results: When I boot twice with the same kernel (so there are no changes to the major/minor numbers) then the device node should not be changed.
This is a minor bug, but I really don't want needless writes to /dev.
nash >= 4.0 won't create it if it already exists and matches the
correct major/minor. initscripts will still need to not remove it.
Changed, will be in future releases. Of course, has to conflict with
mkinitrd < 4.0 now. :)