Annotation of researchv10no/cmd/worm/oscsi/sony/dev.c, revision 1.1

1.1     ! root        1: #include       <stdio.h>
        !             2: #include       "../scsi.h"
        !             3: #include       "../scsish.h"
        !             4: #include       "fns.h"
        !             5: 
        !             6: static Function fns[] = {
        !             7:        { "alternate", "alternate [lun]", "L?", sony_alt },
        !             8:        { "config", "config", "", sony_conf },
        !             9:        { "copy", "copy srclun start n destlun dest", "LIILI", sony_copy },
        !            10:        { "diskid", "diskid [lun]", "L?", sony_diskid },
        !            11:        { "eject", "eject lun", "L", sony_eject },
        !            12:        { "inq", "inq [lun]", "L?", sony_inq },
        !            13:        { "internal", "internal test [drive]  # internal -1 for list", "II?", sony_internal },
        !            14:        { "media", "media lun start count [file]", "LIIS?", sony_media },
        !            15:        { "readid", "readid lun [start]", "LI?", sony_readid },
        !            16:        { "rel", "rel lun [shelfside]", "LS?", sony_rel },
        !            17:        { "sense", "sense [lun=0]", "L?", sony_sense },
        !            18:        { "set", "set shelfside lun", "SL", sony_set },
        !            19:        { "status", "status", "", sony_status },
        !            20:        { 0 }
        !            21: };
        !            22: 
        !            23: Device sonydev = {
        !            24:        "sony", "Sony WDA-3000",
        !            25:        sony_extsense,
        !            26:        fns
        !            27: };

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.