Go Premium for a chance to win a PS4. Enter to Win

x
Solved

# File Size

Posted on 2006-06-10
Medium Priority
254 Views
I have been reading limits on file size and folders in a volume which is 2^32-1=4,294,967,295.  What exactly is this '-1' for?  I could not find an answer to this.
0
Question by:Higante

LVL 70

Accepted Solution

garycase earned 1500 total points
ID: 16879054
Consider a 2-bit word.   The possible values are:

00, 01, 10, 11  or (in decimal 0, 1, 2, and 3).  So the largest value that can be represented is (2^2 - 1).

Similarly, the largest value that can be represented in a 32-bit word is (2^32 - 1).   The file size field (which contains the size of the file in bytes) for FAT32 files is maintained in a 32-bit word ==> so the largest possible size is (2^32-1) bytes.
0

Author Comment

ID: 16879084
Very well explained.  Thank you.
0

## Featured Post

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In this article we will learn how to backup a VMware farm using Nakivo Backup & Replication. In this tutorial we will install the software on a Windows 2012 R2 Server.
The question appears often enough, how do I transfer my data from my old server to the new server while preserving file shares, share permissions, and NTFS permisions.  Here are my tips for handling such a transfer.
This video teaches viewers how to encrypt an external drive that requires a password to read and edit the drive. All tasks are done in Disk Utility. Plug in the external drive you wish to encrypt: Make sure all previous data on the drive has been …
This Micro Tutorial will teach you how to reformat your flash drive. Sometimes your flash drive may have issues carrying files so this will completely restore it to manufacturing settings. Make sure to backup all files before reformatting. This w…
###### Suggested Courses
Course of the Month11 days, 10 hours left to enroll