Re: [PATCH v7 10/33] net: dummy - set name assign type

From: BjÃrn Mork
Date: Thu Jul 10 2014 - 07:45:42 EST


Tom Gundersen <teg@xxxxxxx> writes:

> The result of
>
> modprobe dummy numdummies=2
>
> is to create dummy0 and dummy1, always with the same names.
>
> The result of
>
> ip link add type dummy
>
> is to create dummyX, where X depends on what came before.

Which is no different. That's exacly what happens when
"modprobe dummy numdummies=2" creates the two first interfaces.


ip link add link wwan0 name dummy0 type vlan id 2
modprobe dummy numdummies=2

ends up with dummy1 and dummy2 created by the dummy driver.

You are trying to make up differences that just aren't there.



BjÃrn
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/