Skip to contentSkip to conversation

Minimal static dev entries?

DISCUSSION Phil Dibowitz 3 participants 3 messages May 15, 2005 – May 16, 2005

lore
Share & tools
lore
#0 lore raw

As I moved my data from one disk to another (well actually from a disk to an md device) I used cp -ax which stays ona given filesystem, and thus I never get static /dev entries on my new root device.

The only things that seem to be needed by the static boot prior to udev being started (i.e the only things to cause error) were /dev/console and /dev/null. So I made these two and the system now boots fine and udev gets started and in /dev/.static/dev I have console, null, and a named pipe called initctl.

So my question is... is there anything else that _should_ be in the static dev filesystem that's needed until udev get's started? udev is started extraordinarily early in the boot process, so I don't suspect so, but I thought I'd ask those who know best.

Thanks,

Signature · 7 lines
Phil Dibowitz                             [email protected]
Freeware and Technical Pages              Insanity Palace of Metallica
http://www.phildev.net/                   http://www.ipom.com/

"They that can give up essential liberty to obtain a little temporary
safety deserve neither liberty nor safety."
 - Benjamin Franklin, 1759
#1 lore raw
Quoted 4 lines · Phil Dibowitz

So my question is... is there anything else that _should_ be in the static dev filesystem that's needed until udev get's started? udev is started extraordinarily early in the boot process, so I don't suspect so, but I thought I'd ask those who know best.

No, in my experience the only entries needed are /dev/console and /dev/null.

-------------------------------------------------------
This SF.Net email is sponsored by Oracle Space Sweepstakes Want to be the first software developer in space?
Enter now for the Oracle Space Sweepstakes!
http://ads.osdn.com/?ad_ids93&alloc_id281&op=click
_______________________________________________
Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net
[email protected]
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel

#2 lore raw
In reply to Phil Dibowitz
Quoted 10 lines · Phil Dibowitz

As I moved my data from one disk to another (well actually from a disk to an md device) I used cp -ax which stays ona given filesystem, and thus I never get static /dev entries on my new root device.

The only things that seem to be needed by the static boot prior to udev being started (i.e the only things to cause error) were /dev/console and /dev/null. So I made these two and the system now boots fine and udev gets started and in /dev/.static/dev I have console, null, and a named pipe called initctl.

Quoted 4 lines

So my question is... is there anything else that _should_ be in the static dev filesystem that's needed until udev get's started? udev is started extraordinarily early in the boot process, so I don't suspect so, but I thought I'd ask those who know best.

It all depends on your distro and its startup logic. Some don't need any static nodes :)

thanks,

greg k-h

-------------------------------------------------------
This SF.Net email is sponsored by Oracle Space Sweepstakes Want to be the first software developer in space?
Enter now for the Oracle Space Sweepstakes!
http://ads.osdn.com/?ad_idt12&alloc_id344&op=click
_______________________________________________
Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net
[email protected]
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel