Windows 7 Forums


Reply
Thread Tools

File size limit in FAT 32?

 
 
Kenny
Guest
Posts: n/a
Thanked:
 
      10-30-2011
Daughter has TV which plays video direct from USB memory stick.
Home made AVI video came to 7GB, Windows told me not enough room
although there was over 10GB free.
Saved a WMV version of the same file which was 1.3GB but still got the
same message about not enough space, I believed FAT32 will handle files
up to 4GB.
The pen drive is FAT32 but can I change it to NTFS and will the TV still
recognise it if I do?
The TV is large screen Toshiba and pen drive is Sandisk Cruiser 16GB.
Advice appreciated.

Kenny Cargill
 
Reply With Quote
 
 
 
 
Brian Gregory [UK]
Guest
Posts: n/a
Thanked:
 
      10-30-2011
"Kenny" <> wrote in message
news:...
> Daughter has TV which plays video direct from USB memory stick.
> Home made AVI video came to 7GB, Windows told me not enough room although
> there was over 10GB free.
> Saved a WMV version of the same file which was 1.3GB but still got the
> same message about not enough space, I believed FAT32 will handle files up
> to 4GB.
> The pen drive is FAT32 but can I change it to NTFS and will the TV still
> recognise it if I do?
> The TV is large screen Toshiba and pen drive is Sandisk Cruiser 16GB.
> Advice appreciated.


File size limit for FAT32 should be 2GB, or maybe 2GB minus 1 byte.
(There may be non standard ways of getting up to 4GB minus 1 byte)

If a file that should fit won't copy try doing a chkdsk /f on the USB thumb
drive.

The only way to know what formats the TV will understand is to read the
manual or to experiment and find out.

--

Brian Gregory. (In the UK)

To email me remove the letter vee.


 
Reply With Quote
 
Char Jackson
Guest
Posts: n/a
Thanked:
 
      10-31-2011
On Sun, 30 Oct 2011 22:45:49 -0000, "Brian Gregory [UK]"
<> wrote:

>"Kenny" <> wrote in message
>news:...
>> Daughter has TV which plays video direct from USB memory stick.
>> Home made AVI video came to 7GB, Windows told me not enough room although
>> there was over 10GB free.
>> Saved a WMV version of the same file which was 1.3GB but still got the
>> same message about not enough space, I believed FAT32 will handle files up
>> to 4GB.
>> The pen drive is FAT32 but can I change it to NTFS and will the TV still
>> recognise it if I do?
>> The TV is large screen Toshiba and pen drive is Sandisk Cruiser 16GB.
>> Advice appreciated.

>
>File size limit for FAT32 should be 2GB, or maybe 2GB minus 1 byte.
>(There may be non standard ways of getting up to 4GB minus 1 byte)


This comes up every now and then and I always manage to forget where
the 2GB filesize limit comes from. The actual FAT32 size limit is 4GB
minus 1 byte.

>The only way to know what formats the TV will understand is to read the
>manual or to experiment and find out.


Agreed. There's no standard. The TV supports what it supports.

--

Char Jackson
 
Reply With Quote
 
Gene E. Bloch
Guest
Posts: n/a
Thanked:
 
      10-31-2011
On Sun, 30 Oct 2011 20:04:12 -0500, Char Jackson wrote:

> This comes up every now and then and I always manage to forget where
> the 2GB filesize limit comes from. The actual FAT32 size limit is 4GB
> minus 1 byte.


Some programs have a 2GB limit. I have experienced it with some video
editors in days of yore.

My unverified hypothesis is that those programs used signed integers
(longs, really) instead of unsigned integers for the file data location.

--
Gene E. Bloch (Stumbling Bloch)
 
Reply With Quote
 
Dave \Crash\ Dummy
Guest
Posts: n/a
Thanked:
 
      10-31-2011
Gene E. Bloch wrote:
> On Sun, 30 Oct 2011 20:04:12 -0500, Char Jackson wrote:
>
>> This comes up every now and then and I always manage to forget
>> where the 2GB filesize limit comes from. The actual FAT32 size
>> limit is 4GB minus 1 byte.

