Annotation of coherent/a/usr/man/COHERENT/at, revision 1.1.1.1

1.1       root        1: 
                      2: 
                      3: at                        Device Driver                        at
                      4: 
                      5: 
                      6: 
                      7: 
                      8: Drivers for hard-disk partitions
                      9: 
                     10: 
                     11: /dev/at* are the COHERENT system's AT devices for the hard-disk's
                     12: partitions.  Each device  is assigned major-device number 11, and
                     13: may be accessed as a block- or character-special device.
                     14: 
                     15: The at  hard-disk driver handles two drives with  up to four par-
                     16: titions each.  Minor  devices 0 through 3 identify the partitions
                     17: on drive 0.  Minor devices 4 through 7 identify the partitions on
                     18: drive  1.  Minor  device 128  allows  access to  all of  drive 0.
                     19: Minor device 129 allows access to  all of drive 1.  To modify the
                     20: offsets and sizes of the partitions, use the command fdisk on the
                     21: special device for each drive (minor devices 128 and 129).
                     22: 
                     23: To access a  disk partition through COHERENT, directory /dev must
                     24: contain a  device file that  has the appropriate  type, major and
                     25: minor device numbers,  and permissions.  To create a special file
                     26: for this device, invoke the command mknod as follows:
                     27: 
                     28: 
                     29: /etc/mknod /dev/at0a b 11   0 ; : drive 0, partition 0
                     30: /etc/mknod /dev/at0b b 11   1 ; : drive 0, partition 1
                     31: /etc/mknod /dev/at0c b 11   2 ; : drive 0, partition 2
                     32: /etc/mknod /dev/at0d b 11   3 ; : drive 0, partition 3
                     33: /etc/mknod /dev/at0x b 11 128 ; : drive 0, partition table
                     34: 
                     35: 
                     36: ***** Drive Characteristics *****
                     37: 
                     38: To read the characteristics of a hard disk, use the call to ioctl
                     39: of the following form:
                     40: 
                     41: 
                     42:         #include <sys/hdioctl.h>
                     43:         hdparm_t hdparms;
                     44:                 . . .
                     45:         ioctl(fd, HDGETA, (char *)&hdparms);
                     46: 
                     47: 
                     48: where  fd is  a  file descriptor  for  the hard  disk device  and
                     49: hdparms receives the disk characteristics.
                     50: 
                     51: ***** Non-Standard and Unsupported Types of Drives *****
                     52: 
                     53: Prior releases of the  the COHERENT at hard-disk driver would not
                     54: support disk drives whose  geometry was not supported by the BIOS
                     55: disk  parameter tables.   COHERENT release  3.1 adds  support for
                     56: these  drives  during   installation  by  ``patching''  the  disk
                     57: parameters into the bootstrap and the /coherent image on the hard
                     58: disk.  Please note that if  you intend to move your COHERENT root
                     59: file system from an  unsupported drive to another disk drive, you
                     60: will need  to patch these parameters to  match the drive geometry
                     61: of the new disk drive.
                     62: 
                     63: 
                     64: COHERENT Lexicon                                           Page 1
                     65: 
                     66: 
                     67: 
                     68: 
                     69: at                        Device Driver                        at
                     70: 
                     71: 
                     72: 
                     73: 
                     74: ***** Files *****
                     75: 
                     76: /ddeevv/aatt* -- Block-special files
                     77: /ddeevv/rraatt* -- Character-special files
                     78: 
                     79: ***** See Also *****
                     80: 
                     81: device drivers, fdisk
                     82: 
                     83: 
                     84: 
                     85: 
                     86: 
                     87: 
                     88: 
                     89: 
                     90: 
                     91: 
                     92: 
                     93: 
                     94: 
                     95: 
                     96: 
                     97: 
                     98: 
                     99: 
                    100: 
                    101: 
                    102: 
                    103: 
                    104: 
                    105: 
                    106: 
                    107: 
                    108: 
                    109: 
                    110: 
                    111: 
                    112: 
                    113: 
                    114: 
                    115: 
                    116: 
                    117: 
                    118: 
                    119: 
                    120: 
                    121: 
                    122: 
                    123: 
                    124: 
                    125: 
                    126: 
                    127: 
                    128: 
                    129: 
                    130: COHERENT Lexicon                                           Page 2
                    131: 
                    132: 

unix.superglobalmegacorp.com

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