was 'extened partition' designed a little complex?

Question about which tools to use, bugs, the best way to implement a function, etc should go here. Don't forget to see if your question is answered in the wiki first! When in doubt post here.
Post Reply
miaowei
Member
Member
Posts: 84
Joined: Wed Dec 18, 2013 9:10 am

was 'extened partition' designed a little complex?

Post by miaowei »

i doubt that 'extend partition' was disigned a little complex.
why not we take EBR(extended boot record) as the first sector of a logical partition ? Then, we can get a more pure 'link list'.
Is there a reason to do a secondary positioning by reading the first entry of partition-table in EBR?
Octocontrabass
Member
Member
Posts: 5587
Joined: Mon Mar 25, 2013 7:01 pm

Re: was 'extened partition' designed a little complex?

Post by Octocontrabass »

The first sector of the logical partition already belongs to the filesystem in that partition, so it cannot be combined with the EBR.
miaowei
Member
Member
Posts: 84
Joined: Wed Dec 18, 2013 9:10 am

Re: was 'extened partition' designed a little complex?

Post by miaowei »

Octocontrabass wrote:The first sector of the logical partition already belongs to the filesystem in that partition, so it cannot be combined with the EBR.
Excuse me, as far as i know, filesystem seldoms touchs the first sector of a device(or partition), thier superblock usually starts from 1K。
Octocontrabass
Member
Member
Posts: 5587
Joined: Mon Mar 25, 2013 7:01 pm

Re: was 'extened partition' designed a little complex?

Post by Octocontrabass »

Extended partitions were designed to work in DOS, which uses FAT. FAT places the superblock in the first sector of the partition, so the EBR cannot be located there.
miaowei
Member
Member
Posts: 84
Joined: Wed Dec 18, 2013 9:10 am

Re: was 'extened partition' designed a little complex?

Post by miaowei »

Octocontrabass wrote:Extended partitions were designed to work in DOS, which uses FAT. FAT places the superblock in the first sector of the partition, so the EBR cannot be located there.
Great!
I will take a look at FAT.
Post Reply