diff options
author | Philipp Wuensche <cryx-freebsd@h3q.com> | 2019-08-15 16:07:03 +0200 |
---|---|---|
committer | Philipp Wuensche <cryx-freebsd@h3q.com> | 2019-08-15 16:07:03 +0200 |
commit | bcf5edaa201b735419f45f817b8c89ff5ce20b69 (patch) | |
tree | 2bdb20a9699c4ea7200383cadd183a912a3a2ee8 /man8/ezjail-admin.8 | |
parent | bc503ac02358b514b605f92110a913e36055a50b (diff) |
introduce the baseclean subcommand. It uses the new install log to compare to the files present in the basejail and deletes them. By default it does a dry run and deletes nothing, adding the -y parameter will delete files really.
Diffstat (limited to 'man8/ezjail-admin.8')
-rw-r--r-- | man8/ezjail-admin.8 | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/man8/ezjail-admin.8 b/man8/ezjail-admin.8 index 65c44bf..71ec14b 100644 --- a/man8/ezjail-admin.8 +++ b/man8/ezjail-admin.8 | |||
@@ -61,6 +61,9 @@ | |||
61 | .Op Fl s Ar sourcetree | sourceosversion | 61 | .Op Fl s Ar sourcetree | sourceosversion |
62 | .Op Fl p | 62 | .Op Fl p |
63 | .Fl b | Fl i | Fl P | Fl u | Fl U | 63 | .Fl b | Fl i | Fl P | Fl u | Fl U |
64 | .Nm | ||
65 | .Cm baseclean | ||
66 | .Op Fl y | ||
64 | .Sh DESCRIPTION | 67 | .Sh DESCRIPTION |
65 | The | 68 | The |
66 | .Nm | 69 | .Nm |
@@ -629,6 +632,17 @@ sub command to install the basejail from binary packages. | |||
629 | .Pp | 632 | .Pp |
630 | If the basejail is managed in its own ZFS filesystem, a snapshot of that | 633 | If the basejail is managed in its own ZFS filesystem, a snapshot of that |
631 | filesystem is taken first. | 634 | filesystem is taken first. |
635 | .Ss Nm Cm baseclean | ||
636 | Cleans ezjail's basejail from any unneeded files that might still be present | ||
637 | after an upgrade via | ||
638 | .Cm ezjail-admin install | ||
639 | .Fl K | ||
640 | .Pp | ||
641 | Defaults in a dry run which | ||
642 | will not delete anything, but shows all files that would be deleted. | ||
643 | .Pp | ||
644 | .Fl y | ||
645 | Really delete that files. | ||
632 | .Sh FILES | 646 | .Sh FILES |
633 | .Pa EZJAIL_PREFIX/bin/ezjail-admin | 647 | .Pa EZJAIL_PREFIX/bin/ezjail-admin |
634 | .br | 648 | .br |