Page MenuHomeFreeBSD

Add a "jail" keyword to list the name of a jail rather than its ID.
ClosedPublic

Authored by jhb on Mar 13 2018, 6:12 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sun, Dec 14, 4:07 AM
Unknown Object (File)
Nov 27 2025, 9:56 AM
Unknown Object (File)
Nov 23 2025, 9:26 PM
Unknown Object (File)
Nov 20 2025, 11:44 PM
Unknown Object (File)
Nov 20 2025, 11:37 PM
Unknown Object (File)
Nov 20 2025, 11:36 PM
Unknown Object (File)
Nov 20 2025, 11:32 PM
Unknown Object (File)
Nov 4 2025, 11:19 PM
Subscribers

Details

Test Plan
  • created a simple jail and then ran ps
  • if I commit this mwlucas@ will stop telling people to mount procfs in his book

Diff Detail

Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 15546
Build 15584: arc lint + arc unit

Event Timeline

Sample output:

> sudo jail -c -n myjail command=/bin/sh
#

Then on the host:

> ps axO jail -J myjail
  PID JAIL   TT  STAT    TIME COMMAND
66392 myjail 36  I+J  0:00.00 /bin/sh
This revision is now accepted and ready to land.Mar 13 2018, 6:25 PM
This revision was automatically updated to reflect the committed changes.