The -e / -E options are in the help output, but apparently not recognized # /lib64/rc/bin/mountinfo -E /usr/portage /lib64/rc/bin/mountinfo: invalid option -- 'E' Usage: mountinfo [options] [mount1] [mount2] ... Options: [f:F:n:N:o:O:p:P:istChqVv] -f, --fstype-regex <arg> fstype regex to find -F, --skip-fstype-regex <arg> fstype regex to skip -n, --node-regex <arg> node regex to find -N, --skip-node-regex <arg> node regex to skip -o, --options-regex <arg> options regex to find -O, --skip-options-regex <arg> options regex to skip -p, --point-regex <arg> point regex to find -P, --skip-point-regex <arg> point regex to skip -i, --options print options -s, --fstype print fstype -t, --node print node -e, --netdev is it a network device -E, --nonetdev is it not a network device -h, --help Display this help output -C, --nocolor Disable color output -V, --version Display software version -v, --verbose Run verbosely -q, --quiet Run quietly (repeat to suppress errors)
# /lib64/rc/bin/mountinfo --nonetdev /; echo $? 1 # /lib64/rc/bin/mountinfo --netdev /; echo $? 1 I'm not sure how that is useful :)
(In reply to Patrick Lauer from comment #0) > The -e / -E options are in the help output, but apparently not recognized > > # /lib64/rc/bin/mountinfo -E /usr/portage > /lib64/rc/bin/mountinfo: invalid option -- 'E' > Usage: mountinfo [options] [mount1] [mount2] ... > > Options: [f:F:n:N:o:O:p:P:istChqVv] > -f, --fstype-regex <arg> fstype regex to find > -F, --skip-fstype-regex <arg> fstype regex to skip > -n, --node-regex <arg> node regex to find > -N, --skip-node-regex <arg> node regex to skip > -o, --options-regex <arg> options regex to find > -O, --skip-options-regex <arg> options regex to skip > -p, --point-regex <arg> point regex to find > -P, --skip-point-regex <arg> point regex to skip > -i, --options print options > -s, --fstype print fstype > -t, --node print node > -e, --netdev is it a network device > -E, --nonetdev is it not a network device > -h, --help Display this help output > -C, --nocolor Disable color output > -V, --version Display software version > -v, --verbose Run verbosely > -q, --quiet Run quietly (repeat to suppress errors) This was fixed sometime back in commit f69833a1. (In reply to Patrick Lauer from comment #1) > # /lib64/rc/bin/mountinfo --nonetdev /; echo $? > 1 > # /lib64/rc/bin/mountinfo --netdev /; echo $? > 1 > > I'm not sure how that is useful :) This separate issue was fixed in commit 5f4f242. In the future, please refrain from stacking multiple un-related issues on a single bug.
Both of these fixes will be in openrc-5.18