DASDVIEW(8)
πΈ NAME πΈ
okay bestie, this is dasdview(8) from the System Managerβs Manual π β the icon that shows you DASD and VTOC info and dumps the content of a DASD straight to the console. slay.
dasdview β display DASD and VTOC information and dump the content of a DASD to the console. periodt.
β¨ SYNOPSIS β¨
dasdview [-h] [-v]
[-b begin] [-s size] [-1|-2]
[-i] [-x] [-j] [-c]
[-l] [-t {info|f1|f3|f4|f5|f7|f8|f9}]
device
π¦ DESCRIPTION π¦
okay so dasdview prints you some useful information about your disks to the console. You can display a disk dump by specifying a start point and offset, and you can print the volume label and VTOC entries. The device is the node of the device (e.g. /dev/dasda). Any device node created by udev for kernel 2.6 can be used (e.g. /dev/dasd/0.0.b100/disc).
DASD devices in raw_track_access mode are supported and detected automatically. When in raw_track_access mode, the same basic functions are available as in the regular mode, but the output may have a slightly different layout:
- The disk dump functions (
-band-s) print the count, key and data information for the whole track, and not just the contents of the data areas. - The VTOC listing (
-t) prints all specified DSCBs in the same format as in the regular mode, but in the sequence as they appear in the VTOC. The-t infooverview contains more details for each data set than in the regular mode, to support the larger variety of data set layouts.
π OPTIONS π
-hor--helpβ print usage and exit. bye bestie π-vor--versionβ print version number and exit. cute and concise.-b beginor--begin=beginβ print a disk dump to the console, starting withbegin. The content of the disk will be displayed in hexadecimal numbers, ASCII text and EBCDIC text. If no size is specified,dasdviewwill take the default size. The variablebegincan be specified in one of the following ways:
begin[k|m|b|t|c]
The default for begin is 0.
Note 1:dasdviewwill show you the content of your disk using the DASD driver. If this driver decides to hide or add some parts of the disk, you have to live with it. This happens for example with the first two tracks of acdl-formatteddisk. In this case the DASD driver fills up shorter blocks with zeros to have a constant blocksize. And all applications, includingdasdview, believe it. Note 2: Inraw_track_accessmodebeginmust be aligned to track boundaries. A simple way to do that is to specify a track or cylinder as starting point.
examples:
-b 32 --> start printing at Byte 32
-b 32k --> start printing at kByte 32
-b 32m --> start printing at MByte 32
-b 32b --> start printing at block 32
-b 32t --> start printing at track 32
-b 32c --> start printing at cylinder 32
-s sizeor--size=sizeβ print a disk dump to the console, starting withbegin(set with-b) and with the givensize. The content of the disk will be displayed in hexadecimal numbers, ASCII text and EBCDIC text. If no start value is specified,dasdviewwill take the default start value. The variablesizecan be specified in one of the following ways:
size[k|m|b|t|c]
Note: Inraw_track_accessmodesizemust be a multiple of one track. A simple way to do that is to specify the size in tracks or cylinders.
The default for size is 128 in regular mode and 1t in raw_track_access mode.
examples:
-s 16 --> use a 16 Byte size
-s 16k --> use a 16 kByte size
-s 16m --> use a 16 MByte size
-s 16b --> use a 16 block size
-s 16t --> use a 16 track size
-s 16c --> use a 16 cylinder size
-1β telldasdviewto print the disk dump using format 1. This means you get 16 Bytes per line in hex, ascii and ebcdic. There is no line number. The-1option makes only sense with the-band/or the-soptions. This is the default. πββοΈ-2β telldasdviewto print the disk dump using format 2. This means you get 8 Bytes per line in hex, ascii and ebcdic. And in addition a line number and a decimal and hexadecimal byte count will be printed. The-2option makes only sense with the-band/or the-soptions. Inraw_track_accessmode this format is not supported and the option will be ignored.-ior--infoβ print some useful information (e.g. device node/number/type or geometry data). When runningdasdviewon a kernel 2.6 based distribution, thebusidis printed instead of the device number.-xor--extendedβ print some more DASD information (e.g. open count, subchannel identifier).-jor--volserβ print volume serial number (volume identifier).-lor--labelβ print the volume label.-cor--characteristicβ print some information about the device, e.g. if it is encrypted.-t specor--vtoc=specβ print the VTOC (table of content) or single VTOC entries to the console.speccan be one of the following strings:info: gives you a VTOC overview. You will see what other S/390 or zSeries operating systems would see (e.g. data set names and sizes).f1: print the content of all format 1 DSCBs.f3: print the content of all format 3 DSCBs.f4: print the content of the format 4 DSCB.f5: print the content of the format 5 DSCB.f7: print the content of the format 7 DSCB.f8: print the content of all format 8 DSCBs.f9: print the content of all format 9 DSCBs.all: print the content of all DSCBs.
xoxo, your Unix bestie π β this cutie comes from s390-tools, dated Apr 2006, and yes itβs the DASDVIEW(8) manual. mwah πβ¨
π¦ where this page comes from
- opensuse-leap 16.0: s390-tools 2.44.1-160000.1.1 Β· MIT
- Copyright 2017 IBM Corp
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms