From owner-cvs-all Mon May 14 17: 7:16 2001 Delivered-To: cvs-all@freebsd.org Received: from Awfulhak.org (awfulhak.demon.co.uk [194.222.196.252]) by hub.freebsd.org (Postfix) with ESMTP id 2CA7D37B422; Mon, 14 May 2001 17:07:11 -0700 (PDT) (envelope-from brian@Awfulhak.org) Received: from hak.lan.Awfulhak.org (root@hak.lan.Awfulhak.org [172.16.0.12]) by Awfulhak.org (8.11.3/8.11.3) with ESMTP id f4F079364043; Tue, 15 May 2001 01:07:09 +0100 (BST) (envelope-from brian@lan.Awfulhak.org) Received: from hak.lan.Awfulhak.org (brian@localhost [127.0.0.1]) by hak.lan.Awfulhak.org (8.11.3/8.11.3) with ESMTP id f4F077515172; Tue, 15 May 2001 01:07:07 +0100 (BST) (envelope-from brian@hak.lan.Awfulhak.org) Message-Id: <200105150007.f4F077515172@hak.lan.Awfulhak.org> X-Mailer: exmh version 2.3.1 01/18/2001 with nmh-1.0.4 To: Poul-Henning Kamp Cc: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org, brian@Awfulhak.org Subject: Re: cvs commit: src/sys/fs/devfs devfs_vnops.c In-Reply-To: Message from Poul-Henning Kamp of "Mon, 14 May 2001 01:20:47 PDT." <200105140820.f4E8Kl579121@freefall.freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Tue, 15 May 2001 01:07:07 +0100 From: Brian Somers Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > 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 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