Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 17 Oct 2000 12:02:01 -0500 (CDT)
From:      Chris Dillon <cdillon@wolves.k12.mo.us>
To:        Nick Hibma <n_hibma@qubesoft.com>
Cc:        cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   Re: cvs commit: src/etc usbd.conf
Message-ID:  <Pine.BSF.4.21.0010171135220.72227-100000@mail.wolves.k12.mo.us>
In-Reply-To: <Pine.BSF.4.20.0010161200410.13415-100000@henny.webweaving.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.21.0010171135220.72227-100000>