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

From: Greg KH
Date: Tue Oct 12 2004 - 12:02:57 EST


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
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/