Created attachment 219890 [details] [PATCH] freebsd-version: present -v option, to print verbose information by applying this patch, we would be able to extend freebsd-version's features to: * print verbose information of the base system (using existing userland_version() function); * print verbose information of the kernel (using existing running_version() function); we kept kernel_version() as is - it uses the bootfile, which may not be present if one is running any FreeBSD jail. ----- * default output, kept as is # freebsd-version 13.0-CURRENT * output using verbose information # freebsd-version -v 13.0-CURRENT 1300126 * output using verbose information (running_version, for its kernel) # freebsd-version -rv 13.0-CURRENT 1300126 * userland and running_version, kept as is # freebsd-version -ru 13.0-CURRENT 13.0-CURRENT * userland and running_version with all verbose information # freebsd-version -ruv 13.0-CURRENT 1300126 13.0-CURRENT 1300126
ping?
updated patch using `git diff` - https://reviews.freebsd.org/file/data/tfv4ptrebll27oc56uxg/PHID-FILE-2nmecwqe22cruegu5tcz/D27318.id88120.diff
Created attachment 229511 [details] [PATCH] freebsd-version: present -v option, to print verbose information (OSVERSION) ping? sync from latest patch published on https://reviews.freebsd.org/D27318
Created attachment 229512 [details] [PATCH] freebsd-version: present -v option, to print verbose information % rebase freebsd/main origin/D27318
Created attachment 229515 [details] [PATCH] freebsd-version: present -v option, to print verbose information
ping? :3
Could you open a differential for this enhancement? It should be get integrated very soon after review.
(In reply to Gordon Bergling from comment #8) hello there! thank you for taking this one in concern; much appreciated. diff on phabricator was open already under https://reviews.freebsd.org/D27318
Created attachment 235834 [details] [PATCH] freebsd-version: present -v option, to print verbose information sync patch file from most recent version updated on Phabricator.