lkml.org 
[lkml]   [2002]   [Sep]   [1]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: 2.5.33-bk testing
On Sun, 1 Sep 2002, Linus Torvalds wrote:

> It looks like what your fix does is to force a 512-byte blocksize on the
> floppy.
>
> Which implies to me that the floppy driver is broken for other blocksizes.
>
> Does your patch still leave the floppy driver broken for something like a
> mounted minix or ext2 filesystem? Those have 1kB blocksizes, and will set
> it to that. If the non-512B blocksize in the floppy driver is broken, then
> such mounted filesystems should not work reliably either.

You are correct. Making an ext2 filesystem on the floppy is indeed
broken. Attempting to read/write from the resulting filesystem results in
the following type errors:

Sep 1 13:18:23 dad kernel: EXT2-fs error (device fd(2,0)):
ext2_check_page: bad entry in directory #11: unaligned directory entry -
offset=7168, inode=1431634935, rec_len=50, name_len=0
Sep 1 13:20:20 dad kernel: EXT2-fs error (device fd(2,0)):
ext2_check_page: bad entry in directory #11: rec_len is smaller than
minimal - offset=7168, inode=0, rec_len=0, name_len=0
Sep 1 13:22:29 dad kernel: EXT2-fs warning: mounting fs with errors,
running e2fsck is recommended
Sep 1 13:23:09 dad kernel: EXT2-fs error (device fd(2,0)):
ext2_check_page: bad entry in directory #11: directory entry across
blocks - offset=7168, inode=861697588, rec_len=12592, name_len=119
Sep 1 13:24:38 dad kernel: EXT2-fs error (device fd(2,0)):
ext2_check_page: bad entry in directory #11: rec_len is smaller than
minimal - offset=7168, inode=0, rec_len=0, name_len=0

Putting a text file on the floppy shows 512 byte chunks of the file being
moved around depending on how many times the file is read/written.

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

\
 
 \ /
  Last update: 2005-03-22 13:28    [W:0.043 / U:0.720 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site