cat /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>
proc /proc proc nodev,noexec,nosuid 0 0
# / was on /dev/sda1 during installation
UUID=bb0ce7e2-2c02-4e90-9fc7-c61ad3f7fe22 / ext4 errors=remount-ro 0 1
# swap was on /dev/sda5 during installation
#UUID=03876e10-2abe-4871-bee1-44f1bf8b339a none swap sw 0 0
/dev/mapper/cryptswap1 none swap sw 0 0
swapon -s
Filename Type Size Used Priority
/dev/mapper/cryptswap1 partition 1046524 968 -1
Hello,
I can still simulate this in Precise.
Info:
cat /etc/crypttab aes-cbc- essiv:sha256
# <target name> <source device> <key file> <options>
cryptswap1 /dev/sda5 /dev/urandom swap,cipher=
cat /etc/fstab 2c02-4e90- 9fc7-c61ad3f7fe 22 / ext4 errors=remount-ro 0 1 2abe-4871- bee1-44f1bf8b33 9a none swap sw 0 0 cryptswap1 none swap sw 0 0
# /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>
proc /proc proc nodev,noexec,nosuid 0 0
# / was on /dev/sda1 during installation
UUID=bb0ce7e2-
# swap was on /dev/sda5 during installation
#UUID=03876e10-
/dev/mapper/
swapon -s cryptswap1 partition 1046524 968 -1
Filename Type Size Used Priority
/dev/mapper/
free -m
total used free shared buffers cached
Mem: 1001 836 164 0 99 319
-/+ buffers/cache: 418 583
Swap: 1021 0 1021