Subject: Re: sysinst and sl
To: Jeremy C. Reed <reed@reedmedia.net>
From: Alistair Crooks <agc@pkgsrc.org>
List: tech-install
Date: 02/15/2005 20:39:19
On Tue, Feb 15, 2005 at 08:45:17AM -0800, Jeremy C. Reed wrote:
> I have used slip to do several NetBSD installs using sysinst. But it has
> been a couple years.
>
> My source still has this modification. All it does is remove the sl from
> the ignored_if_names list so sl will be available.
>
> Index: distrib/utils/sysinst/net.c
> ===================================================================
> RCS file: /cvsroot/src/distrib/utils/sysinst/net.c,v
> retrieving revision 1.105
> diff -b -u -r1.105 net.c
> --- distrib/utils/sysinst/net.c 11 Nov 2004 22:10:54 -0000 1.105
> +++ distrib/utils/sysinst/net.c 15 Feb 2005 16:39:00 -0000
> @@ -207,10 +207,10 @@
> "lo", /* net */
> #if 0
> "mdecap", /* netinet -- never in IF list (?) XXX */
> + "sl", /* net */
> #endif
> "nsip", /* netns */
> "ppp", /* net */
> - "sl", /* net */
> "strip", /* net */
> "tun", /* net */
> /* XXX others? */
>
>
> Why isn't sl available?
revision 1.48
date: 1999/06/20 07:55:00; author: cgd; state: Exp; lines: +41 -10
reimplement most of get_ifconfig_info() so that it only ignores network
pseudo-devices. This is done by explicitly listing the driver names
(e.g. "lo") to ignore in an array in this file. Right now, "eon", "gre",
"ipip", "lo", "nsip", "ppp", "sl", "strip", and "tun" are ignored.
> Is this useful for others?
Possibly - but I suspect because you're the first person who's asked
in almost 6 years that others may not have it at such a high priority
as yourself.
> Or too confusing to have in sysinst?
>
> Or should there be some option to be able to manually enter in interface
> name if desired?
That might be handy - do you know if the install kernels have slip in
them - it may have been removed to save some space.
Regards,
Alistair