[arch-dev-public] Linux 3.14 in [testing]

Thomas Bächler thomas at archlinux.org
Wed Apr 2 10:21:04 EDT 2014


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 ([1]) and check with
statfs whether we are on either tmpfs or ramfs?

[1] http://git.busybox.net/busybox/tree/util-linux/switch_root.c#n100

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 901 bytes
Desc: OpenPGP digital signature
URL: <http://mailman.archlinux.org/pipermail/arch-dev-public/attachments/20140402/10df81fd/attachment.asc>


More information about the arch-dev-public mailing list