Date: Tue, 15 May 2001 01:07:07 +0100 From: Brian Somers <brian@Awfulhak.org> To: Poul-Henning Kamp <phk@FreeBSD.org> Cc: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org, brian@Awfulhak.org Subject: Re: cvs commit: src/sys/fs/devfs devfs_vnops.c Message-ID: <200105150007.f4F077515172@hak.lan.Awfulhak.org> In-Reply-To: Message from Poul-Henning Kamp <phk@FreeBSD.org> of "Mon, 14 May 2001 01:20:47 PDT." <200105140820.f4E8Kl579121@freefall.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
> phk 2001/05/14 01:20:47 PDT > > Modified files: > sys/fs/devfs devfs_vnops.c > Log: > After a successfull poll of the cloning functions, match on the > returned dev_t rather than the original name. > > This allows cloning from one name to another which is useful for > /dev/tty and later for the pty's. > > Revision Changes Path > 1.23 +7 -15 src/sys/fs/devfs/devfs_vnops.c Does this mean that I can catch ``open("/dev/tun")'' and clone (say) /dev/tun100, returning that ? If so - WOW ! And in no less than -8 lines too ! -- Brian <brian@Awfulhak.org> <brian@[uk.]FreeBSD.org> <http://www.Awfulhak.org> <brian@[uk.]OpenBSD.org> Don't _EVER_ lose your sense of humour ! 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?200105150007.f4F077515172>