-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathcrypttab.example
More file actions
17 lines (16 loc) · 809 Bytes
/
crypttab.example
File metadata and controls
17 lines (16 loc) · 809 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
# crypttab: mappings for encrypted volumes
#
# see crypttab(5) for the full details
#
# NAME - name of volume, /dev/mapper/NAME
# DEVICE - absolute path, UUID, PARTUUID, or LABEL of device or file
# KEY - -|<file>|<device>[[:fstype]:<file>]
# OPTIONS - options for cryptsetup, 'swap' runs mkswap after mapping,
# 'noauto' prevents automatic mapping
#NAME DEVICE KEY OPTIONS
#root /dev/sda1
#usr /dev/sda2 - allow-discards
#home /dev/sdb1 LABEL=usbdrv:/key
#swap /dev/sdb2 /dev/urandom swap,cipher=aes-cbc-essiv:sha256,size=128
#data UUID=82d4f2... - noauto
#backup /home/backup LABEL=usbdrv2 noauto,keyfile-offset=500,keyfile-size=1024