summaryrefslogtreecommitdiffstats
path: root/tests/expected/findmnt
diff options
context:
space:
mode:
authorKarel Zak2017-02-01 16:12:55 +0100
committerKarel Zak2017-02-01 16:20:12 +0100
commit1a3397906dc35bf017f5382001eaf60e717d0a8f (patch)
tree9c62be9a7f96ad3f9d9bb3762dac6403897be281 /tests/expected/findmnt
parentcfdisk: support UI refresh on ^L (diff)
downloadkernel-qcow2-util-linux-1a3397906dc35bf017f5382001eaf60e717d0a8f.tar.gz
kernel-qcow2-util-linux-1a3397906dc35bf017f5382001eaf60e717d0a8f.tar.xz
kernel-qcow2-util-linux-1a3397906dc35bf017f5382001eaf60e717d0a8f.zip
libmount: make rootfs lookup by parent-id more robust
The root FS id really does not have to be the smallest one. Reported-by: Michal Soltys <soltys@ziu.info> Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'tests/expected/findmnt')
-rw-r--r--tests/expected/findmnt/outputs-messy-mountinfo31
1 files changed, 31 insertions, 0 deletions
diff --git a/tests/expected/findmnt/outputs-messy-mountinfo b/tests/expected/findmnt/outputs-messy-mountinfo
new file mode 100644
index 000000000..c7225a1ba
--- /dev/null
+++ b/tests/expected/findmnt/outputs-messy-mountinfo
@@ -0,0 +1,31 @@
+TARGET SOURCE FSTYPE OPTIONS
+/ /dev/sda3[/arch] ext4 rw,relatime
+|-/sys sysfs sysfs ro,nosuid,nodev,noexec,relatime
+| `-/sys/fs/cgroup tmpfs tmpfs ro,nosuid,nodev,noexec,mode=755
+| |-/sys/fs/cgroup/perf_event cgroup cgroup ro,nosuid,nodev,noexec,relatime,perf_event
+| |-/sys/fs/cgroup/net_cls cgroup cgroup ro,nosuid,nodev,noexec,relatime,net_cls
+| |-/sys/fs/cgroup/blkio cgroup cgroup ro,nosuid,nodev,noexec,relatime,blkio
+| |-/sys/fs/cgroup/memory cgroup cgroup ro,nosuid,nodev,noexec,relatime,memory
+| |-/sys/fs/cgroup/pids cgroup cgroup ro,nosuid,nodev,noexec,relatime,pids
+| |-/sys/fs/cgroup/cpuset cgroup cgroup ro,nosuid,nodev,noexec,relatime,cpuset
+| |-/sys/fs/cgroup/freezer cgroup cgroup ro,nosuid,nodev,noexec,relatime,freezer
+| |-/sys/fs/cgroup/cpu,cpuacct cgroup cgroup ro,nosuid,nodev,noexec,relatime,cpu,cpuacct
+| |-/sys/fs/cgroup/devices cgroup cgroup ro,nosuid,nodev,noexec,relatime,devices
+| `-/sys/fs/cgroup/systemd cgroup cgroup rw,nosuid,nodev,noexec,relatime,xattr,release_agent=/usr/lib/systemd/systemd-cgroups-agent,name=systemd
+|-/dev tmpfs tmpfs rw,nosuid,mode=755
+| |-/dev/mqueue mqueue mqueue rw,relatime
+| |-/dev/hugepages hugetlbfs hugetlbfs rw,relatime
+| |-/dev/shm tmpfs tmpfs rw,nosuid,nodev
+| |-/dev/pts devpts devpts rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=666
+| `-/dev/console devpts[/5] devpts rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000
+|-/run tmpfs tmpfs rw,nosuid,nodev,mode=755
+| |-/run/user/0 tmpfs tmpfs rw,nosuid,nodev,relatime,size=1634120k,mode=700
+| `-/run/systemd/nspawn/incoming run[/systemd/nspawn/propagate/arch] tmpfs ro,relatime,mode=755
+|-/tmp tmpfs tmpfs rw
+`-/proc proc proc rw,nosuid,nodev,noexec,relatime
+ |-/proc/sys/kernel/random/boot_id tmpfs[/proc-sys-kernel-random-boot-id//deleted] tmpfs rw,nosuid,nodev,mode=755
+ |-/proc/kmsg tmpfs[/kmsg//deleted] tmpfs rw,nosuid,nodev,mode=755
+ |-/proc/sys proc[/sys] proc ro,nosuid,nodev,noexec,relatime
+ | `-/proc/sys/kernel/random/boot_id tmpfs[/proc-sys-kernel-random-boot-id//deleted] tmpfs ro,nosuid,nodev,mode=755
+ `-/proc/sysrq-trigger proc[/sysrq-trigger] proc ro,nosuid,nodev,noexec,relatime
+rc=0