[PVFS2-CVS]
commit by neill in pvfs2/include: pvfs2-sysint.h pvfs2-util.h
CVS commit program
cvs at parl.clemson.edu
Fri Mar 19 18:50:54 EST 2004
Update of /projects/cvsroot/pvfs2/include
In directory parlweb:/tmp/cvs-serv16369/include
Modified Files:
pvfs2-sysint.h pvfs2-util.h
Log Message:
- add a first draft cut of the ability to dynamically add and remove
mount entries to the system
- add a simple test program that removes and adds some mount entries -- only
useful if you have a carefully crafted setup (as I do)
- this *might* work, but needs more testing and work
Index: pvfs2-sysint.h
===================================================================
RCS file: /projects/cvsroot/pvfs2/include/pvfs2-sysint.h,v
diff -p -u -r1.26 -r1.27
--- pvfs2-sysint.h 11 Mar 2004 22:49:43 -0000 1.26
+++ pvfs2-sysint.h 19 Mar 2004 23:50:54 -0000 1.27
@@ -138,9 +138,10 @@ typedef struct PVFS_sysresp_getparent_s
int PVFS_sys_initialize(
int debug_mask);
-
-int PVFS_sys_fs_add(struct PVFS_sys_mntent* mntent);
-
+int PVFS_sys_fs_add(
+ struct PVFS_sys_mntent* mntent);
+int PVFS_sys_fs_remove(
+ struct PVFS_sys_mntent* mntent);
int PVFS_sys_finalize(
void);
Index: pvfs2-util.h
===================================================================
RCS file: /projects/cvsroot/pvfs2/include/pvfs2-util.h,v
diff -p -u -r1.17 -r1.18
--- pvfs2-util.h 18 Mar 2004 18:56:55 -0000 1.17
+++ pvfs2-util.h 19 Mar 2004 23:50:54 -0000 1.18
@@ -4,8 +4,8 @@
* See COPYING in top-level directory.
*/
-/* This header includes prototypes for utility functions that may be useful
- * to implementors working at the pvfs2 system interface level.
+/* This header includes prototypes for utility functions that may be
+ * useful to implementors working at the pvfs2 system interface level.
*/
#ifndef __PVFS2_UTIL_H
@@ -34,8 +34,12 @@ int PVFS_util_resolve(
PVFS_fs_id* out_fs_id,
char* out_fs_path,
int out_fs_path_max);
-int PVFS_util_get_default_fsid(PVFS_fs_id* out_fs_id);
-
+int PVFS_util_get_default_fsid(
+ PVFS_fs_id* out_fs_id);
+int PVFS_util_add_internal_mntent(
+ struct PVFS_sys_mntent *mntent);
+int PVFS_util_remove_internal_mntent(
+ struct PVFS_sys_mntent *mntent);
/* path management */
int PVFS_util_lookup_parent(
More information about the PVFS2-CVS
mailing list