[Bug 265594] It’s hard to know what v ersion of FreeBSD you are running (primarily a documentation issue)

From: <bugzilla-noreply_at_freebsd.org>
Date: Fri, 05 Aug 2022 06:13:14 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=265594

Graham Perrin <grahamperrin@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |grahamperrin@gmail.com

--- Comment #2 from Graham Perrin <grahamperrin@gmail.com> ---
(In reply to Robert Watson from comment #0)

NAME
     freebsd-update – fetch and install binary updates to FreeBSD

…

DESCRIPTION
     The freebsd-update tool is used to fetch, install, and rollback binary
     updates to the FreeBSD base system.

…


Given the name and description (above), I think that telling the version alone
– _without_ any update-related action – is out of scope for freebsd-update(8). 

> … no way to print the current version …

The version and patch level can be found in response to: 

    freebsd-update fetch

----

root@fuji:~ # freebsd-update fetch
Looking up update.FreeBSD.org mirrors... 2 mirrors found.
Fetching metadata signature for 13.1-RELEASE from update1.freebsd.org... done.
Fetching metadata index... done.
Inspecting system... done.
Preparing to download files... done.

No updates needed to update system to 13.1-RELEASE-p0.
root@fuji:~ # freebsd-version -kru
13.1-RELEASE
13.1-RELEASE
13.1-RELEASE
root@fuji:~ #

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