z/VM recording device nodes

7.1 z/VM guest

Each recording service has a fixed minor number and a name that corresponds to the name of the service.

Table 1 shows the mapping of names and minor numbers.
Table 1. Device names and minor numbers
z/VM® recording service Standard device name Minor number
*LOGREC logrec 0
*ACCOUNT account 1
*SYMPTOM symptom 2

The major device number for the z/VM recording device driver is assigned dynamically. Read the dev attribute of any one of the z/VM recording devices to find out the major number. The dev attribute is of the form <major>:<minor>.

Example: To read the dev attribute of the logrec device:
# cat /sys/class/vmlogrdr/logrec/dev
254:0

While vmlogrdr registers its driver and device structures with the iucv bus, it also must register a class and a class device under /sys/class. The dev attribute is member of that class device. In the example, the assigned major number is 254 and the minor number is 0, as expected.