Chapter 7. Proc pseudo file systemThe proc pseudo file system provides some useful information about the SCSI subsystem. The kernel configuration option that selects "proc_fs" is CONFIG_PROC_FS and in almost all cases it should be selected. SCSI specific information is found under the directory /proc/scsi. Probably the most commonly accessed entry is cat /proc/scsi/scsi which lists the attached SCSI devices. See Section 8.3 for more details. The lower level drivers are allocated proc_fs entries of the form:
The cdrom driver provides information about attached cdrom devices in the /proc/sys/dev/cdrom directory. This will include both SCSI devices (i.e. those controlled by the sr driver) and IDE devices (i.e. those controlled by the ide-cd driver). See Section 9.2.3. The sg driver provides information about its state and attached hosts and devices in the /proc/scsi/sg directory. See Section 9.4.3. More general information on the proc pseudo file system can be found in the kernel source file: /usr/src/linux/Documentation/filesystems/proc.txt. Linux HOWTO full list |
|
This document, LDP HOWTO-INDEX, is copyrighted (c) 1995 - 2002 by Tim Bynum, Guylhem Aznar, Joshua Drake and Greg Ferguson. Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.1 or any later version published by the Free Software Foundation; with no Invariant Sections, with no Front-Cover Texts, and with no Back-Cover Texts. A copy of the license is available at http://www.gnu.org/copyleft/fdl.html. If you have questions, please contact the LDP.
Web Design Copyright © 1999-2003. Chrisranjana Software Solutions Pvt Ltd. syndicate rss feed |