[Bug 273180] bectl: Add a -q option for mount
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 273180] bectl: Add a -q option for mount"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 273180] bectl: Add a -q option for mount"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 273180] bectl: Add a -q option for mount"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 273180] bectl: Add a -q option for mount"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 273180] bectl: Add a -q option for mount"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 273180] bectl: Add a -q option for mount"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 17 Aug 2023 15:03:02 UTC
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: bugs@FreeBSD.org
Reporter: asomers@FreeBSD.org
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.