Page MenuHomeFreeBSD

jls: add a -c mode to check for a jail's existence
ClosedPublic

Authored by kevans on Jul 25 2025, 8:38 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sat, Oct 11, 12:16 AM
Unknown Object (File)
Sat, Oct 11, 12:16 AM
Unknown Object (File)
Sat, Oct 11, 12:16 AM
Unknown Object (File)
Fri, Oct 10, 5:46 PM
Unknown Object (File)
Wed, Oct 8, 8:46 PM
Unknown Object (File)
Fri, Oct 3, 6:33 PM
Unknown Object (File)
Wed, Oct 1, 6:47 PM
Unknown Object (File)
Fri, Sep 26, 4:17 PM
Subscribers

Details

Summary

This is intended to be primarily used in scripts that want to check if
a jail exists before taking some action -- for instance, the jail(8)
test cleanup functions that want to remove the jail if it still exists.
Having a mode that limits its output for their usage is useful both
for cleaner scripts and also to avoid masking real problems.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable