Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 29 Jan 2001 23:09:09 -0800
From:      Julian Elischer <julian@elischer.org>
To:        Greg Lehey <grog@lemis.com>
Cc:        Boris Popov <bp@butya.kz>, Poul-Henning Kamp <phk@critter.freebsd.dk>, Steve Ames <steve@virtual-voodoo.com>, John Baldwin <jhb@FreeBSD.ORG>, John Indra <john@naver.co.id>, freebsd-current@FreeBSD.ORG
Subject:   Re: DEVFS newbie...
Message-ID:  <3A766895.F8C55BCD@elischer.org>
References:  <20010130114848.B48269@wantadilla.lemis.com> <Pine.BSF.4.21.0101300832480.46219-100000@lion.butya.kz> <20010130132238.H48490@wantadilla.lemis.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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




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