> > I just had mount create a large number of loop devices before I 
> > interrupted it.
> > The reason is that the loop module is not loaded in the kernel, but it 
> > would be better to have an error message instead.
> > ...
> > 
> > I don't know whether there are other reasons why open /dev/loop might 
> > return ENXIO, but if not, then set_loop should abort when it receives 
> > that error.
> 
> According to libbb/loop.c, it also returns ENXIO to mean "this loop is
> free". So can't exactly abort for that.
> 
> I recommend you disable ENABLE_FEATURE_MOUNT_LOOP_CREATE if you don't
> want the devices created.

My mistake, the ENXIO was from ioctl not open. Checking for it in open
should be ok.

- Lauri

-- 
http://www.fastmail.fm - IMAP accessible web-mail

_______________________________________________
busybox mailing list
busybox@busybox.net
http://lists.busybox.net/mailman/listinfo/busybox

Reply via email to