[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [SLUG] mounting off a loop device in 2.2.12



> this is the error i am getting when i try to mount a iso image.
> 
> #mount -t vfat -o loop /home/schakrab/shuv.iso /mnt/cdrom
> ioctl: LOOP_SET_FD: Invalid argument

Firstly, the filesystem type wouldn't be vfat, it'd be iso9660.

What I usually do is:

losetup /dev/loop0 /home/schakrab/shuv.iso
mount /dev/loop0 /mnt/cdrom

and when you're finished,

umount /mnt/cdrom
losetup -d /dev/loop0
--
SLUG - Sydney Linux Users Group Mailing List - http://www.slug.org.au
To unsubscribe send email to slug-request@nospam.slug.org.au with
unsubscribe in the text