RE: [PATCH 2/2] fs/partition/msdos: Fix unusable extended partition for > 512B sector

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Daniel Taylor
Date: Thursday, March 11, 2010 - 2:25 pm

> -----Original Message-----

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.  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.

For users of small disks, that are not shared with Windows XP, the patch
is totally innocuous.  It does not diminish any existing working behavior,
for anyone, nor change any API, so I do not understand the resistance to
using it.

--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH] msdos: add support for large disks, Daniel Taylor, (Wed Feb 24, 8:17 pm)
Re: [PATCH] msdos: add support for large disks, Andrew Morton, (Mon Mar 1, 3:13 pm)
Re: [PATCH] msdos: add support for large disks, OGAWA Hirofumi, (Wed Mar 3, 7:02 am)
RE: [PATCH] msdos: add support for large disks, Daniel Taylor, (Wed Mar 3, 3:50 pm)
Re: [PATCH] msdos: add support for large disks, H. Peter Anvin, (Wed Mar 3, 4:05 pm)
RE: [PATCH] msdos: add support for large disks, Daniel Taylor, (Wed Mar 3, 4:24 pm)
Re: [PATCH] msdos: add support for large disks, H. Peter Anvin, (Wed Mar 3, 5:17 pm)
Re: [PATCH] msdos: add support for large disks, OGAWA Hirofumi, (Thu Mar 4, 2:18 am)
Re: [PATCH] msdos: add support for large disks, H. Peter Anvin, (Thu Mar 4, 8:29 am)
Re: [PATCH] msdos: add support for large disks, OGAWA Hirofumi, (Sun Mar 7, 3:59 am)
Re: [PATCH] msdos: add support for large disks, H. Peter Anvin, (Sun Mar 7, 4:03 pm)
Re: [PATCH] msdos: add support for large disks, OGAWA Hirofumi, (Sun Mar 7, 5:09 pm)
Re: [PATCH] msdos: add support for large disks, H. Peter Anvin, (Sun Mar 7, 5:12 pm)
Re: [PATCH] msdos: add support for large disks, OGAWA Hirofumi, (Mon Mar 8, 2:36 am)
RE: [PATCH 2/2] fs/partition/msdos: Fix unusable extended ..., Daniel Taylor, (Thu Mar 11, 2:25 pm)