Date: Sun, 22 Nov 2020 16:59:44 +0000 From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 251316] [PATCH] freebsd-version: present -v option, to print verbose information Message-ID: <bug-251316-227@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D251316 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: bugs@FreeBSD.org Reporter: egypcio@FreeBSD.org Created attachment 219890 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D219890&action= =3Dedit [PATCH] freebsd-version: present -v option, to print verbose information by applying this patch, we would be able to extend freebsd-version's featur= es 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 pre= sent 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 --=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-251316-227>