Questions tagged «loop-device»

2
Linux容器中的循环设备?
我试图在容器内使用循环设备来挂载一些图像文件: > sudo losetup /dev/loop0 test.img losetup: /dev/loop0: failed to set up loop device: No such file or directory /dev/loop0 确实不存在,并且 > sudo mknod /dev/loop0 b 7 0 mknod: ‘/dev/loop0’: Operation not permitted 我该如何工作?容器是否需要一些可能没有的cgroup权限?
By using our site, you acknowledge that you have read and understand our Cookie Policy and Privacy Policy.
Licensed under cc by-sa 3.0 with attribution required.