ls /dev/loop*
/dev/loop0 /dev/loop2 /dev/loop4 /dev/loop6
/dev/loop1 /dev/loop3 /dev/loop5 /dev/loop7
... ...
分类: LINUX
2011-01-26 12:40:29
引用ls /dev/loop*
/dev/loop0 /dev/loop2 /dev/loop4 /dev/loop6
/dev/loop1 /dev/loop3 /dev/loop5 /dev/loop7
... ...
引用losetup /dev/loop0 disk.img #使磁盘镜像文件与循环设备连结起来
mount /dev/loop0 /home/groad/disk_test #将循环设备 mount 到目录 disk_test 下
引用mount -t minix -o loop ./disk.img ./disk_test
引用linux-z13e:/usr/local/share/bochs/Linux011/temp # mount -t minix /dev/loop1 ./test_dir/
mount: /dev/loop1 already mounted or ./test_dir/ busy
mount: according to mtab, /dev/loop1 is already mounted on /usr/local/share/bochs/Linux011/temp/test_dir