summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael I. Bushnell <mib@gnu.org>1994-08-23 20:07:33 +0000
committerMichael I. Bushnell <mib@gnu.org>1994-08-23 20:07:33 +0000
commit61b2053e13ab837beacf255801d3c57a8f5da649 (patch)
treeea81bb6130760f8fd17b7529aee1e76ded876e9f
parent0ae40d2fc772df37494f615c683201c347fae27e (diff)
Formerly fsck.h.~3~
-rw-r--r--bsdfsck/fsck.h10
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 */