*BSD News Article 16337


Return to BSD News archive

Newsgroups: comp.os.386bsd.development
Path: sserve!newshost.anu.edu.au!munnari.oz.au!news.Hawaii.Edu!ames!agate!howland.reston.ans.net!torn!nott!bnrgate!bnr.co.uk!uknet!pipex!sunic!psinntp!psinntp!uuneo!sugar!peter
From: peter@NeoSoft.com (Peter da Silva)
Subject: Re: Naming convention for tty-like devices
Organization: NeoSoft Communications Services -- (713) 684-5900
Date: Thu, 20 May 1993 09:38:12 GMT
Message-ID: <C7BK3p.CvG@sugar.NeoSoft.COM>
References: <C6q296.3D9@BitBlocks.com> <C6uvsI.9uo@sugar.NeoSoft.COM> <DERAADT.93May11133023@newt.fsa.ca>
Lines: 19

In article <DERAADT.93May11133023@newt.fsa.ca> deraadt@fsa.ca (Theo de Raadt) writes:
> 1. There isn't enough room in the minor number.

Make the minor number bigger.

>   You need to have 3 bits worth of lun, 3 bits worth of scsi id, 3 bits
>   worth of partition information, and i figure 2 bits of controller number.

3 bits isn't enough for partition information, really. The minor number is
already too small.

> 2. There would need to be many more files in /dev

You only need to actually create the files for devices that actually exist.
-- 
Peter da Silva.  <peter@sugar.neosoft.com>.
 `-_-'   Har du kramat din varg idag?
  'U`    
"Det er min ledsager, det er ikke drikkepenge."