HomeFreeBSD

freebsd-version(1): Add -j flag to support jails

Description

freebsd-version(1): Add -j flag to support jails

Make freebsd-version(1) support jails by adding the -j flag which takes
a jail jid or name as an argument. As with other options, -j
flags stack and display in the order requested.

Reviewed by: bcr (manpages), kevans
MFC after: 1 week
Differential Revision: https://reviews.freebsd.org/D25705

(cherry picked from commit f54b18fc4d72c566912b9a41601ed87a852960e7)

Details

Provenance
kfv_kfv.ioAuthored on Oct 1 2021, 6:46 PM
kevansCommitted on Oct 8 2021, 4:29 PM
Reviewer
bcr
Differential Revision
D25705: freebsd-version(1): Add -j flag to support jails
Parents
rG5018dfb90fb3: tests/sys/fs/fusefs/read.cc: fix build on powerpc64
Branches
Unknown
Tags
Unknown