Date: Sun, 21 May 2000 05:53:08 -0700 From: Peter Wemm <peter@netplex.com.au> To: Doug Rabson <dfr@nlsystems.com> Cc: Mark Murray <mark@grondar.za>, current@FreeBSD.ORG Subject: Re: Major device numbers and mem device redesign Message-ID: <20000521125308.3F48B1CE1@overcee.netplex.com.au> In-Reply-To: Message from Doug Rabson <dfr@nlsystems.com> of "Sun, 21 May 2000 12:31:41 BST." <Pine.BSF.4.21.0005211230530.73457-100000@salmon.nlsystems.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Doug Rabson wrote: > On Sun, 21 May 2000, Mark Murray wrote: > > > Hi > > > > I want to commit a new /dev/random RSN, so I'll be needing a major > > device; what is the procedure for getting one? I know how to steal one, > > but ISTR that this is not how it is done. > > Just edit sys/conf/majors and claim the next available number. You don't need one. You can use the same major/minor numbers. You can register multiple cdevsw's per major number with make_dev(); (do NOT use cdevsw_add() for this). > > > > Also - Peter said something about the "mem" device needing > > to only contain the /dev/mem and /mem/kmem devices, and > > /dev/(random|urandom|null|zero) needing to move to MI areas. I have done > > this, as KLD's. Who wants to review? > > I'll take a look. > > -- > Doug Rabson Mail: dfr@nlsystems.com > Nonlinear Systems Ltd. Phone: +44 20 8442 9037 > > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-current" in the body of the message > > Cheers, -Peter -- Peter Wemm - peter@FreeBSD.org; peter@yahoo-inc.com; peter@netplex.com.au "All of this is for nothing if we don't go to the stars" - JMS/B5 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20000521125308.3F48B1CE1>