mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: OGAWA Hirofumi <hirofumi@mail.parknet.co.jp>
To: NamJae Jeon <linkinjeon@gmail.com>
Cc: linux-kernel@vger.kernel.org
Subject: Re: FAT : FAT16 support maximum 4GB file/vol size like WinXP or 7.
Date: Tue, 26 Jul 2011 05:19:41 +0900	[thread overview]
Message-ID: <87k4b6kt9e.fsf@devron.myhome.or.jp> (raw)
In-Reply-To: <CAKYAXd-Tg7hXy3zHRtXotDq3wYV8f=v3Py65xn5ccg6KU2gXbw@mail.gmail.com> (NamJae Jeon's message of "Sun, 24 Jul 2011 22:08:45 +0900")

NamJae Jeon <linkinjeon@gmail.com> writes:

> Hello Hirofumi
>
> Win NT/XP/7 increased the maximum cluster size to 64KB, and file/vol
> size increased 4GB also.
>
> Although increasing , the file size of  linux FAT is still limited at 2GB.
>
> I found that it is limited by sb->s_maxbytes(0x7fffffff) when
> partition is formatted by FAT16.

Yes. Now, only FAT32 allows it.

> I think that sb->s_maxbytes in fill_super should be set to 0xffffffff
> like Fat32.
>
> I want to know your opinion.

In my knowledge, Windows was limiting it as 2GB intentionally for
compatibility reason.

If Windows changed mind, I think it's good that we allow it too for 64KB
cluster. BTW, you can select FAT16 with 64KB on Windows?

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

  reply	other threads:[~2011-07-25 20:19 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-07-24 13:08 NamJae Jeon
2011-07-25 20:19 ` OGAWA Hirofumi [this message]
     [not found]   ` <CAKYAXd-KftOw-YMoA82-75Yp6FNYAXmna+5Fxe0JCMmUB3+-bg@mail.gmail.com>
2011-07-25 22:32     ` NamJae Jeon

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=87k4b6kt9e.fsf@devron.myhome.or.jp \
    --to=hirofumi@mail.parknet.co.jp \
    --cc=linkinjeon@gmail.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

Powered by JetHome