diff options
author | julian <julian@FreeBSD.org> | 1995-09-06 09:29:19 +0000 |
---|---|---|
committer | julian <julian@FreeBSD.org> | 1995-09-06 09:29:19 +0000 |
commit | f7089aa4c2860ffcb56a968fd5214c29ebbc8e26 (patch) | |
tree | 72842ab9fa12261a78b5eb2fb92f7ceb2c549baa /sys/miscfs/devfs/devfsdefs.h | |
parent | 471a11053d7f49fa40e00f8357e2bec0495eb248 (diff) | |
download | FreeBSD-src-f7089aa4c2860ffcb56a968fd5214c29ebbc8e26.zip FreeBSD-src-f7089aa4c2860ffcb56a968fd5214c29ebbc8e26.tar.gz |
more devfs cleanups..
if this keeps simplifying there won't be any left :)
Diffstat (limited to 'sys/miscfs/devfs/devfsdefs.h')
-rw-r--r-- | sys/miscfs/devfs/devfsdefs.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/sys/miscfs/devfs/devfsdefs.h b/sys/miscfs/devfs/devfsdefs.h index c6216e2..1a96745 100644 --- a/sys/miscfs/devfs/devfsdefs.h +++ b/sys/miscfs/devfs/devfsdefs.h @@ -1,3 +1,4 @@ +#define DEVFS_DEBUG 1 #ifdef DEVFS_DEBUG #define DBPRINT(A) printf(A) #else @@ -7,11 +8,13 @@ /* * Written by Julian Elischer (julian@DIALIX.oz.au) * - * $Header: /home/ncvs/src/sys/miscfs/devfs/devfsdefs.h,v 1.3 1995/05/03 23:06:31 julian Exp $ + * $Header: /home/ncvs/src/sys/miscfs/devfs/devfsdefs.h,v 1.4 1995/05/30 08:06:55 rgrimes Exp $ */ /* first a couple of defines for compatibility with inodes */ +#define M_DEVFSNAME M_DEVFSBACK + #define ISUID 04000 /* set user identifier when exec'ing */ #define ISGID 02000 /* set group identifier when exec'ing */ #define ISVTX 01000 /* save execution information on exit */ @@ -132,21 +135,18 @@ struct dev_name union { struct { devnm_p aliases; /* aliase chain (kill with us)*/ - int alias_count; /* # 'alias' nodes for us. */ } back; struct { devnm_p realthing; /* ptr to the backing node */ - devnm_p file_node; /* our file node */ - } front; } as; /*-----------------------the front-back chain-------------*/ devnm_p next_front; /* the linked list of all our front nodes */ devnm_p *prev_frontp; /* the end of the front node chain */ - int frontcount; /* number of front nodes that reference us*/ }; typedef struct dev_name devnm_t; +extern int devfs_up_and_going; extern devnm_p dev_root; |