lkml.org 
[lkml]   [2000]   [Jan]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: 2.3.40-pre1: Partition Enumeration
Date
> 
> Disk /dev/hda: 255 heads, 63 sectors, 3467 cylinders
> Units = cylinders of 16065 * 512 bytes
>
> Device Boot Start End Blocks Id System
> /dev/hda1 1 9 72261 83 Linux
> /dev/hda2 10 264 2048287+ a5 BSD/386
> /dev/hda3 * 265 902 5124735 63 GNU HURD or SysV
> /dev/hda4 903 3467 20603362+ 5 Extended
> /dev/hda5 903 968 530113+ 82 Linux swap
> /dev/hda6 969 1733 6144831 83 Linux
> /dev/hda7 1734 2116 3076416 6 FAT16
> /dev/hda8 2117 3467 10851876 83 Linux
> # grep hda /proc/partitions
> 3 0 27852048 hda
> 3 1 72261 hda1
> 3 2 2048287 hda2
> 3 3 5124735 hda3
> 3 4 1 hda4
> 3 5 4795402 hda5
> 3 6 208845 hda6
> 3 7 17 hda7
> 3 8 8015 hda8
> 3 9 24097 hda9
> 3 10 8032 hda10
> 3 11 530113 hda11
> 3 12 6144831 hda12
> 3 13 3076416 hda13
> 3 14 10851876 hda14
> 3 15 1843200 hda15
> 3 16 205087 hda16
>
> see, my rootfs switched from /dev/hda6 to /dev/hda12.

This is old-known problem and it seems there is no good solution of it.
The only I know is (potentially) devfs naming convention.

Changing the sequence of second-level partition initialization doesn't solve
this problem. (it only moves problem from extended to BSD/Unixware/Solaris
partitions)

I agree with you that this behaviour is bad, but do you have any
suggestions of solving this problem which do not hit the minor number per
disk limitations ?

--
=======================================================================
Andrzej M. Krzysztofowicz ankry@mif.pg.gda.pl
phone (48)(58) 347 14 61
Faculty of Applied Phys. & Math., Technical University of Gdansk

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:55    [W:0.490 / U:0.888 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site