Re: Loop device and smbmount: I/O error

From: Jari Ruusu
Date: Fri Sep 19 2003 - 10:25:26 EST


Kovacs Gabor wrote:
> I've tried to mount an ext2 filesystem image (ca. 1GB) stored on a WIN
> computer via the loop device under 2.4.22:
>
> (Initially the file scratch2.img is filled with 0s.)
>
> #smbmount //win02/scratch /pro -o username=sambadisk,workgroup=MYDOMAIN
> #losetup /dev/loop0 /pro/scratch2.img
> #mke2fs /dev/loop0
> #mount /dev/loop0 /scratch -t ext2
>
> #cp -r linux-2.4.22 /scratch
> cp: cannot create directory `/scratch/linux-2.4.22/drivers/video/sis':
> Input/output error
> cp: cannot create directory `/scratch/linux-2.4.22/drivers/video/aty':
> Input/output error

This bug should be fixed in loop-AES version of loop, here:

http://loop-aes.sourceforge.net/loop-AES/loop-AES-v1.7e.tar.bz2

Can you try again with that version?

Regards,
Jari Ruusu <jari.ruusu@xxxxxxxxxx>

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/