The pmode program parses the data output by the msense program and prints the output in a format that you can read.
The following example describes the format and options available for the pmode program:
pmode [-f filename] |
Use the -f filename option to specify the input file to use for the pmode program (the file output from the msense program). If you do not specify the input, standard input is assumed.
The output from the pmode program is similar to the following:
mars# msense -a 0.0.0 -p 0x03 | pmode Mode Header: mdl=35 mtype=0x0 dparm=0x10 bdlen=8 Block Desc[0]: dens=0x0 nblks=3933040 blklen=512 Fixed Page, code 0x03 (Format Device): tracks_per_zone: 0xf alt_sectors_per_zone: 0x22 alt_tracks_per_zone: 0x0 alt_tracks_per_vol: 0x0 sectors_per_track: 0x5e data_bytes_per_sect: 0x200 interleave: 0x1 track_skew_factor: 0x8 cylinder_skew_factor: 0x11 SSEC: 0x0 HSEC: 0x1 RMB: 0x0 SURF: 0x0 |