lkml.org 
[lkml]   [2007]   [Mar]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: Why is /dev on a different filesystem ? [Kernel 2.6.20.3]
Date
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/

\
 
 \ /
  Last update: 2007-03-21 22:01    [W:0.393 / U:0.004 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site