Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 23 Aug 2023 18:48:43 +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-RGoi4gLK71@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-273180-227@https.bugs.freebsd.org/bugzilla/>

index | next in thread | previous in thread | raw e-mail

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=273180

--- Comment #4 from commit-hook@FreeBSD.org ---
A commit in branch main references this bug:

URL:
https://cgit.FreeBSD.org/src/commit/?id=760987ecd39b54374aef40783b2c232997f3ac04

commit 760987ecd39b54374aef40783b2c232997f3ac04
Author:     Robert Wing <rew@FreeBSD.org>
AuthorDate: 2023-08-23 18:39:13 +0000
Commit:     Robert Wing <rew@FreeBSD.org>
CommitDate: 2023-08-23 18:45:01 +0000

    bectl: make mount subcommand less verbose

    The mount subcommand currently produces output such as:
        # bectl mount <bootenv>
        Successfully mounted <bootenv> at <mountpoint>

    This commit changes it to only print the mountpoint:
        # bectl mount <bootenv>
        <mountpoint>

    This makes it easier to script the mount subcommand. If an error occurs
    while mounting, an error message is printed to stderr and bectl will
    exit with a non-zero value.

    PR:             273180
    Reviewed by:    kevans, asomers
    Differential Revision:  https://reviews.freebsd.org/D41562

 sbin/bectl/bectl.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

-- 
You are receiving this mail because:
You are the assignee for the bug.

help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-273180-227-RGoi4gLK71>