From owner-cvs-all Tue Oct 17 10: 2:10 2000 Delivered-To: cvs-all@freebsd.org Received: from mail.wolves.k12.mo.us (mail.wolves.k12.mo.us [207.160.214.1]) by hub.freebsd.org (Postfix) with ESMTP id 3F40837B4E5; Tue, 17 Oct 2000 10:02:05 -0700 (PDT) Received: from mail.wolves.k12.mo.us (cdillon@mail.wolves.k12.mo.us [207.160.214.1]) by mail.wolves.k12.mo.us (8.9.3/8.9.3) with ESMTP id MAA72656; Tue, 17 Oct 2000 12:02:01 -0500 (CDT) (envelope-from cdillon@wolves.k12.mo.us) Date: Tue, 17 Oct 2000 12:02:01 -0500 (CDT) From: Chris Dillon To: Nick Hibma Cc: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/etc usbd.conf In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Mon, 16 Oct 2000, Nick Hibma wrote: > This won't work as ${DEVNAME} is invalid on detach, so you won't > be able to get at the interface. :-( What is preventing it from being valid? Doing a little test with some printfs in usbd.conf and my USB ZIP drive, DEVNAME is defined on detach, too, not just attach. Do you mean that what is _in_ DEVNAME may not actually be the correct name of the device being detached in certain cases? If it is correct all the time, my patch should work. > The proper solution would be the make dhclient aware of interfaces > that disappear. Once the interface has disappeared it should > terminate. That would be better, of course, but I think DEVNAME should be available on detach, which it appears to be already, assuming it is just as correct as it is during attach. > This would make things work for pccard as well. > > Nick -- Chris Dillon - cdillon@wolves.k12.mo.us - cdillon@inter-linc.net FreeBSD: The fastest and most stable server OS on the planet. For IA32 and Alpha architectures. IA64 and PowerPC under development. http://www.freebsd.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message