From ea24d2b8cbd39c2eba914a7c7695a64cdaee5f06 Mon Sep 17 00:00:00 2001 From: Peter Hatina Date: Mon, 18 Nov 2013 11:51:45 -0800 Subject: [PATCH] Updated Home (markdown) --- Home.md | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/Home.md b/Home.md index 5b8e596..44fc8db 100644 --- a/Home.md +++ b/Home.md @@ -20,6 +20,16 @@ To install the driver, follow these steps: $ make install (as root) ``` +The project can be set to use custom directory for temporary files. To configure +the simple-mtpfs to use desired temporary directory, add `--with-tmpdir=TMPDIR` +option to configure script. Default value for temporary directory is `/tmp`. This +option can be handy, if e.g. `/tmp` is mounted using tmpfs and you are running a +system with little physical memory. + +**NOTE:** This option modifies the **default** directory (set at compile time) +for the simple-mtpfs. Anytime, you can override this setting by exporting environment +variable `TMP` or `TMPDIR`. + If you got the sources from git repository, first you have to run: ```sh $ ./autogen.sh