[arch-dev-public] Linux 3.14 in [testing]
d at falconindy.com
Wed Apr 2 10:35:58 EDT 2014
On Wed, Apr 02, 2014 at 04:21:04PM +0200, Thomas Bächler wrote:
> Am 02.04.2014 16:00, schrieb Dave Reisner:
> >> For 2), I don't see a fix upstream. It looks like a similar issue -
> >> apparently, st_dev for rootfs no longer has major 0 and minor 1 - maybe
> >> this also changed to 0?
> > Seems you're right:
> > [rootfs /]# cat /proc/self/mountinfo
> > 0 0 0:0 / / rw - rootfs rootfs rw
> > 14 0 0:2 / /proc rw,nosuid,nodev,noexec,relatime - proc proc rw
> > 15 0 0:13 / /sys rw,nosuid,nodev,noexec,relatime - sysfs sys rw
> > 16 0 0:4 / /dev rw,nosuid,relatime - devtmpfs dev rw,size=508412k,nr_inodes=127103,mode=755
> > 17 0 0:14 / /run rw,nosuid,nodev,relatime - tmpfs run rw,mode=755
> > I mentioned this to Karel on IRC and offered a few possible solutions
> Did you mention that we could do what busybox does () and check with
> statfs whether we are on either tmpfs or ramfs?
>  http://git.busybox.net/busybox/tree/util-linux/switch_root.c#n100
Yes, that was one possibility. I'm testing a patch now.
More information about the arch-dev-public