hook in tmpfs
authorChristos Zoulas <christos@zoulas.com>
Wed, 17 Sep 2008 20:55:17 +0000 (20:55 +0000)
committerChristos Zoulas <christos@zoulas.com>
Wed, 17 Sep 2008 20:55:17 +0000 (20:55 +0000)
amd/am_ops.c
amd/amd.h

index 66c362c42444a4e79bfa77518b114428eb5209a5..77145923615c0423b70966a4327bf734e42f8e5e 100644 (file)
@@ -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 */
index 3bee00228aee4f56d8a7e41db90e853720c73975..c9724afded96a2d4e70a50227f2637cc497c7f14 100644 (file)
--- 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.