diff options
author | Max Christian Pohle | 2020-07-12 13:14:56 +0200 |
---|---|---|
committer | Max Christian Pohle | 2020-07-12 13:14:56 +0200 |
commit | 56a52c740961dff05b618addae84bb7d35954390 (patch) | |
tree | db62d59c49537c086b892b5be26721d6080ef31a /README.md | |
parent | 249b040e48a9d08ae8c9419eaed1717e241d655d (diff) | |
download | zfs-bash-tools-56a52c740961dff05b618addae84bb7d35954390.tar.bz2 zfs-bash-tools-56a52c740961dff05b618addae84bb7d35954390.zip |
Improved README
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 28 |
1 files changed, 11 insertions, 17 deletions
@@ -11,23 +11,17 @@ | |||
11 | 11 | ||
12 | ### crypttab | 12 | ### crypttab |
13 | 13 | ||
14 | ``` | 14 | # /etc/crypttab example |
15 | # /etc/crypttab example | 15 | SomeDisk_SDSSDH0000G_123456789-part2 /dev/disk/by-id/SomeDisk_SDSSDH0000G_123456789-part2 /etc/.crypt/SomeDisk_SDSSDH0000G_123456789-part2.key noauto,x-systemd.device-timeout=5s |
16 | |||
17 | SomeDisk_SDSSDH0000G_123456789-part2 /dev/disk/by-id/SomeDisk_SDSSDH0000G_123456789-part2 /etc/.crypt/SomeDisk_SDSSDH0000G_123456789-part2.key noauto,x-systemd.device-timeout=5s | ||
18 | ``` | ||
19 | 16 | ||
20 | ### fstab | 17 | ### fstab |
21 | 18 | ||
22 | ``` | 19 | # /etc/fstab example |
23 | # /etc/fstab example | 20 | |
24 | 21 | # Note that the connector name has been removed from the mountpoint. | |
25 | # Note that the connector name has been removed from the mountpoint. | 22 | # The automount unit will be named after that and so must the zfs dataset |
26 | # The automount unit will be named after that and so must the zfs dataset | 23 | /dev/disk/by-id/ata-SomeDisk_SDSSDH0000G_123456789-part1 /media/SomeDisk_SDSSDH0000G_123456789-part1 auto defaults,noauto,ro,x-systemd.automount,x-mount.mkdir,x-systemd.idle-timeout=1min,x-systemd.device-timeout=5s 0 0 |
27 | /dev/disk/by-id/ata-SomeDisk_SDSSDH0000G_123456789-part1 /media/SomeDisk_SDSSDH0000G_123456789-part1 auto defaults,noauto,ro,x-systemd.automount,x-mount.mkdir,x-systemd.idle-timeout=1min,x-systemd.device-timeout=5s 0 0 | 24 | |
28 | 25 | # The following name takes the name we gave our disk in the crypttab (first column). | |
29 | # The following name takes the name we gave our disk in the crypttab (first column). | 26 | # Such devices are then available via /dev/mapper/: |
30 | # Such devices are then available via /dev/mapper/: | 27 | /dev/mapper/SomeDisk_SDSSDH0000G_123456789-part2 /media/SomeDisk_SDSSDH0000G_123456789-part2 auto defaults,noauto,ro,x-systemd.automount,x-mount.mkdir,x-systemd.idle-timeout=1min,x-systemd.device-timeout=5s 0 0 |
31 | /dev/mapper/SomeDisk_SDSSDH0000G_123456789-part2 /media/SomeDisk_SDSSDH0000G_123456789-part2 auto defaults,noauto,ro,x-systemd.automount,x-mount.mkdir,x-systemd.idle-timeout=1min,x-systemd.device-timeout=5s 0 0 | ||
32 | ``` | ||
33 | |||