LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Security (http://www.linuxquestions.org/questions/linux-security-4/)
-   -   loop: can't open device /dev/loop0: No such device or address (http://www.linuxquestions.org/questions/linux-security-4/loop-cant-open-device-dev-loop0-no-such-device-or-address-191009/)

miaviator278 06-08-2004 03:30 AM

loop: can't open device /dev/loop0: No such device or address
 
I'm using slackware 9.1 with kernel 2.6.6 i have loop and crypto loop supported in the kernel, as well as some ciphers, when i checked /dev/ i have 16 loop devices present. but anything i try to use with losetup, gives me.


loop: can't open device /dev/loop0: No such device or address

i've loop and crypto loop both as modules and built in.. i'll keep trying, if anyone has any insight, please direct me to the right place..

THX

ilikejam 06-08-2004 05:55 AM

Try it as root. If that works you could change the permissions on the loop devices. I don't know what the implications are for security if you do this though.

Dave

miaviator278 06-09-2004 08:15 AM

Already Tried It.
 
I've tried it as root and a normal user. the loop devices exist. but don't work, leads me to believe theres something wrong in the kernel, i've read 25 different crypto howtos each of which assumes that these loop devices do work,... as i said i tried modules and built in but can't seem to have any luck..


Thx..

ilikejam 06-09-2004 09:24 PM

Can you mount ISO images on loop devices?
e.g.
mount -t iso9660 -o loop image.iso /mnt/loop


All times are GMT -5. The time now is 01:54 PM.