Re: loop device broken in 2.4.6-pre5

2001-06-27 Thread Jari Ruusu
Anton Altaparmakov wrote: > At 18:59 26/06/2001, Jari Ruusu wrote: > >[EMAIL PROTECTED] wrote: > > > From [EMAIL PROTECTED] Tue Jun 26 10:20:51 2001 > > > > > > This patch fixes the problem. Please consider applying. > > > > > > --- linux-2.4.6-pre5/drivers/block/loop.cSat Jun 23 0

Re: loop device broken in 2.4.6-pre5

2001-06-26 Thread Anton Altaparmakov
At 18:59 26/06/2001, Jari Ruusu wrote: >[EMAIL PROTECTED] wrote: > > From [EMAIL PROTECTED] Tue Jun 26 10:20:51 2001 > > > > This patch fixes the problem. Please consider applying. > > > > --- linux-2.4.6-pre5/drivers/block/loop.cSat Jun 23 07:52:39 2001 > > +++ linux/drivers/b

Re: loop device broken in 2.4.6-pre5

2001-06-26 Thread Jari Ruusu
[EMAIL PROTECTED] wrote: > From [EMAIL PROTECTED] Tue Jun 26 10:20:51 2001 > > This patch fixes the problem. Please consider applying. > > --- linux-2.4.6-pre5/drivers/block/loop.cSat Jun 23 07:52:39 2001 > +++ linux/drivers/block/loop.cTue Jun 26 09:21:47 2001 > @@ -

Re: loop device broken in 2.4.6-pre5

2001-06-26 Thread Andries . Brouwer
Rogier Wolff writes: >> But why 1024? >> (Or make the set blocksize ioctl also work on loop devices.) > I thought the change was a "quick hack" that would make stuff work > (page cache?) near the end of the file. That would mean that this kind > of "quick hack" won't work. I am not sure I can

Re: loop device broken in 2.4.6-pre5

2001-06-26 Thread Rogier Wolff
[EMAIL PROTECTED] wrote: > From [EMAIL PROTECTED] Tue Jun 26 10:20:51 2001 > > This patch fixes the problem. Please consider applying. > > --- linux-2.4.6-pre5/drivers/block/loop.cSat Jun 23 07:52:39 2001 > +++ linux/drivers/block/loop.cTue Jun 26 09:21:47 2001 > @@ -

Re: loop device broken in 2.4.6-pre5

2001-06-26 Thread Andries . Brouwer
From [EMAIL PROTECTED] Tue Jun 26 10:20:51 2001 This patch fixes the problem. Please consider applying. --- linux-2.4.6-pre5/drivers/block/loop.cSat Jun 23 07:52:39 2001 +++ linux/drivers/block/loop.cTue Jun 26 09:21:47 2001 @@ -653,7 +653,7 @@ bs = 0;

Re: loop device broken in 2.4.6-pre5

2001-06-26 Thread Jari Ruusu
This patch fixes the problem. Please consider applying. --- linux-2.4.6-pre5/drivers/block/loop.c Sat Jun 23 07:52:39 2001 +++ linux/drivers/block/loop.c Tue Jun 26 09:21:47 2001 @@ -653,7 +653,7 @@ bs = 0; if (blksize_size[MAJOR(lo_device)]) bs = blksize_si

Re: loop device broken in 2.4.6-pre5

2001-06-25 Thread Rogier Wolff
[EMAIL PROTECTED] wrote: > From: Jari Ruusu <[EMAIL PROTECTED]> > > File backed loop device on 4k block size ext2 filesystem: > > # dd if=/dev/zero of=file1 bs=1024 count=10 > 10+0 records in > 10+0 records out > # losetup /dev/loop0 file1 > # dd if=/dev/zero of=/dev/

Re: loop device broken in 2.4.6-pre5

2001-06-22 Thread Jari Ruusu
[EMAIL PROTECTED] wrote: > From: Jari Ruusu <[EMAIL PROTECTED]> > > File backed loop device on 4k block size ext2 filesystem: > > # dd if=/dev/zero of=file1 bs=1024 count=10 > 10+0 records in > 10+0 records out > # losetup /dev/loop0 file1 > # dd if=/dev/zero of=/dev/

Re: loop device broken in 2.4.6-pre5

2001-06-21 Thread Andries . Brouwer
From: Jari Ruusu <[EMAIL PROTECTED]> File backed loop device on 4k block size ext2 filesystem: # dd if=/dev/zero of=file1 bs=1024 count=10 10+0 records in 10+0 records out # losetup /dev/loop0 file1 # dd if=/dev/zero of=/dev/loop0 bs=1024 count=10 conv=notrunc dd:

loop device broken in 2.4.6-pre5

2001-06-21 Thread Jari Ruusu
File backed loop device on 4k block size ext2 filesystem: debian:/root # dd if=/dev/zero of=file1 bs=1024 count=10 10+0 records in 10+0 records out debian:/root # losetup /dev/loop0 file1 debian:/root # dd if=/dev/zero of=/dev/loop0 bs=1024 count=10 conv=notrunc dd: /dev/loop0: No space left on d