Mercurial > hgrepos > FreeBSD > ports > sysutils > local-bsdtools
comparison sbin/ftjail @ 300:901b0e3c0dab
All manual pages for ftjail done
| author | Franz Glasner <fzglas.hg@dom66.de> |
|---|---|
| date | Sun, 18 Sep 2022 18:38:12 +0200 |
| parents | a452ace0175a |
| children | 23bcbbbd99ea |
comparison
equal
deleted
inserted
replaced
| 299:49890965e43c | 300:901b0e3c0dab |
|---|---|
| 26 | 26 |
| 27 -h Print this help message to stdout and exit | 27 -h Print this help message to stdout and exit |
| 28 | 28 |
| 29 COMMANDS: | 29 COMMANDS: |
| 30 | 30 |
| 31 datasets-tmpl [OPTIONS] PARENT-BASE PARENT-SKELETON NAME | 31 datasets-tmpl -L|-P PARENT-BASE PARENT-SKELETON NAME |
| 32 | 32 |
| 33 Create the ZFS template datasets, i.e. the ro base and the rw | 33 mount-tmpl -L|-P [-n] [-u] BASE-RO SKELETON-RW MOUNTPOINT |
| 34 skeleton to be used within thin jails jails | |
| 35 | |
| 36 PARENT-BASE and PARENT-SKELETON must exist already and NAME must | |
| 37 not exist. | |
| 38 | |
| 39 The datasets will not be mounted. | |
| 40 | |
| 41 -L Create dataset properties optimized for employing a | |
| 42 "skeleton" subdirectory | |
| 43 -P Create dataset properties optimized for direct mounts | |
| 44 of skeleton children over an already mounted base | |
| 45 | |
| 46 mount-tmpl [ OPTIONS ] BASE-RO SKELETON-RW MOUNTPOINT | |
| 47 | |
| 48 Canonically mount the RO base and the RW skeleton into MOUNTPOINT and | |
| 49 MOUNTPOINT/skeleton | |
| 50 | |
| 51 -L Mount the skeleton into a "skeleton" subdirectory | |
| 52 -P Mount the skeleton directly over the base | |
| 53 -n Do not really mount but show what would be mounted where | |
| 54 -u Alias of -n | |
| 55 | 34 |
| 56 umount-tmpl BASE-RO SKELETON-RW | 35 umount-tmpl BASE-RO SKELETON-RW |
| 57 | 36 |
| 58 Unmount mounted datasets BASE-RO and SKELETON-RW | |
| 59 | |
| 60 interlink-tmpl MOUNTPOINT | 37 interlink-tmpl MOUNTPOINT |
| 61 | |
| 62 Create symbolic links between the RO base and the RW skeleton. | |
| 63 Base and skeleton must be canonically mounted already. | |
| 64 | 38 |
| 65 populate -L|-P DIRECTORY BASETXZ | 39 populate -L|-P DIRECTORY BASETXZ |
| 66 | 40 |
| 67 snapshot-tmpl BASE-RO SKELETON-RW SNAPSHOT-NAME | 41 snapshot-tmpl BASE-RO SKELETON-RW SNAPSHOT-NAME |
| 68 | 42 |
