https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=251316
Bug ID: 251316
Summary: [PATCH] freebsd-version: present -v option, to print
verbose information
Product: Base System
Version: CURRENT
Hardware: Any
OS: Any
Status: New
Severity: Affects Only Me
Priority: ---
Component: bin
Assignee: [email protected]
Reporter: [email protected]
Created attachment 219890
--> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=219890&action=edit
[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
--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "[email protected]"