From: "Mantas Mikulėnas" <grawity@gmail.com>
To: util-linux@vger.kernel.org
Subject: findmnt on 3.14-rc3 – only shows /proc in tree mode
Date: Thu, 20 Feb 2014 15:43:13 +0200 [thread overview]
Message-ID: <le50p4$1td$1@ger.gmane.org> (raw)
[-- Attachment #1: Type: text/plain, Size: 1064 bytes --]
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
...while in 3.13 it used to be:
> 19 1 8:3 / / rw,relatime - ext4 /dev/sda3 rw,data=ordered
--
Mantas Mikulėnas <grawity@gmail.com>
[-- Attachment #2: bad-mountinfo.txt --]
[-- Type: text/plain, Size: 2946 bytes --]
15 19 0:2 / /proc rw,nosuid,nodev,noexec,relatime - proc proc rw
16 19 0:14 / /sys rw,nosuid,nodev,noexec,relatime - sysfs sys rw
17 19 0:4 / /dev rw,nosuid,relatime - devtmpfs dev rw,size=1952448k,nr_inodes=488112,mode=755
18 19 0:15 / /run rw,nosuid,nodev,relatime - tmpfs run rw,mode=755
19 0 8:3 / / rw,relatime - ext4 /dev/sda3 rw,data=ordered
20 16 0:13 / /sys/kernel/security rw,nosuid,nodev,noexec,relatime - securityfs securityfs rw
21 17 0:16 / /dev/shm rw,nosuid,nodev - tmpfs tmpfs rw
22 17 0:10 / /dev/pts rw,nosuid,noexec,relatime - devpts devpts rw,gid=5,mode=620,ptmxmode=000
23 16 0:17 / /sys/fs/cgroup rw,nosuid,nodev,noexec - tmpfs tmpfs rw,mode=755
24 23 0:18 / /sys/fs/cgroup/systemd rw,nosuid,nodev,noexec,relatime - cgroup cgroup rw,xattr,release_agent=/usr/lib/systemd/systemd-cgroups-agent,name=systemd
25 16 0:19 / /sys/fs/pstore rw,nosuid,nodev,noexec,relatime - pstore pstore rw
26 16 0:20 / /sys/firmware/efi/efivars rw,nosuid,nodev,noexec,relatime - efivarfs efivarfs rw
27 23 0:21 / /sys/fs/cgroup/cpuset rw,nosuid,nodev,noexec,relatime - cgroup cgroup rw,cpuset
28 23 0:22 / /sys/fs/cgroup/cpu,cpuacct rw,nosuid,nodev,noexec,relatime - cgroup cgroup rw,cpu,cpuacct
29 23 0:23 / /sys/fs/cgroup/memory rw,nosuid,nodev,noexec,relatime - cgroup cgroup rw,memory
30 23 0:24 / /sys/fs/cgroup/devices rw,nosuid,nodev,noexec,relatime - cgroup cgroup rw,devices
31 23 0:25 / /sys/fs/cgroup/freezer rw,nosuid,nodev,noexec,relatime - cgroup cgroup rw,freezer
32 23 0:26 / /sys/fs/cgroup/net_cls rw,nosuid,nodev,noexec,relatime - cgroup cgroup rw,net_cls
33 23 0:27 / /sys/fs/cgroup/blkio rw,nosuid,nodev,noexec,relatime - cgroup cgroup rw,blkio
34 15 0:28 / /proc/sys/fs/binfmt_misc rw,relatime - autofs systemd-1 rw,fd=21,pgrp=1,timeout=300,minproto=5,maxproto=5,direct
35 19 0:29 / /boot rw,relatime - autofs systemd-1 rw,fd=22,pgrp=1,timeout=300,minproto=5,maxproto=5,direct
36 34 0:30 / /proc/sys/fs/binfmt_misc rw,relatime - binfmt_misc binfmt_misc rw
39 16 0:6 / /sys/kernel/debug rw,relatime - debugfs debugfs rw
37 17 0:31 / /dev/hugepages rw,relatime - hugetlbfs hugetlbfs rw
38 19 0:32 / /tmp rw - tmpfs tmpfs rw
40 17 0:12 / /dev/mqueue rw,relatime - mqueue mqueue rw
42 16 0:33 / /sys/kernel/config rw,relatime - configfs configfs rw
43 19 8:4 / /home rw,noatime - ext4 /dev/sda4 rw,data=ordered
44 35 8:2 / /boot rw,noatime - ext4 /dev/sda2 rw,data=ordered
45 44 8:1 / /boot/efi rw,noatime - vfat /dev/sda1 rw,fmask=0133,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro
46 43 0:34 / /home/grawity/Private rw,nosuid,nodev,relatime - ecryptfs /home/grawity/.Private rw,ecryptfs_fnek_sig=24f417250d324a64,ecryptfs_sig=f615f6830f052a77,ecryptfs_cipher=aes,ecryptfs_key_bytes=16,ecryptfs_unlink_sigs
47 16 0:35 / /sys/fs/fuse/connections rw,relatime - fusectl fusectl rw
48 18 0:36 / /run/user/1000/gvfs rw,nosuid,nodev,relatime - fuse.gvfsd-fuse gvfsd-fuse rw,user_id=1000,group_id=1000
[-- Attachment #3: good-mountinfo.txt --]
[-- Type: text/plain, Size: 2758 bytes --]
15 19 0:3 / /proc rw,nosuid,nodev,noexec,relatime - proc proc rw
16 19 0:14 / /sys rw,nosuid,nodev,noexec,relatime - sysfs sys rw
17 19 0:5 / /dev rw,nosuid,relatime - devtmpfs dev rw,size=1952328k,nr_inodes=488082,mode=755
18 19 0:15 / /run rw,nosuid,nodev,relatime - tmpfs run rw,mode=755
19 1 8:3 / / rw,relatime - ext4 /dev/sda3 rw,data=ordered
20 16 0:16 / /sys/kernel/security rw,nosuid,nodev,noexec,relatime - securityfs securityfs rw
21 17 0:17 / /dev/shm rw,nosuid,nodev - tmpfs tmpfs rw
22 17 0:11 / /dev/pts rw,nosuid,noexec,relatime - devpts devpts rw,gid=5,mode=620,ptmxmode=000
23 16 0:18 / /sys/fs/cgroup rw,nosuid,nodev,noexec - tmpfs tmpfs rw,mode=755
24 23 0:19 / /sys/fs/cgroup/systemd rw,nosuid,nodev,noexec,relatime - cgroup cgroup rw,xattr,release_agent=/usr/lib/systemd/systemd-cgroups-agent,name=systemd
25 16 0:20 / /sys/fs/pstore rw,nosuid,nodev,noexec,relatime - pstore pstore rw
26 16 0:21 / /sys/firmware/efi/efivars rw,nosuid,nodev,noexec,relatime - efivarfs efivarfs rw
27 23 0:22 / /sys/fs/cgroup/cpuset rw,nosuid,nodev,noexec,relatime - cgroup cgroup rw,cpuset
28 23 0:23 / /sys/fs/cgroup/cpu,cpuacct rw,nosuid,nodev,noexec,relatime - cgroup cgroup rw,cpuacct,cpu
29 23 0:24 / /sys/fs/cgroup/memory rw,nosuid,nodev,noexec,relatime - cgroup cgroup rw,memory
30 23 0:25 / /sys/fs/cgroup/devices rw,nosuid,nodev,noexec,relatime - cgroup cgroup rw,devices
31 23 0:26 / /sys/fs/cgroup/freezer rw,nosuid,nodev,noexec,relatime - cgroup cgroup rw,freezer
32 23 0:27 / /sys/fs/cgroup/net_cls rw,nosuid,nodev,noexec,relatime - cgroup cgroup rw,net_cls
33 23 0:28 / /sys/fs/cgroup/blkio rw,nosuid,nodev,noexec,relatime - cgroup cgroup rw,blkio
34 15 0:29 / /proc/sys/fs/binfmt_misc rw,relatime - autofs systemd-1 rw,fd=21,pgrp=1,timeout=300,minproto=5,maxproto=5,direct
35 19 0:30 / /boot rw,relatime - autofs systemd-1 rw,fd=22,pgrp=1,timeout=300,minproto=5,maxproto=5,direct
36 34 0:31 / /proc/sys/fs/binfmt_misc rw,relatime - binfmt_misc binfmt_misc rw
37 19 0:32 / /tmp rw - tmpfs tmpfs rw
38 17 0:13 / /dev/mqueue rw,relatime - mqueue mqueue rw
40 16 0:7 / /sys/kernel/debug rw,relatime - debugfs debugfs rw
39 17 0:33 / /dev/hugepages rw,relatime - hugetlbfs hugetlbfs rw
42 16 0:34 / /sys/kernel/config rw,relatime - configfs configfs rw
44 35 8:2 / /boot rw,noatime - ext4 /dev/sda2 rw,data=ordered
43 19 8:4 / /home rw,noatime - ext4 /dev/sda4 rw,data=ordered
45 44 8:1 / /boot/efi rw,noatime - vfat /dev/sda1 rw,fmask=0133,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro
46 43 0:35 / /home/grawity/Private rw,nosuid,nodev,relatime - ecryptfs /home/grawity/.Private rw,ecryptfs_fnek_sig=24f417250d324a64,ecryptfs_sig=f615f6830f052a77,ecryptfs_cipher=aes,ecryptfs_key_bytes=16,ecryptfs_unlink_sigs
[-- Attachment #4: bad-findmnt-debug.txt --]
[-- Type: text/plain, Size: 4053 bytes --]
564509: libmount: INIT: library debug mask: 0xffff
564509: libmount: INIT: library version: 2.24.0
564509: libmount: INIT: feature: debug
564509: libmount: INIT: feature: assert
564509: libmount: TAB: [0x1786da0]: alloc
564509: libmount: TAB: [0x1786da0]: /proc/self/mountinfo: start parsing [entries=0, filter=not]
564509: libmount: TAB: trying to guess table type
564509: libmount: TAB: [0x1786da0]: add entry: proc /proc
564509: libmount: TAB: TID for /proc/self/mountinfo is 564509
564509: libmount: TAB: [0x1786da0]: add entry: sys /sys
564509: libmount: TAB: [0x1786da0]: add entry: dev /dev
564509: libmount: TAB: [0x1786da0]: add entry: run /run
564509: libmount: TAB: [0x1786da0]: add entry: /dev/sda3 /
564509: libmount: TAB: [0x1786da0]: add entry: securityfs /sys/kernel/security
564509: libmount: TAB: [0x1786da0]: add entry: tmpfs /dev/shm
564509: libmount: TAB: [0x1786da0]: add entry: devpts /dev/pts
564509: libmount: TAB: [0x1786da0]: add entry: tmpfs /sys/fs/cgroup
564509: libmount: TAB: [0x1786da0]: add entry: cgroup /sys/fs/cgroup/systemd
564509: libmount: TAB: [0x1786da0]: add entry: pstore /sys/fs/pstore
564509: libmount: TAB: [0x1786da0]: add entry: efivarfs /sys/firmware/efi/efivars
564509: libmount: TAB: [0x1786da0]: add entry: cgroup /sys/fs/cgroup/cpuset
564509: libmount: TAB: [0x1786da0]: add entry: cgroup /sys/fs/cgroup/cpu,cpuacct
564509: libmount: TAB: [0x1786da0]: add entry: cgroup /sys/fs/cgroup/memory
564509: libmount: TAB: [0x1786da0]: add entry: cgroup /sys/fs/cgroup/devices
564509: libmount: TAB: [0x1786da0]: add entry: cgroup /sys/fs/cgroup/freezer
564509: libmount: TAB: [0x1786da0]: add entry: cgroup /sys/fs/cgroup/net_cls
564509: libmount: TAB: [0x1786da0]: add entry: cgroup /sys/fs/cgroup/blkio
564509: libmount: TAB: [0x1786da0]: add entry: systemd-1 /proc/sys/fs/binfmt_misc
564509: libmount: TAB: [0x1786da0]: add entry: systemd-1 /boot
564509: libmount: TAB: [0x1786da0]: add entry: binfmt_misc /proc/sys/fs/binfmt_misc
564509: libmount: TAB: [0x1786da0]: add entry: debugfs /sys/kernel/debug
564509: libmount: TAB: [0x1786da0]: add entry: hugetlbfs /dev/hugepages
564509: libmount: TAB: [0x1786da0]: add entry: tmpfs /tmp
564509: libmount: TAB: [0x1786da0]: add entry: mqueue /dev/mqueue
564509: libmount: TAB: [0x1786da0]: add entry: configfs /sys/kernel/config
564509: libmount: TAB: [0x1786da0]: add entry: /dev/sda4 /home
564509: libmount: TAB: [0x1786da0]: add entry: /dev/sda2 /boot
564509: libmount: TAB: [0x1786da0]: add entry: /dev/sda1 /boot/efi
564509: libmount: TAB: [0x1786da0]: add entry: fusectl /sys/fs/fuse/connections
564509: libmount: TAB: [0x1786da0]: add entry: /home/grawity/.Private /home/grawity/Private
564509: libmount: TAB: [0x1786da0]: add entry: gvfsd-fuse /run/user/1000/gvfs
564509: libmount: TAB: [0x1786da0]: /proc/self/mountinfo: stop parsing (33 entries)
564509: libmount: CACHE: [0x178e210]: alloc
564509: libmount: TAB: [0x1786da0]: lookup root fs
564509: libmount: TAB: [0x1786da0]: lookup next child of '/proc'
564509: libmount: TAB: [0x1786da0]: lookup next child of '/proc/sys/fs/binfmt_misc'
564509: libmount: TAB: [0x1786da0]: lookup next child of '/proc/sys/fs/binfmt_misc'
564509: libmount: TAB: [0x1786da0]: lookup next child of '/proc/sys/fs/binfmt_misc'
564509: libmount: TAB: [0x1786da0]: lookup next child of '/proc'
564509: libmount: TAB: [0x1786da0]: reset
564509: libmount: TAB: [0x1786da0]: free
564509: libmount: CACHE: [0x178e210]: free
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,minproto=5,maxproto=5,direct
└─/proc/sys/fs/binfmt_misc binfmt_misc binfmt_misc rw,relatime
next reply other threads:[~2014-02-20 13:43 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-02-20 13:43 Mantas Mikulėnas [this message]
2014-02-20 16:24 ` findmnt on 3.14-rc3 – only shows /proc in tree mode Karel Zak
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='le50p4$1td$1@ger.gmane.org' \
--to=grawity@gmail.com \
--cc=util-linux@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.