diff options
author | julian <julian@FreeBSD.org> | 1996-02-18 07:29:53 +0000 |
---|---|---|
committer | julian <julian@FreeBSD.org> | 1996-02-18 07:29:53 +0000 |
commit | 52cfae633c571f2b023ad295f4ef963f166deb46 (patch) | |
tree | ad77459451949b921d10e646b22ff1e119c27556 /sys/miscfs | |
parent | 25079168e1d7d1ff4ab1dffd7ae23e85a4048596 (diff) | |
download | FreeBSD-src-52cfae633c571f2b023ad295f4ef963f166deb46.zip FreeBSD-src-52cfae633c571f2b023ad295f4ef963f166deb46.tar.gz |
really stupid mistake that stopped devices from appearing on the fly in mounted
DEVFS filesystems..
- if ( error = dev_add_name(child->name,parent->dnp
+ if ( error = dev_add_name(child->name,falias->dnp
Ok bruce, this is the one you were seeing..
Diffstat (limited to 'sys/miscfs')
-rw-r--r-- | sys/miscfs/devfs/devfs_tree.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/sys/miscfs/devfs/devfs_tree.c b/sys/miscfs/devfs/devfs_tree.c index 754e4b6..e421b2c 100644 --- a/sys/miscfs/devfs/devfs_tree.c +++ b/sys/miscfs/devfs/devfs_tree.c @@ -2,7 +2,7 @@ /* * Written by Julian Elischer (julian@DIALix.oz.au) * - * $Header: /home/ncvs/src/sys/miscfs/devfs/devfs_tree.c,v 1.16 1996/01/25 07:17:31 phk Exp $ + * $Header: /home/ncvs/src/sys/miscfs/devfs/devfs_tree.c,v 1.17 1996/01/28 10:07:55 phk Exp $ */ #include "param.h" @@ -496,7 +496,7 @@ int devfs_add_fronts(devnm_p parent,devnm_p child) /*proto*/ continue; } } - if ( error = dev_add_name(child->name,parent->dnp + if ( error = dev_add_name(child->name,falias->dnp ,child, dnp,&newnmp)) { if( type == DEV_DIR) { devfs_dn_free(dnp); /* 1->0 */ @@ -896,6 +896,8 @@ int dev_add_entry(char *name, dn_p parent, int type, union typeinfo *by, devnm_p * Add the named device entry into the given directory, and make it * * The appropriate type... (called (sometimes indirectly) by drivers..) * * this function is exported.. see sys/devfsext.h * +* Has the capacity to take printf type arguments to format the device * +* names * \***********************************************************************/ void *devfs_add_devswf( void *devsw, @@ -937,6 +939,7 @@ void *devfs_add_devswf( * Add the named device entry into the given directory, and make it * * The appropriate type... (called (sometimes indirectly) by drivers..) * * this function is exported.. see sys/devfsext.h * +* Possibly this should be 'unexported' in the future.. * \***********************************************************************/ void *devfs_add_devsw(char *path, char *name, |