in reply to SCSI operations in Perl

Well, you've helpfully narrowed things down by stating one of the OSen you're not using. Everyone fire up PSI::ESP and guess what he is using . . .

Replies are listed 'Best First'.
Re^2: SCSI operations in Perl
by xorl (Deacon) on Apr 21, 2005 at 17:45 UTC
    Sounds like a queston from a WinXP user ;-)

    According to http://www.cabal.org.uk/freeware/perl/Device::SCSI.html

    The module is modular (oddly enough), and it would be reasonably simple to extend to support SCSI access on other platforms.
    So just hack around with the code.

    When I come across stuff like this, I realize I'm just a wannabe geek.

      Yes, I do need to make this work on Windows (2003 and 2000, specifically). I'm not easily capable of extending Device::SCSI; otherwise, I'd gladly extend the prior work.

      But, if I do have to try to extend Device::SCSI, do you have any helpful suggestions? For instance, the Linux implementation looks for instances of /dev/sg??; this same technique will not work on Windows (I think). So, what would work, that could be used programatically from Perl?

      Thanks tl

        Nope, Wintendo doesn't have device files. Best guess is going to look and see if there's either a set of Win32 calls for accessing raw SCSI devices, or some DLL which gives you the same which you can get at through Win32::API or the like.

        (I'm not a Wintendo person; does it show? :)