其中加密选项有如下几种方式: NONE use no encryption (default). XOR use a simple XOR encryption. DES use DES encryption.
DES encryption is only available if the optional DES package has been added to the kernel. DES encryption uses an additional start value that is used to protect passwords against dictionary attacks.
默认情况下系统支持的loop device是8个
1 2 3 4 5 6 7 8 9
[root@vm11g dev]# ls -ltr /dev/loop* brw-r----- 1 root disk 7, 0 Jul 19 2009 /dev/loop0 brw-r----- 1 root disk 7, 1 Jul 19 2009 /dev/loop1 brw-r----- 1 root disk 7, 2 Jul 19 2009 /dev/loop2 brw-r----- 1 root disk 7, 3 Jul 19 2009 /dev/loop3 brw-r----- 1 root disk 7, 4 Jul 19 2009 /dev/loop4 brw-r----- 1 root disk 7, 5 Jul 19 2009 /dev/loop5 brw-r----- 1 root disk 7, 6 Jul 19 2009 /dev/loop6 brw-r----- 1 root disk 7, 7 Jul 19 2009 /dev/loop7
如果需要超过8个loop device,那么使用losetup命令的时候可能会遇到类似的错误 ‘no such device’,这是因为超过了可用