On Thu, Apr 22, 2004 at 08:58:31PM +1200, steve wrote:
> But Linux still has a limitation to the number of partitions it can 
> handle. However, as that limit is 64, this is a pretty picky point to 
> make (:

Yes, the Linux kernel is limited.  You'll find that other utilities
(e.g. bootloaders, BIOSes) also have their own limits.

To be really picky, the limit for IDE devices is actually 63 partitions,
and is an artificial limit mostly enforced by the major/minor device
numbering scheme.  The 0th "partition" would be a block device that
represents the physical disk itself.  Example below.

brw-rw----    1 toor     disk       3,   0 Mar 15  2002 /dev/hda
brw-rw----    1 toor     disk       3,   1 Mar 15  2002 /dev/hda1
brw-rw----    1 toor     disk       3,   2 Mar 15  2002 /dev/hda2
...
brw-rw----    1 toor     disk       3,  20 Mar 15  2002 /dev/hda20
...
brw-rw----    1 toor     disk       3,  63 Mar 15  2002 /dev/hda63

Similarly, the Linux kernel limits SCSI devices to 15 partitions.

Cheers,
-mjg
-- 
Matthew Gregan                     |/
                                  /|                [EMAIL PROTECTED]

Reply via email to