Warning: Attempt to read property "date" on null in /usr/local/www/websvn.planix.org/blame.php on line 247

Warning: Attempt to read property "msg" on null in /usr/local/www/websvn.planix.org/blame.php on line 247
WebSVN – planix.SVN – Blame – /os/branches/feature_fixcpp/sys/src/cmd/scuzz/mo.words – Rev 2

Subversion Repositories planix.SVN

Rev

Go to most recent revision | Details | Last modification | View Log | RSS feed

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