Plan 9 from Bell Labs’s /usr/web/sources/plan9/sys/src/cmd/scuzz/mo.words

Copyright © 2021 Plan 9 Foundation.
Distributed under the MIT License.
Download the Plan 9 distribution.


/*
 * 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
 */

Bell Labs OSI certified Powered by Plan 9

(Return to Plan 9 Home Page)

Copyright © 2021 Plan 9 Foundation. All Rights Reserved.
Comments to webmaster@9p.io.