~alpine/users

1

mount commands keep failing with error "failed: Invalid argument"

Banibrata Dutta <banibrata.dutta@gmail.com>
Details
Message ID
<CALODqppd=7Bbqtuq988ZHzb_9iWqdwVGR7rQGYuTUyzPCzHQ7Q@mail.gmail.com>
DKIM signature
missing
Download raw message
What I am trying to do is mount an ISO file as a loop device on /media/iso
as mountpoint.
For this, first I tried the shorter/simpler command I was familiar with
i.e.:

$ sudo mount -o loop /tmp/test.iso /media/iso

which failed with the error "failed: Invalid argument"

Then I followed the procedure mentioned here:
https://sick.codes/how-to-mount-devices-inside-docker-containers-losetup-loopback-iso-files/
 i.e.

$ sudo losetup -f
$ sudo losetup /dev/loop /tmp/test.iso
$ sudo /dev/loop0 /media/iso

but again, get the same error "failed: Invalid argument".

What could be the issue here ?
Details
Message ID
<YmW9P/UtqCrEnKrd@core.envs.net>
In-Reply-To
<CALODqppd=7Bbqtuq988ZHzb_9iWqdwVGR7rQGYuTUyzPCzHQ7Q@mail.gmail.com> (view parent)
DKIM signature
missing
Download raw message
Hey,

Try "sudo mount -t iso9660 test.iso /mnt"
Reply to thread Export thread (mbox)