[Pkg-sysvinit-devel] Bug#697487: initscripts: Rootfs is mounted twice
rleigh at codelibre.net
Sun Jan 6 11:10:23 UTC 2013
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.
.''`. Roger Leigh
: :' : Debian GNU/Linux http://people.debian.org/~rleigh/
`. `' schroot and sbuild http://alioth.debian.org/projects/buildd-tools
`- GPG Public Key F33D 281D 470A B443 6756 147C 07B3 C8BC 4083 E800
More information about the Pkg-sysvinit-devel