Subject: Re: Attack of the clones: turning sl*, strip*, ppp* into cloners.
To: Andrew Brown <atatat@atatdot.net>
From: Todd Vierling <tv@wasabisystems.com>
List: tech-net
Date: 02/26/2002 14:53:37
On Tue, 26 Feb 2002, Andrew Brown wrote:

: >pseudo-device ppp 2
: >
: > and have ppp0/ppp1 as I do now?
:
: not currently, no, because in the kernel code that supports ppp, it
: used to check to see how many (possibly zero) interfaces of a specific
: type ( in this case ppp) you wanted, but cloning interfaces simply
: check to see if you want it or not.
:
: that said, adding such a facility for automatic pre-creation of
: cloning interfaces ought not to be very hard.

`Why?'

You *don't need* cloned interfaces to exist at startup.  If you want the
devices up at a certain point in startup, create them there.

With that said, even pppd could be made to create the devices internally,
too.  It's just an ioctl.

-- 
-- Todd Vierling <tv@wasabisystems.com>  *  Wasabi & NetBSD:  Run with it.
-- CDs, Integration, Embedding, Support -- http://www.wasabisystems.com/