Date: Thu, 17 Aug 2023 15:03:02 +0000 From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 273180] bectl: Add a -q option for mount Message-ID: <bug-273180-227@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D273180 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 us= ing 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=3D13.2-RELEASE sudo bectl create ${RELEASE} BASEDIR=3D`sudo bectl mount -q ${RELEASE}` --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-273180-227>