Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
?
Solved

File Size

Posted on 2006-06-10
2
Medium Priority
?
255 Views
Last Modified: 2010-04-03
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
Comment
Question by:Higante
2 Comments
 
LVL 70

Accepted Solution

by:
Gary Case 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

by:Higante
ID: 16879084
Very well explained.  Thank you.
0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

A look at what happened in the Verizon cloud breach.
How much do you know about the future of data centers? If you're like 50% of organizations, then it's probably not enough. Read on to get up to speed on this emerging field.
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…
Despite its rising prevalence in the business world, "the cloud" is still misunderstood. Some companies still believe common misconceptions about lack of security in cloud solutions and many misuses of cloud storage options still occur every day. …
Suggested Courses
Course of the Month15 days, 16 hours left to enroll

580 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question