把文件模拟成设备!(正如Linux系统把设备当做文件处理)

$ losetup -f /XXXX/disk.img

$ losetup -a (查看把文件映射到了哪个loop设备)


$ losetup -d /dev/loop0