On 1 Aug 02 at 19:05, Alexander Viro wrote:
>
> On Fri, 2 Aug 2002, Petr Vandrovec wrote:
>
> > Normal DOS partition, with 512 byte block size, as this is 512B block
> > device, at least I believed to it until now. As start=63, it apparently
> > also handles 1024B requests on odd address (I believe that sfdisk -d dumps
> > start 0-based).
> >
> > # partition table of /dev/hdc
> > unit: sectors
> >
> > /dev/hdc1 : start= 63, size=12685617, Id=83, bootable
>
> Blacklist time. That, or decrementing size to 12675616, depending on whether
> you want that last half-Kb or not.
Last half-KB is useless, as filesystem on it is ext2 with 4KB blocks...
Only problem is that previously stable system was now dying in e2fsck. I'll
try to invent some solution before 2.6 ;-)
Maybe fix to e2fsck would be sufficient, I always thought that it reads disk
in blocksize (4KB) chunks, so disk will not see 512B request. But
apparently it either reads partition in 512B chunks, or block layer does not
do merging correctly.
Petr Vandrovec
vandrove@vc.cvut.cz
-
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/
This archive was generated by hypermail 2b29 : Wed Aug 07 2002 - 22:00:17 EST