The netinfo command gives packages and applications
the ability to update the /etc/confnet.d/netdrivers file
in a manner that is independent of the netdrivers file format.
Options
netinfo takes the following options:
-l dev
List all of the devices in netdrivers.
-l proto
List all of the protocols currently mapped to devices in netdrivers.
-u -l dev
List all of the devices that are not mapped to any protocol in netdrivers.
If no information is returned, all the device(s) in the machine are mapped to
an installed protocol.
-u -l proto
List all protocols that are not mapped to any device(s) in netdrivers.
If no information is returned, all of the installed protocols are mapped to
device(s) that are installed in the machine.
-ddevice
List the protocols currently configured for the specified device.
-pprotocol
List the devices currently configured for the specified protocol.
-a -ddevice
Add an entry for device to the netdrivers file.
-a -ddevice-pprotocol
Add an entry in the netdrivers file indicating a mapping between
device and protocol.
-r -ddevice
Remove all entries for the specified device from the netdrivers
file.
This option would be used if you were removing the device from the
machine.
-r -pprotocol
Remove all entries for the specified protocol from the netdrivers
file.
-r -ddevice-pprotocol
Remove the entry mapping for the specified device to protocol from
the netdrivers file.