lkml.org 
[lkml]   [2004]   [Sep]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
Subject/sys: Network device status: link; Hard disks?
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.
[unhandled content-type:application/pgp-signature]
\
 
 \ /
  Last update: 2005-03-22 14:06    [W:0.059 / U:0.240 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site