>
> Some programs have a 2GB limit. I have experienced it with some video
> editors in days of yore.
>
> My unverified hypothesis is that those programs used signed integers
> (longs, really) instead of unsigned integers for the file data
> location.


The 2 GB or 4 GB limit depends on whether or not you are dealing with
signed numbers. The 32 bit limit is -/+2GB for signed numbers and
4GB for unsigned numbers.

--
Crash

"Never underestimate the power of the Dark Side."
~ Obi-Wan Kenobi ~
 
Reply With Quote
 
Gene E. Bloch
Guest
Posts: n/a
Thanked:
 
      10-31-2011
On Sun, 30 Oct 2011 22:11:38 -0400, Dave "Crash" Dummy wrote:

> Gene E. Bloch wrote:
>> On Sun, 30 Oct 2011 20:04:12 -0500, Char Jackson wrote:
>>
>>> This comes up every now and then and I always manage to forget
>>> where the 2GB filesize limit comes from. The actual FAT32 size
>>> limit is 4GB minus 1 byte.

>>
>> Some programs have a 2GB limit. I have experienced it with some video
>> editors in days of yore.
>>
>> My unverified hypothesis is that those programs used signed integers
>> (longs, really) instead of unsigned integers for the file data
>> location.

>
> The 2 GB or 4 GB limit depends on whether or not you are dealing with
> signed numbers. The 32 bit limit is -/+2GB for signed numbers and
> 4GB for unsigned numbers.


I thought I just said that :-)

Or did you mean to verify my hypothesis?

--
Gene E. Bloch (Stumbling Bloch)
 
Reply With Quote
 
Char Jackson
Guest
Posts: n/a
Thanked:
 
      10-31-2011
On Sun, 30 Oct 2011 18:30:55 -0700, "Gene E. Bloch"
<not-> wrote:

>On Sun, 30 Oct 2011 20:04:12 -0500, Char Jackson wrote:
>
>> This comes up every now and then and I always manage to forget where
>> the 2GB filesize limit comes from. The actual FAT32 size limit is 4GB
>> minus 1 byte.

>
>Some programs have a 2GB limit. I have experienced it with some video
>editors in days of yore.
>
>My unverified hypothesis is that those programs used signed integers
>(longs, really) instead of unsigned integers for the file data location.


Thanks, Gene. The same thought occurred to me about the signed vs
unsigned integers but I forgot that it was attributed to (or limited
to) "some programs."

--

Char Jackson
 
Reply With Quote
 
Char Jackson
Guest
Posts: n/a
Thanked:
 
      10-31-2011
On Sun, 30 Oct 2011 22:11:38 -0400, "Dave \"Crash\" Dummy"
<> wrote:

>Gene E. Bloch wrote:
>> On Sun, 30 Oct 2011 20:04:12 -0500, Char Jackson wrote:
>>
>>> This comes up every now and then and I always manage to forget
>>> where the 2GB filesize limit comes from. The actual FAT32 size
>>> limit is 4GB minus 1 byte.

>>
>> Some programs have a 2GB limit. I have experienced it with some video
>> editors in days of yore.
>>
>> My unverified hypothesis is that those programs used signed integers
>> (longs, really) instead of unsigned integers for the file data
>> location.

>
>The 2 GB or 4 GB limit depends on whether or not you are dealing with
>signed numbers. The 32 bit limit is -/+2GB for signed numbers and
>4GB for unsigned numbers.


The frame of reference is FAT32, so the limit is 4GB minus 1 byte.

--

Char Jackson
 
Reply With Quote
 
Paul
Guest
Posts: n/a
Thanked:
 
      10-31-2011
Kenny wrote:
> Daughter has TV which plays video direct from USB memory stick.
> Home made AVI video came to 7GB, Windows told me not enough room
> although there was over 10GB free.
> Saved a WMV version of the same file which was 1.3GB but still got the
> same message about not enough space, I believed FAT32 will handle files
> up to 4GB.
> The pen drive is FAT32 but can I change it to NTFS and will the TV still
> recognise it if I do?
> The TV is large screen Toshiba and pen drive is Sandisk Cruiser 16GB.
> Advice appreciated.
>
> Kenny Cargill


