From 25478a5d04f2981b8178d4a8d2a05b9ad7b3b877 Mon Sep 17 00:00:00 2001 From: Christos Zoulas Date: Wed, 17 Sep 2008 20:55:17 +0000 Subject: [PATCH] hook in tmpfs --- amd/am_ops.c | 3 +++ amd/amd.h | 6 ++++++ 2 files changed, 9 insertions(+) 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. -- 2.34.1