How to create loop devices?

Alexandre Touret atouret.nospam at free.fr
Fri Oct 6 09:07:33 UTC 2006


Ali Milis wrote:
> Hi,
>
> May I know how to create loop devices?
> They used to be called /dev/loop0, /dev/loop1, etc.
> Now they are /dev/loop/0, /dev/loop/1, etc.
>
> However, "losetup" still generates "/dev/loopX"s.
>
> Any clue?
>
> thank you,
>
>   
Hi
You should use this following command for a cd
$sudo mount -t iso9660 pathtotheiso -o loop thedirectory
The mount utility creates a device as /dev/loopX

Unfortunately, I don t know losetup utility

Alexandre







More information about the ubuntu-users mailing list