Create and use encrypted partitions in Linux: use luks to format the target device. in this case, you must set an initial password (note: YES must be entered in uppercase and must be in uppercase) cryptsetupluksFormat/dev/sdb1 open (decrypt) the encrypted partition: at this time, according to the specified name in/d... create and use encrypted partitions in Linux: use luks to format the target device. in this case, you must set an initial password (note: YES must be entered in uppercase and must be in uppercase) cryptsetup luksFormat/dev/sdb1 open (decrypt) the encrypted partition: the actually used luks device will be created under/dev/mapper according to the specified name, which is also the final device,
It can be understood as the encryption partition ing device cryptsetup luksOpen/dev/sdb1 svn_data www.2cto.com disable (lock) encrypted partition: disconnects the encrypted partition access link cryptsetup luksClose svn_data usage: after luksOpen, you can use a virtual svn_data partition like a normal device, such as formatting, mounting ...... Note: You need to open the partition before each use. after use, you need to disable the partition. We do not recommend that you do not need to mount the system automatically after the system is restarted.
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.