Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 29 Jan 2001 23:04:29 -0800
From:      Julian Elischer <julian@elischer.org>
To:        Boris Popov <bp@butya.kz>
Cc:        Greg Lehey <grog@lemis.com>, 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:  <3A76677C.1F1EBFF1@elischer.org>
References:  <Pine.BSF.4.21.0101300832480.46219-100000@lion.butya.kz>

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




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