lkml.org 
[lkml]   [2011]   [Jul]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: FAT : FAT16 support maximum 4GB file/vol size like WinXP or 7.
Date
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>


\
 
 \ /
  Last update: 2011-07-25 22:23    [W:0.037 / U:0.008 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site