Added a position shift for script arguments, simplified conditional case

This commit is contained in:
Alex Tavarez
2025-09-17 12:03:40 -04:00
parent 61051d7a3e
commit fb906b659c
2 changed files with 15 additions and 3 deletions

9
zfs/zfs-media-drive.help Normal file
View File

@@ -0,0 +1,9 @@
This script allows the creation of ZFS pool specifically for the purpose of media.
This pool is divided into datasets that allow useful storage management of that media.
-k Option to provide a custom path to the key for the encrypted filesystem. Equivalent to 'keylocation' option in ZFS pool creation.
-f Opton to provide a custom format for the aforementioned key. Equivalnt to 'keyformat' option in ZFS pool creation.
-c Option to specify custom ZFS compression algorithm for ZFS pool. Equivalent to 'compression' option in ZFS pool creation.
-v Option to specify custom ZFS version for compatibility purposes. Equivalent to 'compatibility' option in ZFS pool creation.
-p Option to provide a custom name for the created ZFS pool.
-d Specify the storage device, volume or partition to be given a pool.