You can use this same approach to create encrypted file systems with the loop device on a file.
可以按照相同的方法在文件上用循环设备创建加密的文件系统。
3
The typical solution to a race condition is to ensure that your program has exclusive rights to something while it's manipulating it, such as a file, device, object, or variable.