Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 68653 - stop mounting ramfs on /dev! (udev system)
Summary: stop mounting ramfs on /dev! (udev system)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] baselayout (show other bugs)
Hardware: All Linux
: High critical
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-10-23 11:43 UTC by Grzegorz Kulewski
Modified: 2004-10-25 06:00 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Grzegorz Kulewski 2004-10-23 11:43:48 UTC
I have udev system and Gentoo startup scripts are mounting ramfs on /dev. This is very bad idea:

dd if=/dev/sda1 of=/dev/sda17

will lock hard your sysem because of oom because of this stupid typo (/dev/sda17 instead of /dev/evms/sda17 - kernel does not have enought minor numbers for partitions over 15 on SCSI disks, I am using evms instead)!!! 
It is possible - I triggered it 3 time yesterday before I realized what is wrong.

I think /dev should be very size-limited tmpfs (32 MB will be more than anybody will ever need).


Reproducible: Always
Steps to Reproduce:
Comment 1 SpanKY gentoo-dev 2004-10-23 22:14:58 UTC
done deal, changed rc to mount tmpfs insetad of ramfs
Comment 2 Grant Goodyear (RETIRED) gentoo-dev 2004-10-24 07:16:06 UTC
Isn't tmpfs vs ramfs set in /etc/conf.d/rc.conf (if svcmount is set at all)?
Comment 3 SpanKY gentoo-dev 2004-10-25 06:00:39 UTC
svcmount != udev mounting of /dev

it was hardcoded to ramfs, now it's hardcoded to tmpfs ;)