[plug] 2.6 Kernels, Upgrading from kernel with devfs, to kernel without

Bernard Blackham bernard at blackham.com.au
Thu Aug 4 15:42:59 WST 2005


On Wed, Aug 03, 2005 at 11:09:59PM +0800, Timothy White wrote:
> This has just hit me and from what I can see, the problem appears to
> be that /dev/ is empty because devfs isn't filing it with dev nodes,
> and udev is obviously not running yet.
> So what's the solution? If we start creating nodes in there then that
> defeats the purpose of udev. If we compile in devfs then it can never
> be removed from the kernel (it is obsolete) as udev can't work without
> it unless we have static nodes!

Distros will typically start udev from an initrd. As Ian pointed
out, you can just put the devices needed for booting in your /dev
tree. If you can't get to your actual /dev because a devfs or udev
is mounted over the top, then you can "mount --bind / /mnt" and then
access /mnt/dev.

HTH,

Bernard.

-- 
 Bernard Blackham <bernard at blackham dot com dot au>



More information about the plug mailing list