Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 29 May 1998 22:25:44 -0700
From:      "Jordan K. Hubbard" <jkh@time.cdrom.com>
To:        Mike Smith <mike@smith.net.au>
Cc:        Eivind Eklund <eivind@yes.no>, current@FreeBSD.ORG
Subject:   Re: I see one major problem with DEVFS... 
Message-ID:  <21984.896505944@time.cdrom.com>
In-Reply-To: Your message of "Fri, 29 May 1998 21:14:32 PDT." <199805300414.VAA00432@antipodes.cdrom.com> 

next in thread | previous in thread | raw e-mail | index | archive | help
> You could make a strong case for having mknod ignore the (dev) argument 
> and just look the name up in the reference devfs copy, and then 
> duplicate it at the path given (presuming that's inside a devfs).

Well, the way I figured it, devfs is going to have a mechanism for
creating aliases anyway (for ln and friends), so an attempt to mknod
something would result in devfs doing a reverse-lookup on the
major/minor pair and creating an alias for the entry found.  If none
is found at all, you treat the mknod as a bogus operation and punt it.

At last, a version of mknod which checks all of its arguments! :-) :-)

- Jordan

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?21984.896505944>