Re: findmnt on 3.14-rc3 – only shows /proc in tree mode

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Feb 20, 2014 at 03:43:13PM +0200, Mantas Mikulėnas wrote:
> Using util-linux 2.24.1 on Arch Linux, running `findmnt` only shows
> mounts at or under "/proc", and ignores all other mount points
> (including "/"). This only happens in "tree" mode – if I run `findmnt
> --raw` it lists all mounts correctly.
> 
> This happens with custom-built 3.14-rc3 kernel, but works fine with
> Arch's stock 3.13.x (the same Arch initramfs for both). Building
> `findmnt` from util-linux.git did not change anything.
> 
> > $ findmnt
> > TARGET                       SOURCE      FSTYPE    OPTIONS
> > /proc                        proc        proc      rw,nosuid,nodev,noexec,relatime
> > └─/proc/sys/fs/binfmt_misc   systemd-1   autofs    rw,relatime,fd=21,pgrp=1,timeout=300,minprot
> >   └─/proc/sys/fs/binfmt_misc binfmt_misc binfmt_mi rw,relatime
> 
> It seems there is a small difference in /proc/self/mountinfo with 3.14;
> the entry for / looks like this:
> 
> > 19 0 8:3 / / rw,relatime - ext4 /dev/sda3 rw,data=ordered

 Hmm... it seems like the kernel does not have pseudo rootfs entry, so
 the mount IDs starts from zero.

 Fixed (commit 6c373810f5b1d32824371e9dff6ee5a006388f98),
 it was bug in libmount mnt_table_get_root_fs().

    Karel
-- 
 Karel Zak  <kzak@xxxxxxxxxx>
 http://karelzak.blogspot.com
--
To unsubscribe from this list: send the line "unsubscribe util-linux" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux