From owner-freebsd-net Wed Jun 27 12:14:14 2001 Delivered-To: freebsd-net@freebsd.org Received: from light.imasy.or.jp (light.imasy.or.jp [202.227.24.4]) by hub.freebsd.org (Postfix) with ESMTP id 95C1237B409 for ; Wed, 27 Jun 2001 12:14:09 -0700 (PDT) (envelope-from ume@mahoroba.org) Received: (from uucp@localhost) by light.imasy.or.jp (8.11.3+3.4W/8.11.3/light) with UUCP id f5RJDtE05432; Thu, 28 Jun 2001 04:13:55 +0900 (JST) (envelope-from ume@mahoroba.org) Received: from peace.mahoroba.org (IDENT:QWKhclrrtooIFwuP4SLt6MpfBDb/xKJYYa/5YmmpJfeT5XssSLTAVQ08Fk8bG65W@peace.mahoroba.org [2001:200:301:0:200:f8ff:fe05:3eae]) (authenticated as ume with CRAM-MD5) by mail.mahoroba.org (8.11.4/8.11.4/chaos) with ESMTP/inet6 id f5RJDXm20249; Thu, 28 Jun 2001 04:13:33 +0900 (JST) (envelope-from ume@mahoroba.org) Date: Thu, 28 Jun 2001 04:13:30 +0900 (JST) Message-Id: <20010628.041330.89015911.ume@mahoroba.org> To: brooks@one-eyed-alien.net Cc: itojun@iijlab.net, net@FreeBSD.ORG Subject: Re: review request: network interface cloning From: Hajimu UMEMOTO In-Reply-To: <20010627113803.C12739@Odin.AC.HMC.Edu> References: <20010627112648.B12739@Odin.AC.HMC.Edu> <20010627182511.DCB857C2@starfruit.itojun.org> <20010627113803.C12739@Odin.AC.HMC.Edu> X-Mailer: xcite1.38> Mew version 1.95b119 on Emacs 20.7 / Mule 4.0 =?iso-2022-jp?B?KBskQjJWMWMbKEIp?= X-PGP-Public-Key: http://www.imasy.org/~ume/publickey.asc X-PGP-Fingerprint: 6B 0C 53 FC 5D D0 37 91 05 D0 B3 EF 36 9B 6A BC X-URL: http://www.imasy.org/~ume/ X-Operating-System: FreeBSD 5.0-CURRENT Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >>>>> On Wed, 27 Jun 2001 11:38:03 -0700 >>>>> Brooks Davis said: brooks> On Thu, Jun 28, 2001 at 03:25:11AM +0900, Jun-ichiro itojun Hagino wrote: > >newgif=3D`ifconfig gif# create` > >ifconfig $newgif 10.0.0.1 10.0.0.2 > > you may need to have backslash before #... :-) brooks> Not in /bin/sh anyway (I just tested it). I think the `` part protects brooks> the #. There might be some corner cases, but I'm not sure. Just my thought. Isn't it sufficent without `#', like `ifconfig gif create'? -- Hajimu UMEMOTO @ Internet Mutual Aid Society Yokohama, Japan ume@mahoroba.org ume@bisd.hitachi.co.jp ume@{,jp.}FreeBSD.org http://www.imasy.org/~ume/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message