Skip to main content

Mount iso -o loop select loop device [Resolved]

I have a bash script where I mount an ISO to loop devices:

mount -o loop my.iso /tmp/foo

And it happens that at the same time in my OS (Linux Mint 19) I have an ISO image mounted, using the GUI option for this action.

So I get the error

mount: /tmp/foo: /dev/loop0 ya está montado o el punto de montaje está ocupado.

(...loop0 mount point busy...)

Question:

Can I select what loop can I mount my ISO, something like:

mount - loop3 my.iso /tmp/foo

so I don't need to umount the previous ISO?


Question Credit: guillermo chamorro
Question Reference
Asked May 24, 2019
Posted Under: Unix Linux
5 views
1 Answers

Your Answer
D:\Adnan\Candoerz\CandoProject\vQA