From owner-freebsd-net Wed Aug 14 11:26: 6 2002 Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5972E37B400 for ; Wed, 14 Aug 2002 11:26:04 -0700 (PDT) Received: from harmony.village.org (rover.bsdimp.com [204.144.255.66]) by mx1.FreeBSD.org (Postfix) with ESMTP id 47C9F43E6E for ; Wed, 14 Aug 2002 11:26:03 -0700 (PDT) (envelope-from imp@bsdimp.com) Received: from localhost (warner@rover2.village.org [10.0.0.1]) by harmony.village.org (8.12.5/8.12.3) with ESMTP id g7EIPr9R067666; Wed, 14 Aug 2002 12:25:54 -0600 (MDT) (envelope-from imp@bsdimp.com) Date: Wed, 14 Aug 2002 12:25:15 -0600 (MDT) Message-Id: <20020814.122515.26283996.imp@bsdimp.com> To: brooks@one-eyed-alien.net Cc: julian@elischer.org, bde@zeta.org.au, net@FreeBSD.ORG Subject: Re: switching to if_xname from if_name and if_unit From: "M. Warner Losh" In-Reply-To: <20020814105903.A8808@Odin.AC.HMC.Edu> References: <20020814095606.A32608@Odin.AC.HMC.Edu> <20020814105903.A8808@Odin.AC.HMC.Edu> X-Mailer: Mew version 2.1 on Emacs 21.2 / Mule 5.0 (SAKAKI) 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 In message: <20020814105903.A8808@Odin.AC.HMC.Edu> Brooks Davis writes: : > > to use. The obvious thing is strlcpy, but I don't think we have that in : > > the kernel. We could use strncpy with the usual tricks or snprintf. strlcpy is in the kernel now. As for long device names, that's orthogonal to what we're talking about. I'd just go ahead and do this. Warner To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message