summaryrefslogtreecommitdiff
path: root/sys/src/cmd/scuzz/mo.words
blob: 662e14d8ca764bf7cc7a3ccba893c198d5ff7dee (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
/*
 * these scuzz modesense commands return the following for an hp worm drive:
 *
 * modesense
 *  Header
 *     00 5E 02 90 00 00 00 08
 *  Block 0
 *     00 13 47 70 00 00 08 00    (density 00 blocks 1263472 length 2048)
 *  Page 01 10
 *     80 05 00 00 00 00 05 00 00 00
 *  Page 02 14
 *     20 20 00 00 00 00 00 00 00 20 00 00 00 00
 *  Page 08 10
 *     06 00 00 40 00 01 00 01 00 40
 *  Page 0A 6
 *     00 00 00 00 00 00
 *  Page 0B 6
 *     00 00 02 03 00 00
 *  Page 20 10
 *     04 00 00 00 00 00 00 00 00 18
 *  Page 21 10
 *     00 00 01 00 02 00 00 00 00 00
 *  Page 00 0
 *
 * modesense6
 *  Header
 *     5B 02 90 08
 *  Block 0
 *     00 13 47 70 00 00 08 00    (density 00 blocks 1263472 length 2048)
 *  Page 01 10
 *     80 05 00 00 00 00 05 00 00 00
 *  Page 02 14
 *     20 20 00 00 00 00 00 00 00 20 00 00 00 00
 *  Page 08 10
 *     06 00 00 40 00 01 00 01 00 40
 *  Page 0A 6
 *     00 00 00 00 00 00
 *  Page 0B 6
 *     00 00 02 03 00 00
 *  Page 20 10
 *     04 00 00 00 00 00 00 00 00 18
 *  Page 21 10
 *     00 00 01 00 02 00 00 00 00 00
 *  Page 00 0
 *     Page 00 0
 *    ok 92
 *
 * the drive is:
 *
 * # cat ctl
 * inquiry HP      C1113J          1.099904323710    8XMO  
 * geometry 1263472 2048
 * part data 0 1263472
 */