summaryrefslogtreecommitdiffstats
path: root/include/pathnames.h
diff options
context:
space:
mode:
authorKarel Zak2012-10-23 12:12:07 +0200
committerKarel Zak2012-10-23 12:21:23 +0200
commita5dc4d2d9567aaa97a5c9ef2f6ce0b5a9124adb8 (patch)
tree63059eaeb2aaaa66c648c1aca0591c97c70d76ff /include/pathnames.h
parentlib/sysfs: add functions for SCSI host attributes (diff)
downloadkernel-qcow2-util-linux-a5dc4d2d9567aaa97a5c9ef2f6ce0b5a9124adb8.tar.gz
kernel-qcow2-util-linux-a5dc4d2d9567aaa97a5c9ef2f6ce0b5a9124adb8.tar.xz
kernel-qcow2-util-linux-a5dc4d2d9567aaa97a5c9ef2f6ce0b5a9124adb8.zip
lib/sysfs: add SCSI link functions
Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'include/pathnames.h')
-rw-r--r--include/pathnames.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/pathnames.h b/include/pathnames.h
index d0ed7a158..58bba519a 100644
--- a/include/pathnames.h
+++ b/include/pathnames.h
@@ -86,6 +86,8 @@
#define _PATH_SYS_BLOCK "/sys/block"
#define _PATH_SYS_DEVBLOCK "/sys/dev/block"
+#define _PATH_SYS_CLASS "/sys/class"
+#define _PATH_SYS_SCSI "/sys/bus/scsi"
#ifndef _PATH_MOUNTED
# ifdef MOUNTED /* deprecated */