https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=273180
Bug ID: 273180
Summary: bectl: Add a -q option for mount
Product: Base System
Version: CURRENT
Hardware: Any
OS: Any
Status: New
Severity: Affects Only Me
Priority: ---
Component: bin
Assignee: [email protected]
Reporter: [email protected]
It sure would be helpful if "bectl mount" had a -q --quiet option. When using
this option, a successful mount would print only the mountpoint used, and
nothing else. For example, instead of:
$ sudo bectl mount 13.2-RELEASE
Successfully mounted 13.2-RELEASE at /tmp/be_mount.PAGF
it would instead print
$ sudo bectl mount -q 13.2-RELEASE
/tmp/be_mount.PAGF
With such an option, one could more easily use bectl in scripts, like this:
RELEASE=13.2-RELEASE
sudo bectl create ${RELEASE}
BASEDIR=`sudo bectl mount -q ${RELEASE}`
--
You are receiving this mail because:
You are the assignee for the bug.