fstab
bill-auger редагує цю сторінку 7 роки тому
$ sudo cat /mnt/sdb1/etc/crypttab
# /etc/crypttab: mappings for encrypted partitions.
#
# Each mapped device will be created in /dev/mapper, so your /etc/fstab
# should use the /dev/mapper/<name> paths for encrypted devices.
#
# See crypttab(5) for the supported syntax.
#
# NOTE: Do not list your root (/) partition here, it must be set up
#       beforehand by the initramfs (/etc/mkinitcpio.conf). The same applies
#       to encrypted swap, which should be set up with mkinitcpio-openswap
#       for resume support.
#
# <name>               <device>                         <password> <options>
# luks-32f825f1-806b-4e18-9111-43095319a91c UUID=32f825f1-806b-4e18-9111-43095319a91c none luks


$ sudo cat /mnt/sdb1/etc/fstab
# /etc/fstab: static file system information.
#
# Use 'blkid' to print the universally unique identifier for a device; this may
# be used with UUID= as a more robust way to name devices that works even if
# disks are added and removed. See fstab(5).
#
# <file system>             <mount point>  <type>  <options>  <dump>  <pass>
/dev/mapper/luks-32f825f1-806b-4e18-9111-43095319a91c /              ext4    defaults,noatime 0 1