Sign in to follow this  
Gink

Question about sectors

Recommended Posts

What is the significance of storing files on 512 byte sectors? And what happens with unused data within the sector? Also, is it possible to notice that every file you create will cause 512 bytes from a sector to be allocated for file storage?

Share this post


Link to post
Share on other sites
Quote:
Original post by nprz
Do you have a 2KB hard drive? I don't even have a diskette that is smaller than 360Kb (5.25" floppy, low density).


Quote:
So, lets suppose i have a 2000 byte hard drive


Learn to read

my files say they take up 4096 bytes each

Share this post


Link to post
Share on other sites
Then 4096 bytes is your cluster size (8 sectors). I should note that a sector is the basic unit of disk access. Your hard drive can only read and write sectors, it can't read/write individual bytes. Clusters are an operating system/file system invention.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this