https://bugzilla.novell.com/show_bug.cgi?id=677251 https://bugzilla.novell.com/show_bug.cgi?id=677251#c16 --- Comment #16 from Marius Tomaschewski <mt@novell.com> 2011-03-11 09:47:05 UTC --- OK ... AFAIS, there is a /sys/class/net/eth3.200/host6 directory that can be checked; another (vlan) interfaces don't have any. The directories under host6, seem to be FCoE device specific. When there is always a vlan interface used for FCoE , this script will show all FCoE vlans and the underlying devices: for v in $(ls -1 /proc/net/vlan/ 2>/dev/null) ; do case $v in ""|config) continue ;; esac test -f "/proc/net/vlan/$v" || continue if test -d "/sys/class/net/$v" -a \ -d "/sys/class/net/$v/host6" ; then echo "vlanif=$v" while read key val ; do case $key in Device:) echo "device=$val" ;; esac done < "/proc/net/vlan/$v" 2>/dev/null echo "" fi done Example output: vlanif=eth3.200 device=eth3 -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.