chiark / gitweb /
[PATCH] Added multipath-tools 0.1.1 release
[elogind.git] / extras / multipath-tools / multipathd / devinfo.h
1 #define INQUIRY_CMDLEN  6
2 #define INQUIRY_CMD     0x12
3 #define SENSE_BUFF_LEN  32
4 #define DEF_TIMEOUT     60000
5 #define RECOVERED_ERROR 0x01
6 #define MX_ALLOC_LEN    255
7 #define WWID_SIZE       33
8 #define BLKGETSIZE      _IO(0x12,96)
9
10 /* exerpt from "sg_err.h" */
11 #define SCSI_CHECK_CONDITION    0x2
12 #define SCSI_COMMAND_TERMINATED 0x22
13 #define SG_ERR_DRIVER_SENSE     0x08
14
15 int get_lun_strings (char *, char *, char *, char *);