Messages in this thread | | | From | Alistair John Strachan <> | Subject | Re: Why is /dev on a different filesystem ? [Kernel 2.6.20.3] | Date | Wed, 21 Mar 2007 20:58:18 +0000 |
| |
On Wednesday 21 March 2007 19:13, Paul Rolland wrote: > So, obviously, /dev is on /, but the stat(2) says no. > Who is right, and where is the bug ? > > Kernel 2.4 had it right : /dev was on /, no doubt.
Some distros will mount tmpfs over /dev so that a minimal "real dev" can be provided as a fallback, but udev can add and remove nodes from /dev ad hoc during regular runtime. So I don't think there's a bug and I don't think anything is lying.
If you want the dev your distro gave you, just mount your rootfs on another mount point in read-only and run tar over that instead.
-- Cheers, Alistair.
Final year Computer Science undergraduate. 1F2 55 South Clerk Street, Edinburgh, UK. - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |