[Pkg-sysvinit-devel] Bug#697487: initscripts: Rootfs is mounted twice

Greg mls at reolight.net
Sun Jan 6 11:47:52 UTC 2013


Le 06.01.2013 12:10, Roger Leigh a écrit :
> On Sun, Jan 06, 2013 at 01:16:50AM +0100, Greg A wrote:
>> It seems that there is no impact but Wheezy mount the rootfs twice.
>>
>> In mtab or df (but not in mount)
>> rootfs / rootfs rw 0 0
>> /dev/disk/by-uuid/xxxxxxxxxxxxxxxxxxx / ext4 rw,relatime,errors=remount-
>> ro,user_xattr,barrier=1,data=ordered 0 0
>>
>> In FSTab, the mount point in only define once :
>> UUID=xxxxxxxxxxxxxxxxxxx /      ext4    defaults,errors=remount-ro 0       1
>>
>> It's a really small problem. Just layout issue.
> % cat /proc/mounts | grep ' / '
> rootfs / rootfs rw 0 0
> /dev/disk/by-uuid/... / btrfs rw,relatime,ssd,space_cache 0 0
>
> The root filesystem is only mounted once; this is the second line.
>
> The first line "rootfs" is actually the initramfs from when the
> system booted.  The real root filesystem is mounted inside this
> on /root, but it's not visible on the running system.
>
> The only change here was that when /etc/mtab was a static file,
> we didn't add the initramfs to it.  But now that we use /proc/mounts,
> the information which was previously hidden is now visible.
>
>
> Regards,
> Roger
>

Ok, I was thinking it's mounted twice because "df" show me the same 
space usage.
% df -H  |grep -E '/$'
rootfs                                                    14G   13G  
2,0G  87% /
/dev/disk/by-uuid/xxxxxxww                 14G   13G  2,0G  87% /

As It's my misinterpretation, you can close the bug.

BR,
Grégory



More information about the Pkg-sysvinit-devel mailing list