About LFS.

Richard Gollub rgollub at uninet.com.br
Tue Jan 9 08:46:08 PST 2001


Brad Haladay wrote:

> In LFS 6.6.3 Command Explanations it says the following:
>
> sed "s/# 9/9/" MAKEDEV >/dev/MAKEDEV: By default the Makedev script only
> creates the hda1-hda8 and hdb1-hdb8 devices. By replacing "# 9" by "9"'s in
> the MAKEDEV script, it will create hda1-hda20, hdb1-hdb20 and possible
> others (like hdc and hdd)
>
> I have a scsi system & I currently have up to sda16 & sdb16 but when I try
> to mount sda16 & sdb16 I get mount errors, so I had seen in some resource
> some where to check the devices.txt in the kernel source.  When I did I
> found that for hd & sd it only supports 0-15 partitions.  So if you had up
> to 20 as it states 16-20 would not work as my 2 16's don't & my 17 doesn't
> either.
>
> Is there anyway to get around that kernel limitation to get partitions 16 &
> above mounted on a scsi system ?

        Hi,

        Could you pls indicate _where_ did you find the reference to said
limit of number of partitions? I am just curious, as for a counter-example,
look at my setup:

        $: cat /proc/devices > setup.txt

        File setup.txt is enclosed as an attachment ("Nutscrape" limitation
;=)

        Richard
-------------- next part --------------
$: cat /proc/devices

major minor  #blocks  name

   3     0    6346368 hda
   3     1       8001 hda1
   3     2    1020127 hda2
   3     3    1020127 hda3
   3     4          1 hda4
   3     5     305203 hda5
   3     6     305203 hda6
   3     7     313236 hda7
   3     8     313236 hda8
   3     9     313236 hda9
   3    10    1020096 hda10
   3    11     506016 hda11
   3    12       8001 hda12
   3    13     947803 hda13
   3    14     265041 hda14
   3    64    6346368 hdb
   3    68          1 hdb4
   3    69     522081 hdb5
   3    70     522081 hdb6
   3    71     522081 hdb7
   3    72     522081 hdb8
   3    73     522081 hdb9
   3    74      80293 hdb10
   3    75     208813 hdb11
   3    76     522081 hdb12
   3    77     305203 hdb13
   3    78     305203 hdb14
   3    79     441756 hdb15
   3    80     409626 hdb16
   3    81     409626 hdb17
  22     0   12717114 hdc
  22     1    1020127 hdc1
  22     2     522081 hdc2
  22     3     522112 hdc3
  22     4          1 hdc4
  22     5     522081 hdc5
  22     6     522081 hdc6
  22     7     522081 hdc7
  22     8     522081 hdc8
  22     9     522081 hdc9
  22    10     522081 hdc10
  22    11     522081 hdc11
  22    12     522081 hdc12
  22    13     522081 hdc13
  22    14     409626 hdc14
  22    15     409626 hdc15
  22    16     265041 hdc16
  22    17     522081 hdc17
  22    18     514048 hdc18
  22    19     514048 hdc19
  22    20     514048 hdc20
  22    21     514048 hdc21
  22    22     514048 hdc22
  22    23     819283 hdc23



More information about the lfs-dev mailing list