The documentation states that
ifquery --list
gives a list of all interfaces specified in /etc/network/interfaces
(and includes). In fact in both Debian Jessie and Ubuntu 14.04 it lists all interfaces that have auto INTERFACENAME
stanza and skips those without auto
line.
Is there a way to list all interfaces that have iface NAME
stanza using ifquery?
No, using ip link list
doesn't do the trick because the interface specified in /etc/network/interfaces
does not have to exist when ifquery
is called.