home *** CD-ROM | disk | FTP | other *** search
- $numdevs{$name} = 64; $stddevs{$name} = "^(vcsa?[0-2]?[0-9]?)\$";
-
- $generate{$name} = sub {
- &$MkNod ("tty", sprintf("tty%d",$i), "c", 4, $i);
- if ($i == 0) {
- &$MkNod ("private", "vcs", "c", 7, 0);
- &$MkNod ("private", "vcsa", "c", 7, 128);
- &$SymLink("tty0", "console");
- # This is not necessarily on the physical console.
- # &$MkNod ("cons", "console", "c", 5, 1);
- } else {
- &$MkNod ("private", sprintf("vcs%d",$i), "c", 7, $i);
- &$MkNod ("private", sprintf("vcsa%d",$i), "c", 7, $i+128);
- }
- };
-