diff options
| author | Omar Rizwan <omar@omar.website> | 2021-01-11 12:44:43 -0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-01-11 12:44:43 -0800 |
| commit | 6cd6fc2a15caa1f7a6bdcee61e6d48b745eb5706 (patch) | |
| tree | 3cff44b00b51de17483926e339ea74966138b975 | |
| parent | 5f6cad2c71889ba2fd11c0249852f6e0e1c220d4 (diff) | |
| parent | 88925318e0a0e8707315a6ebe76b75d3806ba71b (diff) | |
Merge pull request #53 from yggdr/fix_freebsd
Fix FreeBSD support that broke when multithreading was implemented
| -rw-r--r-- | fs/Makefile | 1 | ||||
| -rw-r--r-- | fs/tabfs.c | 2 |
2 files changed, 3 insertions, 0 deletions
diff --git a/fs/Makefile b/fs/Makefile index 658adb7..622c2df 100644 --- a/fs/Makefile +++ b/fs/Makefile @@ -36,3 +36,4 @@ unmount: killall -9 tabfs || true diskutil unmount force mnt || true fusermount -u mnt || true + umount -f mnt || true @@ -479,8 +479,10 @@ int main(int argc, char **argv) { argv[0], "-f", #if !defined(__APPLE__) +#if !defined(__FreeBSD__) "-oauto_unmount", #endif +#endif "-odirect_io", getenv("TABFS_MOUNT_DIR"), NULL, |
