Opened 8 months ago

Last modified 7 months ago

#782 new enhancement

Support sg_io_v4 on /dev/bsg/*

Reported by: Circuitsoft Owned by:
Priority: minor Milestone: undecided
Component: all Version: 6.5
Keywords: linux scsi Cc:

Description

This enables usage on /dev/bsg/* devices. It has been trivially tested on my machine.

Attachments (1)

smart_add_bsg.patch (9.1 KB) - added by Circuitsoft 8 months ago.
Patch on top of 6.5 to enable sg_io_v4

Download all attachments as: .zip

Change History (4)

Changed 8 months ago by Circuitsoft

Patch on top of 6.5 to enable sg_io_v4

comment:1 Changed 8 months ago by chrfranke

  • Milestone set to undecided

comment:2 Changed 8 months ago by Circuitsoft

Without this patch, smartctl uses SCSI_IOCTL_SEND_COMMAND when given a /dev/bsg/* device, which results in "program smartctl is using a deprecated SCSI ioctl, please convert it to SG_IO" in dmesg.

comment:3 Changed 7 months ago by chrfranke

  • Keywords linux scsi added
Note: See TracTickets for help on using tickets.