All of lore.kernel.org
 help / color / mirror / Atom feed
* sg version 4 tools
@ 2007-02-15  1:39 FUJITA Tomonori
  2007-02-15 16:25 ` Douglas Gilbert
  0 siblings, 1 reply; 4+ messages in thread
From: FUJITA Tomonori @ 2007-02-15  1:39 UTC (permalink / raw)
  To: linux-scsi

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)

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2007-02-15 22:47 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-02-15  1:39 sg version 4 tools FUJITA Tomonori
2007-02-15 16:25 ` Douglas Gilbert
2007-02-15 16:58   ` FUJITA Tomonori
2007-02-15 22:47     ` Jens Axboe

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.