From owner-freebsd-stable@FreeBSD.ORG Fri Mar 16 08:15:10 2007 Return-Path: X-Original-To: freebsd-stable@FreeBSD.ORG Delivered-To: freebsd-stable@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id DE59416A401 for ; Fri, 16 Mar 2007 08:15:10 +0000 (UTC) (envelope-from ume@mahoroba.org) Received: from ameno.mahoroba.org (gw4.mahoroba.org [218.45.22.175]) by mx1.freebsd.org (Postfix) with ESMTP id 6E6F413C458 for ; Fri, 16 Mar 2007 08:15:10 +0000 (UTC) (envelope-from ume@mahoroba.org) Received: from localhost (IDENT:eTDx4y/tzxXA+LxbrUPIjJnTpsjDa4HwTZ3fbRVjfStw8v5EFRLKLjFQjAqey0ue@localhost [IPv6:::1]) (user=ume mech=CRAM-MD5 bits=0) by ameno.mahoroba.org (8.13.8/8.13.8) with ESMTP/inet6 id l2G8F2IX008385 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 16 Mar 2007 17:15:03 +0900 (JST) (envelope-from ume@mahoroba.org) Date: Fri, 16 Mar 2007 17:15:02 +0900 Message-ID: From: Hajimu UMEMOTO To: Willy@Offermans.Rompen.nl In-Reply-To: <20070316075332.GA5562@wiz> References: <20070314104732.GA5794@wiz> <45F7D727.2080301@unsane.co.uk> <20070315133346.GA5645@wiz> <45F94CD5.90601@FreeBSD.org> <20070315143322.GA7027@wiz> <20070316075332.GA5562@wiz> User-Agent: xcite1.38> Wanderlust/2.14.0 (Africa) SEMI/1.14.6 (Maruoka) FLIM/1.14.8 (=?ISO-8859-4?Q?Shij=F2?=) APEL/10.7 Emacs/22.0.93 (i386-pc-freebsd) MULE/5.0 (SAKAKI) X-Operating-System: FreeBSD 6.2-RELEASE-p1 X-PGP-Key: http://www.imasy.or.jp/~ume/publickey.asc X-PGP-Fingerprint: 1F00 0B9E 2164 70FC 6DC5 BF5F 04E9 F086 BF90 71FE Organization: Internet Mutual Aid Society, YOKOHAMA MIME-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=US-ASCII X-Greylist: Sender succeeded SMTP AUTH authentication, not delayed by milter-greylist-3.0 (ameno.mahoroba.org [IPv6:::1]); Fri, 16 Mar 2007 17:15:04 +0900 (JST) X-Virus-Scanned: by amavisd-new X-Virus-Status: Clean X-Spam-Status: No, score=-2.6 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.1.8 X-Spam-Checker-Version: SpamAssassin 3.1.8 (2007-02-13) on ameno.mahoroba.org Cc: freebsd-stable@FreeBSD.ORG, openvpn-users@lists.sourceforge.net Subject: Re: tap device at boot time X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 16 Mar 2007 08:15:11 -0000 Hi, >>>>> On Fri, 16 Mar 2007 08:53:32 +0100 >>>>> Willy Offermans said: Willy> If I load the tap kernel_module, then it is quite obvious that I want to use the tap Willy> device. Why should I perform `cp /dev/null /dev/tap0` to create tap0. Because, the tap is a pseudo interface. How many tap interface are you want to use, actually? Though someone may want to use just one tap interface, others may want to use many tap interfaces. You can create desired number of tap interfaces. Willy> It does not sound logic. Is this the same for, let say, the xl0 device? The xl is physical interface, and there is corresponding physical device. Willy> Again the fundamental question why is the handling of the tap device so Willy> much different from the handling of a normal NIC? One would expect a Willy> similar procedure for initialising NICs! Please correct me if I'm too Willy> naive! Most of the pseudo interface use same manner to create its instance. However, tap and tun were not so until recently. Willy> To be more practical, where should I put `cp /dev/null /dev/tap0`? I Willy> don't have anything like /etc/rc.early. Should there be a trailing dot? Willy> Should I create rc.early? Probably I need to google again and maybe to Willy> read the handbook again. It is "/etc/rc.early". It doesn't exist by default installation of FreeBSD. Sincerely, -- Hajimu UMEMOTO @ Internet Mutual Aid Society Yokohama, Japan ume@mahoroba.org ume@{,jp.}FreeBSD.org http://www.imasy.org/~ume/