How do disk partitions work?

setsudan

Honorable
Oct 27, 2013
53
0
10,660
Hey guys, this might be a silly question but my curiosity got the best of me and a quick google search didn't provide me with the answer I was looking for.
Do disk partitions actually divide the disk physically? Or do they just set a rule for C: or D: or w/e to not use more than the space that was allocated to it? To clarify, my question is if for example I divide my 1TB disk into partitions C: and D: and each partition is 500gb, will the disk be divided in half also physically? Will partition C: only ever use one half of the magnetic disk without going into D:'s "territory" or do they just have a limit on how much space they can "claim", without any limitations on the actual physical location of that data?
 
Solution
Not an expert of this area but partitioning does not physically divide a drive. It allocates sectors as per size you have mentioned and tells operating system to read or write in a particular area of the drive. Yes data written in one partition will not affect the other partition as these are separate as per set rules by the drive manager.
You can imagine it like this, there is a librarian in every HDD (a separate controller present in the HDD itself) who has a big room to store books. When you have created a single partition of full size, this librarian will allow his colleagues to store books as per regular order. Now making two partition will instruct the librarian to keep books in two sides of the room but there is no physical...

AniChatt

Distinguished
Not an expert of this area but partitioning does not physically divide a drive. It allocates sectors as per size you have mentioned and tells operating system to read or write in a particular area of the drive. Yes data written in one partition will not affect the other partition as these are separate as per set rules by the drive manager.
You can imagine it like this, there is a librarian in every HDD (a separate controller present in the HDD itself) who has a big room to store books. When you have created a single partition of full size, this librarian will allow his colleagues to store books as per regular order. Now making two partition will instruct the librarian to keep books in two sides of the room but there is no physical barrier between them. Since the librarian is obedient enough he will follow your order and keep and manage books in two separate side of the room as long as either side is filled. If one side is filled completely the librarian will tell you that you can not store more books here. However you have other side empty. Now it is up to you to tell him to store the books in the other side otherwise he will not move some books to make more space.
 
Solution