home *** CD-ROM | disk | FTP | other *** search
- $numdevs{$name} = 512;
- $stddevs{$name} = "^(hd[abcdefgh]([1-9]?|1[0-5]))\$";
-
- $generate{$name} = sub {
- my @hd_base_majors = (3, 22, 33, 34);
-
- &$MkNod ("disk",
- sprintf("hd%c%s", 97+$i/64, ($i%64) ? sprintf("%d", $i%64) : ""),
- "b", $hd_base_majors[$i/128], $i%128);
- };
-