LINUX.IE, website of the Irish Linux Users' Group
Tux rules!

   
Home
New Users
Articles
Download
Projects
Community
Vendors

  Print Version
Email to...
 
Archives:


planetILUG

Recent News

News Archive


Join the
ILUG
on FaceBook


Join the
ILUG
on LinkedIn


Join the
ILUG SETI
Group



















 
 :: Mailing Lists

[ILUG] SCSI drive info in /proc ???

[ILUG] SCSI drive info in /proc ???

Glen Gray glen at antefacto.com
Tue Mar 26 14:04:26 GMT 2002


I'm wanting to get some info about scsi disks on a system using /proc in
a similar way that you can for ide devices. But I don't seem to be able
to find out the info I want.

e.g.

In /proc/ide/ide0/hda there are a few files giving me info about my hda
drive. This info is there for any ide drive.
Under /proc/scsi there is a sub dir for the controller which gives
controller statistics etc and a flat file named scsi. This gives some
basic info about the scsi devices in the scsi chain but it's very
limited, i.e. no geometry or capacity info. This info is available at
boot time as a grep of /var/log/dmesg shows info found by the scsi
driver but I can't find it in /proc

Is there away to get this info from the kernel via /proc ?

-- 
_______________________________________
Glen Gray             Software Engineer
a n t e f a c t o     t: +353 1 8586006
www.antefacto.com     f: +353 1 8586014
181 Parnell Street - Dublin 1 - Ireland





More information about the ILUG mailing list
Read this without the formatting.
                                                                                                    

 

Hosted by HEAnet


Maintained by the ILUG website team. The aim of Linux.ie is to support and help commercial and private users of Linux in Ireland. You can display ILUG news in your own webpages, read backend information to find out how. Networking services kindly provided by HEAnet, server kindly donated by Dell. Linux is a trademark of Linus Torvalds, used with permission. No penguins were harmed in the production or maintenance of this highly praised website. Looking for the Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!
RSS Version
Powered by Dell