Re: mount -o loop

Peter T. Breuer (ptb@it.uc3m.es)
Thu, 16 Apr 1998 16:46:04 +0200 (MET DST)


"A month of sundays ago Riley Williams wrote:"
>
> > Does anyone have loopback mounts working right in late 2.0.x
> > kernels?
>
> I have one in use on my system, 2.0.33 kernel under RH 5.0...

OK. I localized the problem to mounting fat12 (i.e. floppy images) by
loopback. Can you try that please? I'd like to know if 2.0.33 "fixes" it
:-) Or if it's meant to be that way.

> > This is just a prober before I start looking. I have mount 2.5m and
> > libc 5.4.38. The RH 4.2 system I tried had what you'd expect.
>
> Not sure what I should've done, but I compiled a kernel with the

Yeah, that was all fine.

> > I managed to just about run mk2fs on a looped file, but mkdosfs
> > refused outright (no geometry). I couldn't mount either.
>
> I've never been able to get mkdosfs to initialise a file for loopback
> either, but mke2fs has no problems - it just asks "Not a device file,
> use anyway?" and when I say "y" it goes ahead and sets it up...

Yes, I was wrong. mke2fs works fine. mkdosfs doesn't. losetup
/dev/loop0 foo; mount -t msdos /dev/loop0 /mnt hangs (should one use "-o
loop" here? I can't recall).

> Best wishes from Riley.

Thanks for the response.

Peter

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu