X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=extras%2Fscsi_id%2Fscsi_id.8;h=0221b9883114facda0ed8b6cff4639ac5833d040;hb=1230d021bd75de9b1503bbaa807d6a59789963db;hp=725b7d5317c3d5d17f0bfb75c239b7aa17f26e14;hpb=138cf75e4eda54ab519c0d77ad3ca4b467dfe7ec;p=elogind.git diff --git a/extras/scsi_id/scsi_id.8 b/extras/scsi_id/scsi_id.8 index 725b7d531..0221b9883 100644 --- a/extras/scsi_id/scsi_id.8 +++ b/extras/scsi_id/scsi_id.8 @@ -17,7 +17,7 @@ with a non\-zero value. \fBscsi_id\fP is primarily for use by other utilities such as \fBudev\fP that require a unique SCSI identifier. -By default all devices are assume black listed, the \fB\-\-whitelisted\fP option must +By default all devices are assumed black listed, the \fB\-\-whitelisted\fP option must be specified on the command line or in the config file for any useful behaviour. @@ -33,7 +33,7 @@ by page 0x80. For example: .sp .nf -# scsi_id --page=0x80 --devpath=/block/sdg +# /lib/udev/scsi_id \-\-page=0x80 \-\-whitelisted \-\-device=/dev/sda SIBM 3542 1T05078453 .fi .P @@ -45,7 +45,7 @@ identifier starts with the NAA value of 6): .sp .nf -# scsi_id --page=0x83 --devpath=/block/sdg +# /lib/udev/scsi_id \-\-page=0x83 \-\-whitelisted \-\-device=/dev/sda 3600a0b80000b174b000000d63efc5c8c .fi .P @@ -98,20 +98,16 @@ Generate verbose debugging output. Display version number and exit. .RE -.SH ENVIRONMENT - -If the DEVPATH environment variable is set, scsi_id assumes it has been -invoked via udev (or some other hotplug program), and all errors or -warnings are sent using syslog. -.P - .SH "FILES" .nf .ft B .ft .TP \fI/etc/scsi_id.config\fP -configuration and black/white list entries +Configuration of black/white list entries and per device options: +# one config per line, short match strings match longer strings +# vendor=string[,model=string],options= +vendor="ATA",options=-p 0x80 .RE .fi .LP