I created a git tree for makeshift sg version 4 tools: http://www.kernel.org/git/?p=linux/kernel/git/tomo/sgv4-tools.git;a=summary # not synchronized yet. The interface has changed continuously (and will do). After mainline inclusion, Doug's sg tools support sg v4, I think. Until then, I put tools that I use for sg v4 development. Currently, there is only one tool, sgv4_dd, which can read/write from/to a device via the bsg interface (both ioctl and the read/write interfaces are supported). Here are some examples: # ./sgv4_dd -i /dev/sdb -o /dev/null --count 2 succeeded (read/write interface) # ./sgv4_dd -i /dev/sdb -o /dev/null --count 2 --sgio succeeded (SG_IO) # ./sgv4_dd -i /dev/zero -o /dev/sdb --count 3 --sgio succeeded (SG_IO) # ./sgv4_dd -i /dev/zero -o /dev/sdb --count 3 succeeded (read/write interface) - To unsubscribe from this list: send the line "unsubscribe linux-scsi" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html