Annotation of 43BSDReno/sys/hpstand/volhdr.h, revision 1.1

1.1     ! root        1: /*
        !             2:  * Copyright (c) 1988 University of Utah.
        !             3:  * Copyright (c) 1990 The Regents of the University of California.
        !             4:  * All rights reserved.
        !             5:  *
        !             6:  * This code is derived from software contributed to Berkeley by
        !             7:  * the Systems Programming Group of the University of Utah Computer
        !             8:  * Science Department.
        !             9:  *
        !            10:  * Redistribution is only permitted until one year after the first shipment
        !            11:  * of 4.4BSD by the Regents.  Otherwise, redistribution and use in source and
        !            12:  * binary forms are permitted provided that: (1) source distributions retain
        !            13:  * this entire copyright notice and comment, and (2) distributions including
        !            14:  * binaries display the following acknowledgement:  This product includes
        !            15:  * software developed by the University of California, Berkeley and its
        !            16:  * contributors'' in the documentation or other materials provided with the
        !            17:  * distribution and in all advertising materials mentioning features or use
        !            18:  * of this software.  Neither the name of the University nor the names of
        !            19:  * its contributors may be used to endorse or promote products derived from
        !            20:  * this software without specific prior written permission.
        !            21:  * THIS SOFTWARE IS PROVIDED AS IS'' AND WITHOUT ANY EXPRESS OR IMPLIED
        !            22:  * WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF
        !            23:  * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
        !            24:  *
        !            25:  *     @(#)volhdr.h    7.1 (Berkeley) 5/8/90
        !            26:  */
        !            27: 
        !            28: /*
        !            29:  * vohldr.h: volume header for "LIF" format volumes
        !            30:  */
        !            31: 
        !            32: struct lifvol {
        !            33:        short   vol_id;
        !            34:        char    vol_label[6];
        !            35:        int     vol_addr;
        !            36:        short   vol_oct;
        !            37:        short   vol_dummy;
        !            38:        int     vol_dirsize;
        !            39:        short   vol_version;
        !            40:        short   vol_zero;
        !            41:        int     vol_huh1;
        !            42:        int     vol_huh2;
        !            43:        int     vol_length;
        !            44: };
        !            45: 
        !            46: struct lifdir {
        !            47:        char    dir_name[10];
        !            48:        short   dir_type;
        !            49:        int     dir_addr;
        !            50:        int     dir_length;
        !            51:        char    dir_toc[6];
        !            52:        short   dir_flag;
        !            53:        int     dir_exec;
        !            54: };
        !            55: 
        !            56: /* load header for boot rom */
        !            57: struct load {
        !            58:        int address;
        !            59:        int count;
        !            60: };
        !            61: 
        !            62: #define VOL_ID         -32768
        !            63: #define VOL_OCT                4096
        !            64: #define        DIR_TYPE        -5822
        !            65: #define DIR_FLAG       0x8001  /* dont ask me! */
        !            66: #define        SECTSIZE        256

unix.superglobalmegacorp.com

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