Update to 1.34 b2r441

Interim release for testing sg_inq -u.

Signed-off-by: Hannes Reinecke <hare@suse.de>
Add .gitignore
sg_inq: Encode whitespaces for '--export'

When using --export we need to encode whitespaces as otherwise
we'll need to quote the string.
The encoding rules are:
- Encode whitespace with underscore
- Encode consecutive whitespaces with a single underscore
- Strip whitespaces from the start and the end of the string
These rules are for compability with the original scsi_id program.
In addition I've implemented another rule, not found in scsi_id:
- Encode non-printable characters with a dot

Additionally I've added the --export conversion to page 0x80
and implemented some safety guards preventing --export to
be called with anything but page 0x80 and 0x83.

Signed-off-by: Hannes Reinecke <hare@suse.de>
Remove 'missing' from tracking

Another of those blasted autoconf files.

Signed-off-by: Hannes Reinecke <hare@suse.de>
sg_inq: Decode Pre-SPC page 0x83 response

EMC Symmetrix respond with a pre-SPC response when queried for
VPD page 0x83. Decode it correctly.

Signed-off-by: Hannes Reinecke <hare@suse.de>
sg_vpd: Decode Pre-SPC VPD page 0x83 response

EMC Symmetrix respond with a pre-SPC response when queried
for VPD page 0x83. Decode it correctly.

Signed-off-by: Hannes Reinecke <hare@suse.de>
Update to 1.34r447

Signed-off-by: Hannes Reinecke <hare@suse.de>
Update to sg3_utils 1.34 svn r453

Signed-off-by: Hannes Reinecke <hare@suse.de>
sg_copy_results: Fix target descriptor display
sg_copy_results: Update manpage and add decoding for failed segments

Signed-off-by: Hannes Reinecke <hare@suse.de>
sg_xcopy: Use sg_fd to send SCSI commands

We should be using sg_fd to send down SCSI commands; the original
fd might refer to something which doesn't handle sg commands.

Signed-off-by: Hannes Reinecke <hare@suse.de>
sg_xcopy: Make debug messages less verbose
sg_xcopy: Add some more target descriptor decoding
sg_xcopy: Sanitize encode function
sg_xcopy: Move min and max limits into xcopy structure
sg_xcopy: Make default output less verbose
sg_xcopy: Move sector size and number into xcopy struct
sg_xcopy: Update manpage and implement DC handling
Add missing file
Update to 1.34r456

Signed-off-by: Hannes Reinecke <hare@suse.de>