lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date:	Tue, 26 Jul 2011 05:19:41 +0900
From:	OGAWA Hirofumi <hirofumi@...l.parknet.co.jp>
To:	NamJae Jeon <linkinjeon@...il.com>
Cc:	linux-kernel@...r.kernel.org
Subject: Re: FAT : FAT16 support maximum 4GB file/vol size like WinXP or 7.

NamJae Jeon <linkinjeon@...il.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@...l.parknet.co.jp>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