All of lore.kernel.org
 help / color / mirror / Atom feed
* /sys: Network device status: link; Hard disks?
@ 2004-09-22 14:16 Nico Schottelius
  2004-09-22 14:19 ` Jesper Juhl
  0 siblings, 1 reply; 5+ messages in thread
From: Nico Schottelius @ 2004-09-22 14:16 UTC (permalink / raw)
  To: Linux Kernel Mailing List

[-- 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 --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2004-09-23  8:59 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-09-22 14:16 /sys: Network device status: link; Hard disks? Nico Schottelius
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

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.