Annotation of researchv8dc/sys/conf/config_how, revision 1.1.1.1

1.1       root        1: config makes the following files for each system:
                      2:        conf.c
                      3:        ioconf.c
                      4:        ubglue.s
                      5:        makefile
                      6:        zillions of header files
                      7: 
                      8: to build a system from scratch,
                      9:        mkdir /usr/sys/sysname
                     10:        cd /usr/sys/sysname
                     11:        (create a machine description in `conf')
                     12:        /etc/config
                     13:        make
                     14: 
                     15: to change a configuration, edit `conf,' run /etc/config, and make.
                     16: 
                     17: to add a piece to the system:
                     18: put the filename in conf/files, with appropriate annotations (device-driver,
                     19: pseudo-device, optional, and all that).
                     20: if it's a device driver, line discipline, or filesystem handler, add an
                     21: entry to conf/devices as well.
                     22: if you just want to test things, addenda to `files' and `devices' can be
                     23: put in /usr/sys/sysname; they'll be treated as if appended to the ones in
                     24: /usr/sys/conf.
                     25: 
                     26: the fields in devices are
                     27:        [standard] typeofthing
                     28:                typeofthing is (character) device, block-device, stream-device,
                     29:                file-system, line-discipline.
                     30:        major device number (or filesystem number, or line discipline number)
                     31:        driver name.  the one you use in the conf file, and in conf/files.
                     32:        driver routine prefix.  see below.
                     33:        entry points:
                     34:                for a block device, some of open close strategy B_TAPE
                     35:                        (the last puts B_TAPE into d_flags in bdevsw)
                     36:                for a character device, open close read write ioctl reset
                     37:                for a stream device or a line discipline, info
                     38:                for a filesystem, put get free updat read write trinc stat nami mount ioctl
                     39: entry points are catenated with the prefix.  example:
                     40: device 13              up      up      read write reset
                     41: defines device up:
                     42: major character device 13
                     43: has entry points named upread upwrite upreset
                     44: 
                     45: default entry points are generally `nodev'.
                     46: exceptions: open close default to `nulldev,' except for stream devices.
                     47: reset defaults to nulldev always.
                     48: info (obviously) defaults to NULL.

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.