From owner-freebsd-current Mon Jan 29 23: 9:59 2001 Delivered-To: freebsd-current@freebsd.org Received: from urban.iinet.net.au (urban.iinet.net.au [203.59.24.231]) by hub.freebsd.org (Postfix) with ESMTP id 36CC637B488; Mon, 29 Jan 2001 23:09:38 -0800 (PST) Received: from muzak.iinet.net.au (muzak.iinet.net.au [203.59.24.237]) by urban.iinet.net.au (8.8.7/8.8.7) with ESMTP id PAA06501; Tue, 30 Jan 2001 15:09:29 +0800 Received: from elischer.org (reggae-02-108.nv.iinet.net.au [203.59.91.108]) by muzak.iinet.net.au (8.8.5/8.8.5) with ESMTP id PAA07078; Tue, 30 Jan 2001 15:07:09 +0800 Message-ID: <3A766895.F8C55BCD@elischer.org> Date: Mon, 29 Jan 2001 23:09:09 -0800 From: Julian Elischer X-Mailer: Mozilla 4.7 [en] (X11; U; FreeBSD 5.0-CURRENT i386) X-Accept-Language: en, hu MIME-Version: 1.0 To: Greg Lehey Cc: Boris Popov , Poul-Henning Kamp , Steve Ames , John Baldwin , John Indra , freebsd-current@FreeBSD.ORG Subject: Re: DEVFS newbie... References: <20010130114848.B48269@wantadilla.lemis.com> <20010130132238.H48490@wantadilla.lemis.com> Content-Type: text/plain; charset=iso-8859-15 Content-Transfer-Encoding: 7bit Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Greg Lehey wrote: > > On Tuesday, 30 January 2001 at 8:37:56 +0600, Boris Popov wrote: > > On Tue, 30 Jan 2001, Greg Lehey wrote: > > > >>> You can create symlinks in /dev, you cannot mknod there. > >> > >> What is the reason for this? How does a program or script know > >> whether the system is running DEVFS or not? > > > > I don't see any good reason why this can't be supported. We may > > talk about 'broken' devices, etc., but while there any - mknod needs to be > > supported to make transition more smooth. > > I'm assuming that there's a good technical reason for the lack of > mknod. It also seems that mkdir doesn't work in devfs. Let's give > phk time to wake up and tell us. I have no idea why mkdir doesnt' work.. (It worked in the old devfs, but I assume it's just that phk just hasn't had the time yet to do it.) mknod is nonsensical in a world wher the user cannot predict the major number, and where the dev entry is connected to the driver via a pointer inside the kernel rather than an index. (How do you create the pointer? (mknod tty2 c 0xc0123452d 2)?) > > Greg > -- > Finger grog@lemis.com for PGP public key > See complete headers for address and phone numbers > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-current" in the body of the message -- __--_|\ Julian Elischer / \ julian@elischer.org ( OZ ) World tour 2000-2001 ---> X_.---._/ v To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message