PMODE(8)

NAME
pmode - print mode sense data

SYNOPSIS
pmode [ -f filename ]

DESCRIPTION

The pmode program will parse the data output by the msense(8) program and print in (techno) English readable form.

The optional argument set -f filename can specify input, otherwise standard input is assumed.

EXAMPLE

Sample output might look like:

viper# 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

SEE ALSO
msense(8)