From: "Christian Bornträger" <linux@borntraeger.net>
To: acme@conectiva.com.br
Cc: linux-kernel@vger.kernel.org
Subject: [BUG 2.5.67 (and probably earlier)] /proc/dev/net doesnt show all net devices
Date: Tue, 29 Apr 2003 14:34:18 +0200 [thread overview]
Message-ID: <200304291434.18272.linux@borntraeger.net> (raw)
Summary: /proc/net/devices doesnt show all devices using cat. With dd all are
available.
I tested a kernels prior to
http://linus.bkbits.net:8080/linux-2.5/cset@1.797.156.3
and it doesnt seem to have this problem.
If I do a
& cat /proc/net/dev
Inter-| Receive | Transmit
face |bytes packets errs drop fifo frame compressed multicast|bytes
packets errs drop fifo colls carrier compressed
lo: 784 10 0 0 0 0 0 0 784
dummy0: 0 0 0 0 0 0 0 0 0
tunl0: 0 0 0 0 0 0 0 0 0
gre0: 0 0 0 0 0 0 0 0 0
sit0: 0 0 0 0 0 0 0 0 0
eth0: 1078024 19131 0 0 0 0 0 0 5696472
eth1:536253967 10078459 0 0 0 0 0 0 3372254868
I get net devices till eth1, but eth2 and hsi0 are available nevertheless.
but if I do a
& dd if=/proc/net/dev bs=4096
Inter-| Receive | Transmit
face |bytes packets errs drop fifo frame compressed multicast|bytes
packets errs drop fifo colls carrier compressed
lo: 1036 13 0 0 0 0 0 0 1036
dummy0: 0 0 0 0 0 0 0 0 0
tunl0: 0 0 0 0 0 0 0 0 0
gre0: 0 0 0 0 0 0 0 0 0
sit0: 0 0 0 0 0 0 0 0 0
eth0: 1182386 18424 0 0 0 0 0 0 11838659
eth1:30499791987 20594094 0 0 0 0 0 0
eth2:184353121774 125264473 0 0 0 0 0 0
hsi0:123569282529 3827611 0 0 0 0 0 0
0+1 records in
0+1 records out
All net devices are shown.
cheers
Christian
next reply other threads:[~2003-04-29 12:22 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-04-29 12:34 Christian Bornträger [this message]
2003-04-29 16:28 ` [BUG 2.5.67 (and probably earlier)] /proc/dev/net doesnt show all net devices Randy.Dunlap
2003-04-29 20:07 ` Randy.Dunlap
2003-04-30 7:11 ` Christian Bornträger
2003-04-30 15:49 ` Randy.Dunlap
2003-04-30 8:12 ` Christian Bornträger
2003-05-01 21:12 ` Randy.Dunlap
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=200304291434.18272.linux@borntraeger.net \
--to=linux@borntraeger.net \
--cc=acme@conectiva.com.br \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.