Bug 1714826 - findmnt real and pseudo output is erroneously format dependent
Summary: findmnt real and pseudo output is erroneously format dependent
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: util-linux
Version: 30
Hardware: x86_64
OS: Linux
unspecified
unspecified
Target Milestone: ---
Assignee: Karel Zak
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2019-05-29 01:43 UTC by smitna
Modified: 2020-01-09 10:31 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2020-01-09 10:31:33 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description smitna 2019-05-29 01:43:16 UTC
Description of problem:

These commands should produce identical output but do not:

$ findmnt --noheadings --real -o FSTYPE --tree | sort -u
bpf
ext2
selinuxfs
xfs

$ findmnt --noheadings --real -o FSTYPE --list | sort -u
autofs
binfmt_misc
bpf
cgroup
cgroup2
configfs
debugfs
devpts
devtmpfs
ext2
fuse
fusectl
fuse.gvfsd-fuse
hugetlbfs
mqueue
proc
pstore
rpc_pipefs
securityfs
selinuxfs
sysfs
tmpfs
xfs

These are clearly unequal.  Furthermore, neither seems right:  i.e. {bpf, selinuxfs} should be pseudo (not real) but regardless are output in both cases.


Version-Release number of selected component (if applicable):
2.33.2-1.fc30

Comment 1 Karel Zak 2019-05-29 16:03:11 UTC
Fixed by upstream commits 21d93094d4c6c7fcecb54ccb612c84e1392239d9 and 0e36d7c2711ed9f7a1f2479d798e83769d07cbb3.

Fedora package will be updated later. Thanks for your report!

Comment 2 Karel Zak 2019-05-29 16:05:34 UTC
... and commit 9db442e95482a8a2fe1006d49f6010bf8f7ac35b for selinuxfs.


Note You need to log in before you can comment on or make changes to this bug.