From: Christos Zoulas Date: Wed, 17 Sep 2008 20:55:17 +0000 (+0000) Subject: hook in tmpfs X-Git-Url: https://git.fsl.cs.stonybrook.edu/?a=commitdiff_plain;h=25478a5d04f2981b8178d4a8d2a05b9ad7b3b877;p=am-utils-6.1.git hook in tmpfs --- diff --git a/amd/am_ops.c b/amd/am_ops.c index 66c362c..7714592 100644 --- a/amd/am_ops.c +++ b/amd/am_ops.c @@ -111,6 +111,9 @@ static am_ops *vops[] = #ifdef HAVE_FS_CACHEFS &cachefs_ops, /* caching F/S */ #endif /* HAVE_FS_CACHEFS */ +#ifdef HAVE_FS_TMPFS + &tmpfs_ops, /* /tmp (in memory) F/S */ +#endif /* HAVE_FS_TMPFS */ #ifdef HAVE_FS_NULLFS /* FILL IN */ /* null (loopback) F/S */ #endif /* HAVE_FS_NULLFS */ diff --git a/amd/amd.h b/amd/amd.h index 3bee002..c9724af 100644 --- a/amd/amd.h +++ b/amd/amd.h @@ -731,6 +731,12 @@ extern am_ops pcfs_ops; extern am_ops cachefs_ops; #endif /* HAVE_FS_CACHEFS */ +/* + * In memory /tmp filesystem (Linux, NetBSD) + */ +#ifdef HAVE_FS_TMPFS +extern am_ops tmpfs_ops; +#endif /* HAVE_FS_TMPFS */ /* * Network File System * Good, slow, NFS V.2.