Bugzilla will be upgraded to version 5.0 on December 2, 2018. The outage period for the upgrade will start at 0:00 UTC and have a duration of 12 hours
Bug 127115 - echo mkdmnod|/sbin/nash should not re-create an identical /dev/mapper/control
echo mkdmnod|/sbin/nash should not re-create an identical /dev/mapper/control
Product: Fedora
Classification: Fedora
Component: initscripts (Show other bugs)
i386 Linux
medium Severity low
: ---
: ---
Assigned To: Bill Nottingham
Brock Organ
Depends On:
  Show dependency treegraph
Reported: 2004-07-01 23:11 EDT by Russell Coker
Modified: 2014-03-16 22:46 EDT (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2004-08-02 23:27:35 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 Russell Coker 2004-07-01 23:11:54 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):

How reproducible:

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.

Additional info:

This is a minor bug, but I really don't want needless writes to /dev.
Comment 1 Jeremy Katz 2004-08-02 18:24:15 EDT
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.
Comment 2 Bill Nottingham 2004-08-02 23:27:35 EDT
Changed, will be in future releases. Of course, has to conflict with
mkinitrd < 4.0 now. :)

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