inode.h (23347) | inode.h (24477) |
---|---|
1/* 2 * Copyright (c) 1982, 1989, 1993 3 * The Regents of the University of California. All rights reserved. 4 * (c) UNIX System Laboratories, Inc. 5 * All or some portions of this file are derived from material licensed 6 * to the University of California by American Telephone and Telegraph 7 * Co. or Unix System Laboratories, Inc. and are reproduced herein with 8 * the permission of UNIX System Laboratories, Inc. --- 22 unchanged lines hidden (view full) --- 31 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 32 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 33 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 34 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 35 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 36 * SUCH DAMAGE. 37 * 38 * @(#)inode.h 8.9 (Berkeley) 5/14/95 | 1/* 2 * Copyright (c) 1982, 1989, 1993 3 * The Regents of the University of California. All rights reserved. 4 * (c) UNIX System Laboratories, Inc. 5 * All or some portions of this file are derived from material licensed 6 * to the University of California by American Telephone and Telegraph 7 * Co. or Unix System Laboratories, Inc. and are reproduced herein with 8 * the permission of UNIX System Laboratories, Inc. --- 22 unchanged lines hidden (view full) --- 31 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 32 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 33 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 34 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 35 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 36 * SUCH DAMAGE. 37 * 38 * @(#)inode.h 8.9 (Berkeley) 5/14/95 |
39 * $Id: inode.h,v 1.12 1997/02/22 09:47:42 peter Exp $ | 39 * $Id: inode.h,v 1.13 1997/03/03 16:25:46 bde Exp $ |
40 */ 41 42#ifndef _UFS_UFS_INODE_H_ 43#define _UFS_UFS_INODE_H_ 44 | 40 */ 41 42#ifndef _UFS_UFS_INODE_H_ 43#define _UFS_UFS_INODE_H_ 44 |
45#include <ufs/ufs/dir.h> | |
46#include <ufs/ufs/dinode.h> 47 48/* | 45#include <ufs/ufs/dinode.h> 46 47/* |
48 * This must agree with the definition in <ufs/ufs/dir.h>. 49 */ 50#define doff_t int32_t 51 52/* |
|
49 * The inode is used to describe each active (or recently active) file in the 50 * UFS filesystem. It is composed of two types of information. The first part 51 * is the information that is needed only while the file is active (such as 52 * the identity of the file and linkage to speed its lookup). The second part 53 * is the permanent meta-data associated with the file which is read in 54 * from the permanent dinode from long term storage when the file becomes 55 * active, and is put back when the file is no longer being used. 56 */ --- 112 unchanged lines hidden --- | 53 * The inode is used to describe each active (or recently active) file in the 54 * UFS filesystem. It is composed of two types of information. The first part 55 * is the information that is needed only while the file is active (such as 56 * the identity of the file and linkage to speed its lookup). The second part 57 * is the permanent meta-data associated with the file which is read in 58 * from the permanent dinode from long term storage when the file becomes 59 * active, and is put back when the file is no longer being used. 60 */ --- 112 unchanged lines hidden --- |