The only thing puzzling about your experience, is why the 1.3GB file
would not fit. That doesn't line up with any of the limits I've heard of.

Since its FAT, you can use fsutil for testing. Fsutil can create
empty files, for size testing purposes. One problem with that though,
is the geniuses at Microsoft, have fsutil generate "sparse" files when
an NTFS file system is encountered. So fsutil doesn't end up working
the same way as "mkfile" in Unix might. But on FAT file systems,
fsutil makes "real" files, no sparse stuff, and it takes an
appropriately long time to do so. If it makes sparse files on NTFS,
the command finishes virtually instantly, which means very few data
sectors are physically written. It means fsutil is unsuited for
usage as a "physical disk eraser", on NTFS.

(On FAT32, this should fail if you make the size one byte larger.)

fsutil file createnew c:\testdir\testfile.bin 4294967295

You can also use the port of "dd" for Windows, to test file system
capacity, and that one won't resort to sparse files if used on
NTFS for example. The syntax for the ported version might look like this.
This would create a 4095 megabyte file (if there was room
left on the file system for it to fit).

dd.exe if=/dev/zero of=C:\testdir\testfile.bin bs=1048576 count=4095

Done without limits, "dd" will run until it hits the file limit. This
wouldn't be a good idea on NTFS, because it will fill the entire
partition.

dd.exe if=/dev/zero of=C:\testdir\testfile.bin

I just tried that command on a FAT32 file system and the resulting
file size was 4,294,966,784 bytes, which is 512 bytes short of 4GB.
dd works in units of 512 byte sectors, which is why it stopped there.

The port of "dd" is here. I typically use version 0.5 of dd for testing.

http://www.chrysocome.net/dd

The examples above, run from a "cmd" or MSDOS window. In Windows 7,
you sometimes need to select "Run as Administrator", to get things to
work like they did in older versions of Windows. (I've had small
surprises running in the MSDOS window, under Windows 7, and it is
due to UAC.)

To open an MSDOS window, you can type "cmd" without the quotes, into
the start search box. You must cd or change directory, until you get
to the place you've got the copy of dd.exe, in order to run it.

Maybe a test like that, will uncover a different limit than the 1.3GB value.
I can't explain why that value popped up.

Paul
 
Reply With Quote
 
Dave \Crash\ Dummy
Guest
Posts: n/a
Thanked:
 
      10-31-2011
Gene E. Bloch wrote:
> On Sun, 30 Oct 2011 22:11:38 -0400, Dave "Crash" Dummy wrote:
>
>> Gene E. Bloch wrote:
>>> On Sun, 30 Oct 2011 20:04:12 -0500, Char Jackson wrote:
>>>
>>>> This comes up every now and then and I always manage to forget
>>>> where the 2GB filesize limit comes from. The actual FAT32 size
>>>> limit is 4GB minus 1 byte.
>>> Some programs have a 2GB limit. I have experienced it with some video
>>> editors in days of yore.
>>>
>>> My unverified hypothesis is that those programs used signed integers
>>> (longs, really) instead of unsigned integers for the file data
>>> location.

>> The 2 GB or 4 GB limit depends on whether or not you are dealing with
>> signed numbers. The 32 bit limit is -/+2GB for signed numbers and
>> 4GB for unsigned numbers.

>
> I thought I just said that :-)
>
> Or did you mean to verify my hypothesis?


Yes. I upgraded your unverified hypothesis to immutable law. :-)

--
Crash

English is not my native tongue; I'm an American.
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Frequent BSODs jkdmanoj Crashes, BSODs and Debugging 10 11-01-2011 09:57 PM
Windows 7 Tip of the Week: Smarter File Copying Nibiru2012 General Discussion 9 10-14-2011 06:29 PM
BSOD from fresh installation Quaza Windows 7 Support 8 10-14-2011 08:05 AM
AcePad Application (Coded by Ace) Ace Software 16 08-10-2011 01:30 PM
Windows 7 install keeps rebooting Stephen47 Installation, Setup and Updates 32 05-24-2009 06:26 PM


All times are GMT +1. The time now is 05:02 PM.
W7Forums is an independent website and is not affiliated with Microsoft Corporation.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33