diff options
| author | Michael I. Bushnell <mib@gnu.org> | 1994-07-15 17:36:29 +0000 |
|---|---|---|
| committer | Michael I. Bushnell <mib@gnu.org> | 1994-07-15 17:36:29 +0000 |
| commit | 28f85f65a9b3e1044006394e3862c95017aa7ad6 (patch) | |
| tree | 0615a3c04ef6b68d27aab05be112ea598a62c094 | |
| parent | 7490c7f6549dd620ffc24f396b6fd36151ba0f58 (diff) | |
entered into RCS
| -rw-r--r-- | ufs/dinode.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/ufs/dinode.h b/ufs/dinode.h index 8f9dae0e..00be0d94 100644 --- a/ufs/dinode.h +++ b/ufs/dinode.h @@ -71,6 +71,14 @@ #define NDADDR 12 /* Direct addresses in inode. */ #define NIADDR 3 /* Indirect addresses in inode. */ +/* Maximum value of di_nlink field. */ +#define LINK_MAX 32767 + +/* Indexes into di_ib */ +#define INDIR_SINGLE 0 +#define INDIR_DOUBLE 1 +#define INDIR_TRIPLE 2 /* NOT SUPPORTED */ + struct dinode { u_short di_model; /* 0: IFMT and permissions. */ short di_nlink; /* 2: File link count. */ |
