Re: devfs vs udev, thoughts from a devfs user

From: Greg KH
Date: Tue Feb 10 2004 - 20:19:47 EST


On Tue, Feb 10, 2004 at 03:39:00PM -0500, Bill Rugolsky Jr. wrote:
> On Tue, Feb 10, 2004 at 01:11:36PM -0700, Kevin P. Fleming wrote:
> > devfs is "single-instance": it can be mounted during initrd/initramfs
> > processing, then remounted after pivot_root without losing its contents
> >
> > Granted, I'm sure someone can come up with a single-instance ramfs
> > filesystem that can be used for udev, but today it does not exist.
>
> mount --move olddir newdir

Doesn't work for what we want here:

$ mkdir /tmp/a /tmp/b
$ mount -t ramfs none /tmp/a
$ touch /tmp/a/foo
$ mount --move /tmp/a /tmp/b
$ ls /tmp/b
foo
$ umount /tmp/a
$ ls /tmp/b
$

Hm, not nice :(

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/