svn commit: r317755 - head/sbin/ifconfig
Andrey V. Elsukov
bu7cher at yandex.ru
Wed May 3 22:52:04 UTC 2017
On 03.05.2017 22:22, Alan Somers wrote:
> The problem with the original code is that module load errors would be
> caught too late, and as a result the error printed would be less
> useful. For example, if you forgot to put "kld_list=if_igb" in
> /etc/rc.conf and run "ifconfig igb0", it would print "ifconfig:
> interface igb7 does not exist" instead of the more useful "ifconfig:
> kldload(if_igb): Operation not permitted". But I didn't know that
> there were drivers like mlx4en where ifconfig can't load the correct
> module. So I'll take Ryan's suggestion and revert that part for now.
I want to note, that there is if_enc(4) kernel module, that is failed to
be loaded by ifconfig(8) due to presence in the kernel enc(4) driver
(from sys/cam).
--
WBR, Andrey V. Elsukov
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 553 bytes
Desc: OpenPGP digital signature
URL: <http://lists.freebsd.org/pipermail/svn-src-head/attachments/20170504/81e61b6f/attachment.sig>
More information about the svn-src-head
mailing list