aboutsummaryrefslogtreecommitdiffstats
path: root/fs/tabfs.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/tabfs.c')
-rw-r--r--fs/tabfs.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/fs/tabfs.c b/fs/tabfs.c
index 103bec8..8c28dab 100644
--- a/fs/tabfs.c
+++ b/fs/tabfs.c
@@ -1,3 +1,9 @@
+// This file should rarely need to be changed. (which is intentional,
+// because it is a pain to program here, it's a pain to recompile and
+// reload it, and it's a pain to debug it.) Most of the behavior of
+// TabFS -- the definitions of the synthetic files -- lives on the
+// extension side, not here.
+
#include <stdlib.h>
#include <stdio.h>
#include <unistd.h>
@@ -439,7 +445,6 @@ static const struct fuse_operations tabfs_oper = {
int main(int argc, char **argv) {
(void)argc;
-
if (NULL == getenv("TABFS_MOUNT_DIR")) {
setenv("TABFS_MOUNT_DIR", "mnt", 1);
}
@@ -467,6 +472,7 @@ int main(int argc, char **argv) {
eprintln("pthread_create: %s", strerror(err));
exit(1);
}
+
pthread_detach(thread);
char *fuse_argv[] = {