Re: [PATCH] devfs: remove devfs from Kconfig preventing it from beingbuilt

From: Helge Hafting
Date: Thu Jun 23 2005 - 05:31:31 EST


David S. Miller wrote:

From: Greg KH <gregkh@xxxxxxx>
Date: Tue, 21 Jun 2005 21:13:30 -0700



On Tue, Jun 21, 2005 at 03:59:19PM -0700, David S. Miller wrote:


From: Greg KH <gregkh@xxxxxxx>
Date: Tue, 21 Jun 2005 15:24:19 -0700

However, this does mean I do need to reinstall a couple
debian boxes here to something newer before I can continue
doing kernel work in 2.6.x on them.


Those boxes rely on devfs?



Yeah, when I forget to turn on DEVFS_FS and DEVFS_MOUNT in the
kernel config the machine won't boot. :-)



Can't you just grab the "static dev" debian package and continue on?
I'm sure there is one in there somewhere (don't really know for sure,
not running debian anywhere here, sorry.)

Or how about a tarball of a /dev tree? Would that help you out?



I don't know if Debian has such a package.

Don't worry, I'll take care of this by simply reinstalling
and thus moving to udev.

That works, but seems like "the long way".
You don't need to be given a tarball of a /dev tree - make your own!
tar up your existing devfs-based /dev tree (at a time when all
your devices are present) then umount devfs and untar it
all. Then you have a static /dev which works with the existing setup,
and a nondevfs kernel can boot right away.

The udev way may be necessary if you actually have lots of devices
that come and go, such as usb thingies. It shouldn't be necessary
just to boot the machine though.

Jim Crilly wrote:

I think he's just saying that since he did the install with devfs enabled
and has been using devfs device names, a conversion back to 'standard'
names would be a major PITA. It's definately possible to convert, but if
there's not much on the boxes a reinstall might be quicker.

Fortunately, one doesn't need to convert back. Just copy devfs-dev onto
ext3-dev and there you have the "good old" devfs-names in a static /dev.

Helge Hafting



-
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/