public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: OGAWA Hirofumi <hirofumi@mail.parknet.co.jp>
To: "Daniel Taylor" <Daniel.Taylor@wdc.com>
Cc: "Andrew Morton" <akpm@linux-foundation.org>,
	"H. Peter Anvin" <hpa@zytor.com>, <linux-kernel@vger.kernel.org>
Subject: Re: [PATCH 2/2] fs/partition/msdos: Fix unusable extended partition for > 512B sector
Date: Fri, 12 Mar 2010 07:17:36 +0900	[thread overview]
Message-ID: <87vdd2fqpr.fsf@devron.myhome.or.jp> (raw)
In-Reply-To: <3E0C3AE547FA504DA5E89EA5A24AC85803E2BD8E@wdscexbe01.sc.wdc.com> (Daniel Taylor's message of "Thu, 11 Mar 2010 13:25:55 -0800")

"Daniel Taylor" <Daniel.Taylor@wdc.com> writes:

>> Of course, if we can fix, it's better.
>> 
>> However, probably, users of this patch would be only boot loader,
>> because this is a first sector on extended-partition itself, not
>> logical-partitions in extended-partition.
>
> 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.

Those are all about the first (1/2) patch, not this second patch.
Personally, I'm thinking we should apply the first patch as bugfix.

I'm talking about only second (2/2) patch in here.

Thanks.
-- 
OGAWA Hirofumi <hirofumi@mail.parknet.co.jp>

  parent reply	other threads:[~2010-03-11 22:17 UTC|newest]

Thread overview: 27+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-02-25  3:17 [PATCH] msdos: add support for large disks Daniel Taylor
2010-03-01 22:13 ` Andrew Morton
2010-03-03 14:02   ` OGAWA Hirofumi
2010-03-03 22:50     ` Daniel Taylor
2010-03-03 23:05       ` H. Peter Anvin
2010-03-03 23:24         ` Daniel Taylor
2010-03-04  0:17           ` H. Peter Anvin
2010-03-04  9:18           ` OGAWA Hirofumi
2010-03-04 15:29             ` H. Peter Anvin
2010-03-07 10:59     ` OGAWA Hirofumi
2010-03-07 23:03       ` H. Peter Anvin
2010-03-08  0:09         ` OGAWA Hirofumi
2010-03-08  0:12           ` H. Peter Anvin
2010-03-08  9:36             ` OGAWA Hirofumi
2010-03-10 15:48               ` [PATCH 1/2] fs/partitions/msdos: " OGAWA Hirofumi
2010-03-10 15:51                 ` [PATCH 2/2] fs/partition/msdos: Fix unusable extended partition for > 512B sector OGAWA Hirofumi
2010-03-10 23:16                   ` Daniel Taylor
2010-03-11 11:57                     ` OGAWA Hirofumi
2010-03-11 21:25                       ` Daniel Taylor
2010-03-11 21:58                         ` H. Peter Anvin
2010-03-11 22:06                           ` Daniel Taylor
2010-03-11 22:09                             ` H. Peter Anvin
2010-03-12 23:44                               ` Andrew Morton
2010-03-11 22:17                         ` OGAWA Hirofumi [this message]
2010-03-11 22:27                           ` H. Peter Anvin
2010-03-11 22:40                             ` OGAWA Hirofumi
2010-03-10 23:12                 ` [PATCH 1/2] fs/partitions/msdos: add support for large disks Daniel Taylor

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87vdd2fqpr.fsf@devron.myhome.or.jp \
    --to=hirofumi@mail.parknet.co.jp \
    --cc=Daniel.Taylor@wdc.com \
    --cc=akpm@linux-foundation.org \
    --cc=hpa@zytor.com \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox