Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 17 Jul 2000 02:58:41 -0500
From:      Chris Costello <chris@calldei.com>
To:        Coleman Kane <cokane@one.net>
Cc:        Adrian Chadd <adrian@FreeBSD.ORG>, Boris Popov <bp@butya.kz>, Poul-Henning Kamp <phk@critter.freebsd.dk>, hackers@FreeBSD.ORG
Subject:   Re: DEVFS
Message-ID:  <20000717025841.C48019@holly.calldei.com>
In-Reply-To: <20000716225342.A6069@cokane.yi.org>
References:  <4007.963643480@critter.freebsd.dk> <Pine.BSF.4.10.10007151908320.51585-100000@lion.butya.kz> <20000715174654.E22865@ywing.creative.net.au> <20000716225342.A6069@cokane.yi.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sunday, July 16, 2000, Coleman Kane wrote:
> This is a great idea. We need a good, well drawn out description of
> what DEVFS is supposed to accomplish and how we'd like it to work. I
> will be glad to help out, and perhaps we can get some movement on this.
> Personally, I'd like to see DEVFS completely replace the current system
> of nodes in /dev.

   That's the point of it, or so I've heard.

> One nice feature would also be to be able to define aliases of certain
> devices, such as cdrom, modem, etc... I suppose these could get handled
> in rc/rc.conf.

   Probably using symlinks:

if [ "X$default_modem_device" != "X" ]
then
	ln -sf /dev/defaultmodem ${default_modem_device}
fi

if [ "X$default_cdrom_device" != "X" ]
then
	ln -sf /dev/cdrom ${default_cdrom_device}
fi

...

   I would like to point out that if anyone does this, my advance
suggestion is that you differentiate between data and audio
CDROM.

-- 
|Chris Costello <chris@calldei.com>
|Swap read error.  You lose your mind.
`-------------------------------------


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20000717025841.C48019>