Results 1 to 2 of 2

Thread: lsscsi, sg3-utils, ddpt, Adaptec USBXchange/USB2Xchange support

  1. #1
    Just burned his ISO
    Join Date
    Jan 2010

    Default lsscsi, sg3-utils, ddpt, Adaptec USBXchange/USB2Xchange support


    This post is to suggest some additions to the BackTrack DVD image. At least lsscsi and sg3-utils are available in the repository (i.e. you can apt-get them); I didn't check whether ddpt is available there yet. IMHO these are useful enough to warrant inclusion in the DVD.

    lsscsi -
    lsscsi is useful to list all connected SCSI devices (that includes IDE/SATA and USB drives too) and the corresponding SCSI generic device (/dev/sgN). Knowing the SCSI generic device corresponding to a block device is useful for several reasons, e.g. using sg_start (from the sg3-utils package) to spin down a hard disk.

    sg3-utils -
    This contains various programs for issuing direct SCSI commands to devices. Useful for data recovery/forensics and more. E.g. sg_start for spinning down a drive. sg_dd is like dd except can perform direct SCSI I/O. (But ddpt is a more recent similar program, see below.) sg_format to issue FORMAT UNIT commands, ...

    ddpt -
    ddpt is a dd-like program, but with some useful extras. It can perform direct SCSI I/O rather than go through the kernel block layer. It can also create an image file sparsely, which can save a huge amount of disk space and time when imaging a disk. You can also easily resume imaging after interrupting part-way through. You can control the size of each I/O request so it's much more efficient than dd for e.g. extracting an arbitrary byte range from a file.

    In some cases, the Linux kernel incorrectly "corrects" the size of a block device making the last sector inaccessible. That's not good for disk imaging/forensic purposes. Using sg_dd or ddpt you can image the entire drive using direct SCSI I/O, bypassing the block layer problem.

    The Adaptec USBXchange and USB2Xchange are SCSI<->USB converters, very useful for accessing data on legacy parallel SCSI drives connected to a modern computer's USB port. In order for them to work in Linux, firmware for them would need to be included. A kernel patch for these was given here.

  2. #2
    Just burned his ISO
    Join Date
    Jan 2010

    Default Re: lsscsi, sg3-utils, ddpt, Adaptec USBXchange/USB2Xchange support

    And another suggestion: the mt-st package should be installed by default.

    The mt-st package provides a much more fully-featured version of mt, which is a program used to control tape drives. It's written by the developer of the Linux st tape driver. (I don't know why Debian/Ubuntu etc. don't include that version by default; it's far more useful than the lame GNU mt.)

Similar Threads

  1. NFS support
    By SQLWin in forum Tool Requests
    Replies: 1
    Last Post: 10-29-2010, 09:20 AM
  2. md5-utils
    By BoboTiG in forum OLD Programming
    Replies: 9
    Last Post: 09-19-2009, 04:07 AM
  3. Can mount nothing (Adaptec SATA Raid)
    By tos-ctv in forum OLD Newbie Area
    Replies: 6
    Last Post: 09-25-2007, 02:16 PM
  4. LVM Support
    By brendan in forum OLD Feature requests
    Replies: 0
    Last Post: 06-06-2007, 04:18 PM
  5. Replies: 2
    Last Post: 03-21-2007, 03:27 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts