From: Nico Schottelius <nico-kernel@schottelius.org>
To: Linux Kernel Mailing List <linux-kernel@vger.kernel.org>
Subject: /sys: Network device status: link; Hard disks?
Date: Wed, 22 Sep 2004 16:16:30 +0200 [thread overview]
Message-ID: <20040922141630.GE694@schottelius.org> (raw)
[-- Attachment #1: Type: text/plain, Size: 535 bytes --]
Hello everybody!
Will /sys provide details about link status of network cards
and can I also find out what devices are harddisks?
Like having /sys/block/hda/type, which contains "cd-rom" or
"harddisk" or similar.
Or having something like /sys/class/net/eth0/link with 0/1 setting?
I know some or all information can be retrieved somehow differnt
(like using /proc), but shouldn't those be found in /sys?
Just some question on how we can use /sys useful.
Greetings,
Nico
PS: Please CC, I am not subscribed.
[-- Attachment #2: Type: application/pgp-signature, Size: 827 bytes --]
next reply other threads:[~2004-09-22 14:12 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-09-22 14:16 Nico Schottelius [this message]
2004-09-22 14:19 ` Jesper Juhl
2004-09-22 22:25 ` Nico Schottelius
2004-09-22 22:30 ` Stephen Hemminger
2004-09-23 8:57 ` Jesper Juhl
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=20040922141630.GE694@schottelius.org \
--to=nico-kernel@schottelius.org \
--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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®