Re: udev: what's up with old /dev ?

Greg KH
2004-10-12T16:59:40Z

On Tue, Oct 12, 2004 at 10:11:48AM +0200, Harald Dunkel wrote:
> Greg KH wrote:
> >On Sun, Oct 10, 2004 at 10:08:49PM +0000, J.A. Magallon wrote:
> >
> >>Hi all...
> >>
> >>I have just remembered that udev mounts /dev as a tmpfs filesystem, _on
> >>top_
> >>of the old /dev directory.
> >
> >
> >Well, that's the way _your_ distro does it. Mine has an empty /dev on
> >the root filesystem, and the init scripts create a ramfs on top of /dev
> >at boot time, which udev fills up.
>
> I don't like this "my distro is better than yours".

I'm not trying to imply this at all. All I'm saying is this is a distro
specific issue, not a kernel issue, so it isn't a linux-kernel topic.

> Any pointer to some code online?

Look at the gentoo init package, or read the documentation in the udev
tarball for how to do this for Red Hat. I've successfully done this on
both distros.

thanks,

greg k-h