diff options
author | Michael I. Bushnell <mib@gnu.org> | 1994-08-23 20:07:33 +0000 |
---|---|---|
committer | Michael I. Bushnell <mib@gnu.org> | 1994-08-23 20:07:33 +0000 |
commit | 61b2053e13ab837beacf255801d3c57a8f5da649 (patch) | |
tree | ea81bb6130760f8fd17b7529aee1e76ded876e9f /bsdfsck | |
parent | 0ae40d2fc772df37494f615c683201c347fae27e (diff) |
Formerly fsck.h.~3~
Diffstat (limited to 'bsdfsck')
-rw-r--r-- | bsdfsck/fsck.h | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/bsdfsck/fsck.h b/bsdfsck/fsck.h index f26f3d8b..ef0bee8f 100644 --- a/bsdfsck/fsck.h +++ b/bsdfsck/fsck.h @@ -31,7 +31,7 @@ * SUCH DAMAGE. * * from: @(#)fsck.h 8.1 (Berkeley) 6/5/93 - * $Id: fsck.h,v 1.2 1994/08/23 19:53:52 mib Exp $ + * $Id: fsck.h,v 1.3 1994/08/23 20:07:33 mib Exp $ */ /* Begin GNU Hurd */ @@ -82,6 +82,14 @@ struct odirtemplate { char dotdot_name[4]; /* ditto */ }; +/* These shouldn't be used by anyone, but fsck seems to need it */ +#define DEV_BSIZE 512 +#define MAXPATHLEN 1024 + +/* Provide mode from struct dinode * */ +#define DI_MODE(dp) (((dp)->di_modeh << 16) & (dp)->di_model) + + /* End GNU Hurd additions */ |