From owner-freebsd-current Mon Jan 29 23: 5:12 2001 Delivered-To: freebsd-current@freebsd.org Received: from syncopation-01.iinet.net.au (syncopation-01.iinet.net.au [203.59.24.37]) by hub.freebsd.org (Postfix) with SMTP id E25E637B65D for ; Mon, 29 Jan 2001 23:04:52 -0800 (PST) Received: (qmail 2828 invoked by uid 666); 30 Jan 2001 07:12:23 -0000 Received: from reggae-02-108.nv.iinet.net.au (HELO elischer.org) (203.59.91.108) by mail.m.iinet.net.au with SMTP; 30 Jan 2001 07:12:23 -0000 Message-ID: <3A76677C.1F1EBFF1@elischer.org> Date: Mon, 29 Jan 2001 23:04:29 -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: Boris Popov Cc: Greg Lehey , Poul-Henning Kamp , Steve Ames , John Baldwin , John Indra , freebsd-current@FreeBSD.ORG Subject: Re: DEVFS newbie... References: Content-Type: text/plain; charset=iso-8859-15 Content-Transfer-Encoding: 7bit Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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. you can't.. what is the major number? You don't know because they will be dynamically assigned. Only the kernel knows. Eventually, major numbers may go away entirely, (or just be a comlpetely random meaningless number, present only to keep old programs like tar() happy). > > -- > Boris Popov > http://www.butya.kz/~bp/ > > 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