Mailinglist Archive: opensuse (686 mails)

< Previous Next >
Re: [opensuse] Problem mounting an iso file
  • From: Per Jessen <per@xxxxxxxxxxxx>
  • Date: Mon, 01 Jul 2013 08:54:42 +0200
  • Message-id: <kqr93i$ba7$1@saturn.local.net>
Patrick Shanahan wrote:

* John Andersen <jsamyth@xxxxxxxxx> [06-30-13 21:57]:
[...]
No, wait, I was doing that as user.
When I do it as root I see all the /dev/loop0 --->7
and the mount command works for me as root.

I have Tumbleweed and only see:
crw------- 1 root root 10, 237 Jun 29 00:07 /dev/loop-control

Is it possible that no loop device exists until it is needed,

Yes, the 'loop' module isn't loaded until it is needed.

Indeed, something of the above does happen. As root I loop mounted an
iso from disk to an existing directory and the following appears:

crw------- 1 root root 10, 237 Jun 30 23:09 /dev/loop-control
brw-rw---- 1 root disk 7, 0 Jun 30 23:09 /dev/loop0
brw-rw---- 1 root disk 7, 1 Jun 30 23:09 /dev/loop1
brw-rw---- 1 root disk 7, 2 Jun 30 23:09 /dev/loop2
brw-rw---- 1 root disk 7, 3 Jun 30 23:09 /dev/loop3
brw-rw---- 1 root disk 7, 4 Jun 30 23:09 /dev/loop4
brw-rw---- 1 root disk 7, 5 Jun 30 23:09 /dev/loop5
brw-rw---- 1 root disk 7, 6 Jun 30 23:09 /dev/loop6
brw-rw---- 1 root disk 7, 7 Jun 30 23:09 /dev/loop7

and they persist after umounting the iso, possibly until the next
reboot.

Or until you unload the 'loop' module.



--
Per Jessen, Zürich (15.2°C)
http://www.dns24.ch/ - free DNS hosting, made in Switzerland.

--
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: opensuse+owner@xxxxxxxxxxxx

< Previous Next >
List Navigation