Date: Tue, 15 May 2001 10:49:11 +0200 From: Poul-Henning Kamp <phk@critter.freebsd.dk> To: Peter Wemm <peter@wemm.org> Cc: Brian Somers <brian@Awfulhak.org>, cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sys/fs/devfs devfs_vnops.c Message-ID: <31031.989916551@critter> In-Reply-To: Your message of "Tue, 15 May 2001 01:38:25 PDT." <20010515083825.1339C380E@overcee.netplex.com.au>
next in thread | previous in thread | raw e-mail | index | archive | help
In message <20010515083825.1339C380E@overcee.netplex.com.au>, Peter Wemm writes
:
>> >Does this mean that I can catch ``open("/dev/tun")'' and clone (say)
>> >/dev/tun100, returning that ?
>>
>> yes :-)
>>
>> We need a generic ioctl which returns the name of the device, so that
>> we don't have weeds doing that by examining minor numbers popping up
>> all over the place, but otherwise: have at it :-)
>
>See libc:devname()
D00H! Yes, we do have it.
>ie: it already exists, and I think you even were the one to write it..
DOOOOOH! Yes, I wrote it.
I'm getting old I think...
--
Poul-Henning Kamp | UNIX since Zilog Zeus 3.20
phk@FreeBSD.ORG | TCP/IP since RFC 956
FreeBSD committer | BSD since 4.3-tahoe
Never attribute to malice what can adequately be explained by incompetence.
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?31031.989916551>
