- 论坛徽章:
- 0
|
[问题]mount的loop什么意思?
\r\nTHE LOOP DEVICE\r\n One further possible type is a mount via the loop device. For example,\r\n the command\r\n\r\n mount /tmp/fdimage /mnt -t msdos -o loop=/dev/loop3,blocksize=1024\r\n\r\n will set up the loop device /dev/loop3 to correspond to the file\r\n /tmp/fdimage, and then mount this device on /mnt. This type of mount\r\n knows about three options, namely loop, offset and encryption, that are\r\n really options to losetup(. If no explicit loop device is mentioned\r\n (but just an option `-o loop\' is given), then mount will try to find\r\n some unused loop device and use that. If you are not so unwise as to\r\n make /etc/mtab a symbolic link to /proc/mounts then any loop device\r\n allocated by mount will be freed by umount. You can also free a loop\r\n device by hand, using `losetup -d\', see losetup(.\r\n |
|