From d816e44ad328b9ccc3663709b4c8713859c4d133 Mon Sep 17 00:00:00 2001 From: hexilee Date: Wed, 14 Jul 2021 00:28:54 +0800 Subject: [PATCH] update README Signed-off-by: hexilee --- README.md | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/README.md b/README.md index 6196a73..3a1bc1c 100644 --- a/README.md +++ b/README.md @@ -70,6 +70,31 @@ mount -t tifs -o tls= tifs: By default, the tls-config should be located in `~/.tifs/tls.toml`, refer to the [tls.toml](config-examples/tls.toml) for detailed configuration. +## Other Custom Mount Options + +### `direct_io` + +Enable global direct io, to avoid page cache. + +```bash +mount -t tifs -o direct_io tifs: +``` +### `blksize` + +Set block size in KiB, 64 by default. + +```bash +mount -t tifs -o blksize=4 tifs: +``` + +### `maxsize` + +The quota of fs capacity, could be human-readable. + +```bash +mount -t tifs -o maxsize=1GiB tifs: +``` + ## Development ```bash