Questions tagged «loop-device»

循环设备允许将任何文件挂载为文件系统映像。不要与网络中的环回接口混淆。不要将这个标签用于有关“ for-loops”的问题(请改用“ for”标签)。

3
回路设备的源路径
出于好奇,我想知道是否可以找到挂载分区的来源? 例如,输出df -h为: / dev / loop1 3M 3M 0 100%/ media / loop 从该输出中,我知道在处安装了3M的环路设备/media/loop,但是我不知道确定设备的确切位置/dev/loop1。 root@SHW:~# mount -o loop /home/SHW/Downloads/TinyCore-current.iso /mnt/loop mount: block device /home/SHW/Downloads/TinyCore-current.iso is write-protected, mounting read-only root@SHW:~# tail -n1 /proc/mounts /dev/loop1 /mnt/loop iso9660 ro,relatime 0 0 我如何找出/dev/loop1不知道是谁安装了这些分区的f 的绝对路径?(在这种情况下,路径为/home/SHW/Downloads/TinyCore-current.iso。)
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.