AT&T UNIX™PC Unix System V Users Manual - tenox

AT&T UNIX™PC Unix System V Users Manual - tenox AT&T UNIX™PC Unix System V Users Manual - tenox

01.01.2013 Views

MASTER ( 4) MASTER (4) NAME master - master device information table DESCRIPTION This file is used by the kernel to obtain device information. The file consists of 3 parts, each separated by a line with a dollar sign ($) in column 1. Part 1 contains device information; part 2 contains names of devices that have aliases; part 3 contains tunable parameter information. Any line with an asterisk (*) in column 1 is treated as a comment. Part 1 contains lines consisting of at least 6 fields, with the fields delimited by tabs and/or blanks: Field 1: device name (8 characters maximum). Field 2: device mask (octal)-each "on" bit indicates that the handler exists: 002000 info 001000 release 000400 strategy 000200 print 000100 initialization handler 000040 power-failure handler 000020 open handler 000010 close handler 000004 read handler 000002 write handler 000001 ioctl handler. Field 3: device line discipline mask (octal)-each "on" bit indicates that the handler exists: 000200 modem interrupt handler 000100 output handler 000040 input handler 000020 ioctl handler 000010 write handler 000004 read handler 000002 close handler 000001 open handler. Field 4: device type indicator (octal): 000200 allow only one of these devices 000100 suppress count field in the conf.c file 000040 suppress interrupt vector 000020 required device 000010 block device 000004 character device 000002 floating vector 000001 fixed vector. Field 5: handler prefix (4 characters maximum). Field 6: major device number for block-type device. Field 7: major device number for character-type device. Part 2 contains lines with 2 fields each: - 1 -

MASTER ( 4) MASTER (4)<br />

NAME<br />

master - master device information table<br />

DESCRIPTION<br />

This file is used by the kernel to obtain device information. The<br />

file consists of 3 parts, each separated by a line with a dollar sign<br />

($) in column 1. Part 1 contains device information; part 2 contains<br />

names of devices that have aliases; part 3 contains tunable<br />

parameter information. Any line with an asterisk (*) in column 1<br />

is treated as a comment.<br />

Part 1 contains lines consisting of at least 6 fields, with the fields<br />

delimited by tabs and/or blanks:<br />

Field 1: device name (8 characters maximum).<br />

Field 2: device mask (octal)-each "on" bit indicates<br />

that the handler exists:<br />

002000 info<br />

001000 release<br />

000400 strategy<br />

000200 print<br />

000100 initialization handler<br />

000040 power-failure handler<br />

000020 open handler<br />

000010 close handler<br />

000004 read handler<br />

000002 write handler<br />

000001 ioctl handler.<br />

Field 3: device line discipline mask (octal)-each "on"<br />

bit indicates that the handler exists:<br />

000200 modem interrupt handler<br />

000100 output handler<br />

000040 input handler<br />

000020 ioctl handler<br />

000010 write handler<br />

000004 read handler<br />

000002 close handler<br />

000001 open handler.<br />

Field 4: device type indicator (octal):<br />

000200 allow only one of these devices<br />

000100 suppress count field in the conf.c<br />

file<br />

000040 suppress interrupt vector<br />

000020 required device<br />

000010 block device<br />

000004 character device<br />

000002 floating vector<br />

000001 fixed vector.<br />

Field 5: handler prefix (4 characters maximum).<br />

Field 6: major device number for block-type device.<br />

Field 7: major device number for character-type device.<br />

Part 2 contains lines with 2 fields each:<br />

- 1 -

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!