home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!dtix!darwin.sura.net!mips!odin!fido!zola!twilight!zuni!anchor!olson
- From: olson@anchor.esd.sgi.com (Dave Olson)
- Newsgroups: comp.sys.sgi
- Subject: Re: Using more than 255 minor devices
- Message-ID: <nlpacis@zuni.esd.sgi.com>
- Date: 23 Jul 92 19:10:16 GMT
- References: <1992Jul22.185501.12759@convex.com>
- Sender: news@zuni.esd.sgi.com (Net News)
- Distribution: usa
- Organization: Silicon Graphics, Inc. Mountain View, CA
- Lines: 24
-
- In <1992Jul22.185501.12759@convex.com> jhall@convex.com (Jon Hall) writes:
-
- | I have an optical jukebox which has 144 shelves with 2 sided platters, so I
- | need to have 288 minor devices. Since the max number of minor devices is 255
- | (2^8), I decided to use consecutive major numbers.
- |
- | To get the first device sysgened in, I added a "USE: jb" entry to the system
- | file, added a jb entry to the master.d directory, and then a "jb.o" driver
- | module to the boot directory, and everything worked fine. But then I tried,
- | adding a jb1 entry (with major # + 1) to the master.d directory, but the system
- | still won't recognize that major number. So what else do I need to do??
-
- As I recall, you need to turn the .o into a single file library archive.
- That is what we do with our drivers that run into this problem (tpsc,
- jag, dksc, etc.). I was hoping somebody who remember the issue better
- would reply, but...
-
- The next major release will have 32 bit dev_t's, although it still
- isn't clear how we will split them between major and minor numbers,
- so this particular problem will finally go away.
- --
- Let no one tell me that silence gives consent, | Dave Olson
- because whoever is silent dissents. | Silicon Graphics, Inc.
- Maria Isabel Barreno | olson@sgi.com
-