LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 03-28-2006, 07:56 AM   #1
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Mint
Posts: 17,809

Rep: Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743
extended partitions


In a recent discussion, I suggested that one can have more than one extended partition in the first (and subsequent) partition table. Some responders concurred.

I then tried to do it, and none of the tools on my machine will do it. They allow only one extended partition in the first table. Then--MANY logical partitions are allowed. (Each one goes in a separate partition table---ie the first table is the only one with 4 entries allowed)

Interesting nuance: It seems that--every time a logical partition is added, the tool also creates another extended partition in the same table. Is this then the link to the next logical partition?

What sets the limit on the total # of partitions in one drive?
 
Old 03-28-2006, 08:20 AM   #2
demian
Member
 
Registered: Apr 2001
Location: Bremen, Germany
Distribution: Debian
Posts: 303

Rep: Reputation: 30
There can only be four primary partitions one (and only one) of which maybe an extended partition (an extended partition is nothing but a primary partition that can be subdivided into logical partitions).
Logical partitions are implemented as linked list so every logical partition contains a pointer to the next. In principle there's no limit on the number of logical partitions. However, in linux there is. Last time I checked you could have 15 usable partitions on a scsi disk (3 primary, 12 logical + 1 extended (which cannot contain a filesystem)) and 63 on an ide drive (3 primary, 60 logical + 1 extended). I'm not exactly sure where this limit comes from but my guess is that it's a size limit of the array that holds the pointers to the partitions.
 
Old 03-28-2006, 08:24 AM   #3
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Mint
Posts: 17,809

Original Poster
Rep: Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743
Quote:
Originally Posted by demian
Logical partitions are implemented as linked list so every logical partition contains a pointer to the next. In principle there's no limit on the number of logical partitions. However, in linux there is.
What you are saying is that one could create more partitions, but then Linux would not see them??
 
Old 03-28-2006, 08:36 AM   #4
demian
Member
 
Registered: Apr 2001
Location: Bremen, Germany
Distribution: Debian
Posts: 303

Rep: Reputation: 30
Actually I don't know what happens if you surpass that limit with a partitioning software that allows it and then try to access them in linux. I don't have a scsi disk to test that with and don't really feel like creating 65 partitions on an ide disk to find out. You tell me
 
Old 03-28-2006, 02:05 PM   #5
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Mint
Posts: 17,809

Original Poster
Rep: Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743
Quote:
Originally Posted by demian
Actually I don't know what happens if you surpass that limit with a partitioning software that allows it and then try to access them in linux. I don't have a scsi disk to test that with and don't really feel like creating 65 partitions on an ide disk to find out. You tell me
At this point it is curiousity for which I will exert very limited energy. When I decide to follow one of our gurus (Saikee) and set up a system with over 100 OSes---then maybe.....
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How to mount extended partitions ngjunkie0011 SUSE / openSUSE 16 07-14-2005 03:39 PM
Primary and Extended Partitions Flossie Linux - Newbie 2 03-16-2004 12:25 PM
What can extended partitions be used for? imemyself Linux - Hardware 4 02-29-2004 06:55 PM
Can I mount extended XP partitions? Mystakill Linux - Newbie 3 05-16-2002 09:27 PM
Primary and Extended Partitions batman Linux - Software 1 10-18-2000 01:17 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 03:23 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration