[lkml]   [2010]   [Mar]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [PATCH 2/2] fs/partition/msdos: Fix unusable extended partition for > 512B sector
On 03/11/2010 01:25 PM, Daniel Taylor wrote:
> I have not yet tried booting from one of these disks.
> They are in USB-attached enclosures,


> attached well after boot, so the
> bootloader has never seen them.

Wrong. A lot of BIOSes will attempt to boot from USB storage. Worse, a
fair number of BIOSes will hang during startup if a USB storage device
that confuses them -- even if not the primary boot device.

> They simply refuse to mount to a running
> Linux system because, when the storage for partition size and start was
> expanded to 64-bit, no one bothered to fix the intermediate storage in
> msdos.c, so the kernel cannot locate the start nor figure the size of
> the partitions.
> Logically, this patch is not complicated. The data types in msdos.c
> are flat-out wrong, given that the real stored data is of type sector_t.
> The intermediate variables should not be u32.

I would consider this a bugfix. As such, it should be pushed outside
the merge window.


 \ /
  Last update: 2010-03-11 23:01    [W:0.065 / U:0.092 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site