Re: /dev/loop* devices not appearing in /dev (at least since2.6.22-rc3*)

From: Paolo Ornati
Date: Thu Jun 14 2007 - 08:53:03 EST

On Thu, 14 Jun 2007 13:37:32 +0200
Matthew <jackdachef@xxxxxxxxx> wrote:

> now back to topic:
> /dev/loop* seems to be broken since (at least) 2.6.22-rc3, since that
> was the first kernel I tried of the 2.6.22-rc* series
> ls -l /dev/ | grep loop
> shows no output

Yes, now the "loop" devices are dynamically allocated.... a patch to
provide the 8 "static allocated" loop devices is already in current git
(post -rc4, will be in -rc5).

commit a47653fc2643cf61bcabba8c9ff5c45517c089ba
Author: Ken Chen <kenchen@xxxxxxxxxx>
Date: Fri Jun 8 13:46:44 2007 -0700

loop: preallocate eight loop devices

The kernel on-demand loop device instantiation breaks several user space
tools as the tools are not ready to cope with the "on-demand feature". Fix
it by instantiate default 8 loop devices and also reinstate max_loop module

Paolo Ornati
Linux 2.6.22-rc4-cfs-v16-g47932c49 on x86_64
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at