Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756199AbWKWLiy (ORCPT ); Thu, 23 Nov 2006 06:38:54 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1756284AbWKWLiy (ORCPT ); Thu, 23 Nov 2006 06:38:54 -0500 Received: from mail.parknet.jp ([210.171.160.80]:23048 "EHLO parknet.jp") by vger.kernel.org with ESMTP id S1756199AbWKWLix (ORCPT ); Thu, 23 Nov 2006 06:38:53 -0500 X-AuthUser: hirofumi@parknet.jp To: Sergio Monteiro Basto Cc: The Peach , linux-kernel@vger.kernel.org Subject: Re: [OT] Re: bug? VFAT copy problem References: <20061120164209.04417252@localhost> <877ixqhvlw.fsf@duaron.myhome.or.jp> <20061120184912.5e1b1cac@localhost> <87mz6kajks.fsf@duaron.myhome.or.jp> <1164204175.10427.1.camel@localhost.localdomain> <20061122145344.GB18141@DervishD> <1164243385.3525.19.camel@monteirov> <20061123091301.GC21908@DervishD> From: OGAWA Hirofumi Date: Thu, 23 Nov 2006 20:38:48 +0900 In-Reply-To: <20061123091301.GC21908@DervishD> (DervishD's message of "Thu\, 23 Nov 2006 10\:13\:01 +0100") Message-ID: <87hcwq1jg7.fsf@duaron.myhome.or.jp> User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.91 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1651 Lines: 38 DervishD writes: > * Sergio Monteiro Basto dixit: >> On Wed, 2006-11-22 at 15:53 +0100, DervishD wrote: >> > * Sergio Monteiro Basto dixit: >> > > Have vfat a limit of a file size when copy ? >> > >> > 2GB, if I recall correctly. FAT32 itself has a limit of 4GB-1 for >> > file size, but Linux restricts it even more (don't ask me why). >> >> May I say that FAT32 have a bigger limit (at least on last Windows). > > I really don't know, but from microsoft technical information > (the first or second hit when googling for "FAT32 size limit"), the > limit they specify in FAT32 is 2^32-1. > > I may be wrong, but with 32 bits you cannot address more than > 2^32 bytes, I don't know how can you create a bigger-than-4Gb file in > a FAT32 filesystem without resorting to tricks like this: > > forum.doom9.org/archive/index.php/t-20689.html > > Looks like FAT-32 (don't ask me how because I don't know the > internals) can store a file bigger than 4GB, but you cannot *save* > it. So you won't be able to put the file you have back to any FAT32 > filesystem, I'm afraid. Right. FAT's size field is 32bit, so *file* of FAT has limit of 4GB-1. (Since directory doesn't have size, in theoretically it can exceed 4GB-1) Hm.. Maybe MS added a new hack to FAT..? -- OGAWA Hirofumi - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/