aboutsummaryrefslogtreecommitdiffstats
path: root/include/fuse.h
diff options
context:
space:
mode:
authorMiklos Szeredi <miklos@szeredi.hu>2004-01-26 11:28:44 +0000
committerMiklos Szeredi <miklos@szeredi.hu>2004-01-26 11:28:44 +0000
commit307242f21bf3ca7a0fb0f30da45b5956f47b0250 (patch)
tree746fbdb6e416dcba61f905c19be0c33c52de5939 /include/fuse.h
parente815c03771bfe19a12f9ff76639b28567942903c (diff)
downloadlibfuse-307242f21bf3ca7a0fb0f30da45b5956f47b0250.tar.gz
fix
Diffstat (limited to 'include/fuse.h')
-rw-r--r--include/fuse.h9
1 files changed, 6 insertions, 3 deletions
diff --git a/include/fuse.h b/include/fuse.h
index b85f0d8..c2f0be4 100644
--- a/include/fuse.h
+++ b/include/fuse.h
@@ -86,7 +86,9 @@ typedef int (*fuse_dirfil_t) (fuse_dirh_t h, const char *name, int type);
*
* - read(), write() are not passed a filehandle, but rather a
* pathname. The offset of the read and write is passed as the last
- * argument, like the pread() and pwrite() system calls.
+ * argument, like the pread() and pwrite() system calls. (NOTE:
+ * read() should always return the number of bytes requested, except
+ * at end of file)
*
* - release() is called when an open file has:
* 1) all file descriptors closed
@@ -142,10 +144,11 @@ extern "C" {
* main() function.
*
* This function does the following:
- * - mounts the filesystem
+ * - parses command line options (-d -s and -h)
+ * - passes all options after '--' to the fusermount program
+ * - mounts the filesystem by calling fusermount
* - installs signal handlers for INT, HUP, TERM and PIPE
* - registers an exit handler to unmount the filesystem on program exit
- * - parses command line options (-d -s and -h)
* - creates a fuse handle
* - registers the operations
* - calls either the single-threaded or the multi-threaded event loop