then the username's home directory is encrypted. This works when username is not logged in, so the partition is not mounted. Otherwise you can look at mount output.
In addition to the answer provided by enzotib, there's the possibility of full disk encryption as provided by the alternate installer. (Also called LUKS-crypt.)
You can use sudo dmsetup status to check if there are any LUKS-encrypted partitions. The output should look something like:
ubuntu-home: 0 195305472 linear
ubuntu-swap_1: 0 8364032 linear
sda5_crypt: 0 624637944 crypt
ubuntu-root: 0 48824320 linear
The line marked "crypt" shows that sda5 has been encrypted. You can see which filesystems are on that via the lvm tools.
In the case of LUKS encryption, the Disk Utility in Ubuntu will also show the encryption layer and the configuration in a graphical manner.
To check the encrypted swap status and cipher details, use this cmd:
$ sudo cryptsetup status /dev/mapper/cryptswap1
/dev/mapper/cryptswap1 is active and is in use.
type: PLAIN
cipher: aes-cbc-essiv:sha256
keysize: 256 bits
device: /dev/sda2
offset: 0 sectors
size: 8388608 sectors
mode: read/write
Your swap device name may be different, you can check the proper name by:
$ swapon -s
Filename Type Size Used Priority
/dev/mapper/cryptswap1 partition 4194300 0 -1
Regarding the standard home encryption provided by Ubuntu, you can
and if you get something like
then the username's home directory is encrypted. This works when username is not logged in, so the partition is not mounted. Otherwise you can look at
mount
output.About the swap, do
and should check for an output similar to
In addition to the answer provided by enzotib, there's the possibility of full disk encryption as provided by the alternate installer. (Also called LUKS-crypt.)
You can use
sudo dmsetup status
to check if there are any LUKS-encrypted partitions. The output should look something like:The line marked "crypt" shows that sda5 has been encrypted. You can see which filesystems are on that via the lvm tools.
In the case of LUKS encryption, the Disk Utility in Ubuntu will also show the encryption layer and the configuration in a graphical manner.
To check the encrypted swap status and cipher details, use this cmd:
Your swap device name may be different, you can check the proper name by: