Bug 181873 - mknod: Failed to create '/dev/ram0': already exists
mknod: Failed to create '/dev/ram0': already exists
Status: CLOSED RAWHIDE
Product: Fedora
Classification: Fedora
Component: mkinitrd (Show other bugs)
rawhide
All Linux
medium Severity medium
: ---
: ---
Assigned To: Peter Jones
David Lawrence
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2006-02-17 07:24 EST by Mark McLoughlin
Modified: 2007-11-30 17:11 EST (History)
0 users

See Also:
Fixed In Version: 5.0.29-1
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2006-02-27 11:20:24 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)
mkinitrd-fix-ramdisk-device-nodes.patch (756 bytes, patch)
2006-02-17 07:24 EST, Mark McLoughlin
no flags Details | Diff
mkinitrd-fix-find-command.patch (783 bytes, patch)
2006-02-17 07:29 EST, Mark McLoughlin
no flags Details | Diff
mkinitrd-fix-ramdisk-device-nodes.patch (756 bytes, patch)
2006-02-17 07:30 EST, Mark McLoughlin
no flags Details | Diff

  None (edit)
Description Mark McLoughlin 2006-02-17 07:24:41 EST
With mkinitrd CVS HEAD, I see the above warning (and for /dev/ram1 too)

What seems to be happening is that when you mount devpts, the ramdisk device
nodes (ram0 - ram15) automatically get created. I haven't been able to figure
out why ... :-)

Removing the two mknods seems to work fine

Patch also makes the /dev/ram link on the initramfs link to /dev/ram1 rather
than /dev/ram1 linking to non-existent /dev/ram
Comment 1 Mark McLoughlin 2006-02-17 07:24:41 EST
Created attachment 124808 [details]
mkinitrd-fix-ramdisk-device-nodes.patch
Comment 2 Mark McLoughlin 2006-02-17 07:29:53 EST
Created attachment 124810 [details]
mkinitrd-fix-find-command.patch

Fixed indentation
Comment 3 Mark McLoughlin 2006-02-17 07:30:57 EST
Created attachment 124811 [details]
mkinitrd-fix-ramdisk-device-nodes.patch

Bah, getting confused between bugs
Comment 4 Peter Jones 2006-02-27 11:20:24 EST
They get created by mkblkdevs.

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