Merge branch 'clone_fd'
[fuse.git] / ChangeLog
blob342f91d558ac396f872bc6903b956e7208ab8765
1 2015-08-12  Miklos Szeredi <miklos@szeredi.hu>
3         * libfuse: fix warning mount.c:receive_fd().  Reported by Albert
4         Berger
6         * libfuse: added fuse_pkgversion() function to retrieve the full
7         version string, per autoconf.  Patch by Christopher Harrison
9 2015-06-29  Miklos Szeredi <miklos@szeredi.hu>
11         * libfuse: fix possible memory leak.  Reported by Jose R. Guzman
13 2015-05-26  Miklos Szeredi <miklos@szeredi.hu>
15         * Use system directory for system-wide udev rules by default. This
16         ensures that fuse functions correctly on stateless operating
17         systems without requiring use of the site configuration directory
18         (/etc/).  Patch by Ikey Doherty
20 2015-05-23  Miklos Szeredi <miklos@szeredi.hu>
22         * libfuse: refcount fuse_chan objects.  New functions:
23         fuse_chan_get(), fuse_chan_put().  Removed function:
24         fuse_chan_destroy().
26         * libfuse: add "clone_fd" option.  This creates a separate device
27         file descriptor for each processing thread, which might improve
28         performance.
30 2015-05-22  Miklos Szeredi <miklos@szeredi.hu>
32         * libfuse: fix exec environment for mount and umount.  Found by
33         Tavis Ormandy (CVE-2015-3202).
35 2015-04-23  Miklos Szeredi <miklos@szeredi.hu>
37         * libfuse: add FUSE_CAP_NO_OPEN_SUPPORT flag to ->init()
39 2015-02-26  Miklos Szeredi <miklos@szeredi.hu>
41         * libfuse: fix fuse_remove_signal_handlers() to properly restore
42         the default signal handler.  Reported by: Chris Johnson
44         * libfuse: fix handling of '.' and '..' in highlevel readdirplus
46 2014-07-21  Miklos Szeredi <miklos@szeredi.hu>
48         * libfuse: highlevel API: fix directory file handle passed to
49         ioctl() method.  Reported by Eric Biggers
51 2014-07-15  Miklos Szeredi <miklos@szeredi.hu>
53         * libfuse: document deadlock avoidance for
54         fuse_notify_inval_entry() and fuse_notify_delete()
56         * fusermount, libfuse: send value as unsigned in "user_id=" and
57         "group_id=" options.  Uids/gids larger than 2147483647 would
58         result in EINVAL when mounting the filesystem.  This also needs a
59         fix in the kernel.
61         * libfuse: add "time_gran" option.  This allows the filesystem to
62         specify the time granularity it supports when the kernel is
63         responsible for updating times ("writeback_cache" option).
65         * libfuse: allow setting ctime in ->setattr()
67         * libfuse: add flags to ->rename().  See renameat2() system call
68         in linux-3.15 and later kernels.
70 2014-03-26  Miklos Szeredi <miklos@szeredi.hu>
72         * Initialize stat buffer passed to ->getattr() and ->fgetattr() to
73         zero in all cases.  Reported by Daniel Iwan
75 2014-03-05  Miklos Szeredi <miklos@szeredi.hu>
77         * libfuse: implement readdirplus for high-level API.  Reuse the
78         old "readdir" callback, but add a flags argument, that has
79         FUSE_READDIR_PLUS in case this is a "plus" version.  Filesystems
80         can safely ignore this flag, but if they want they can add
81         optimizations based on it: i.e. only retrieve the full attributes
82         in PLUS mode.  The filler function is also given a flags argument
83         and the filesystem can set FUSE_FILL_DIR_PLUS if all the
84         attributes in "stat" are valid.  Original patch by Eric Wong
86 2014-02-21  Miklos Szeredi <miklos@szeredi.hu>
88         * libfuse: added fuse_lo-plus.c to the examples
90 2014-02-04  Miklos Szeredi <miklos@szeredi.hu>
92         * libfuse: Don't use constructor functions for loading modules.
93         Original patch by Fabrice Bauzac
95 2014-01-29  Miklos Szeredi <miklos@szeredi.hu>
97         * libfuse: Add "async_dio" and "writeback_cache" options.
98         Asynchronous direct I/O is supported by linux kernels 3.13 and
99         later, writeback caching is supported by 3.14 and later.
101 2013-08-26  Miklos Szeredi <miklos@szeredi.hu>
103         * libfuse: Add missing includes.  This allows compiling fuse with
104         musl.  Patch by Daniel Thau
106 2013-07-26  Miklos Szeredi <miklos@szeredi.hu>
108         * Print help on stdout instead of stderr
110 2013-07-25  Miklos Szeredi <miklos@szeredi.hu>
112         * libfuse: fuse -> fuse3.  Allow 2.X and 3.X to coexist.  Includes
113         are now stored under /usr/include/fuse3 and library is named
114         libfuse3.*.  Invoke pkg-config with "fuse3" as the first argument
115         to build with version 3 of the library.
117         * ulockmgr: strip ulockmgr support from this source package and
118         distribute it separately.  It is not needed for the building of
119         libfuse, only fusexmp_fh.  Check ulockmgr library in ./configure
120         and if not disable remote-lock suport in fusexmp_fh.
122 2013-07-24  Miklos Szeredi <miklos@szeredi.hu>
124         * libfuse: remove "-D_FILE_OFFSET_BITS=64" from fuse.pc, add
125         AC_SYS_LARGEFILE to your configure.ac instead.
127 2013-06-21  Miklos Szeredi <miklos@szeredi.hu>
129         * libfuse: set FD_CLOEXEC also when receiving device fd from
130         fusermount
132 2013-06-20  Miklos Szeredi <miklos@szeredi.hu>
134         * libfuse: fix multiple close of device fd.  Reported by Dan
135         Greenfield
137 2013-03-19  Miklos Szeredi <miklos@szeredi.hu>
139         * libfuse: fix thread cancel race.  Exiting a worker my race with
140         cancelling that same worker.  This caused a segmenation
141         fault. Reported and tested by Anatol Pomozov
143 2013-02-20  Miklos Szeredi <miklos@szeredi.hu>
145         * libfuse: change the type of fuse_ino_t from 'unsigned long' to
146         'uint64_t'
148         * libfuse: use O_CLOEXEC flag when opening /dev/fuse device.
149         Patch by Richard W.M. Jones
151         * libfuse: don't force -D_FILE_OFFSET_BITS=64 in pkgconfig file.
152         Patch by Richard W.M. Jones
154 2013-02-19  Miklos Szeredi <miklos@szeredi.hu>
156         * fuse_daemonize(): chdir to "/" even if not running in the
157         background for consistency.  Reported by Vladimir Rutsky
159 2013-02-18  Miklos Szeredi <miklos@szeredi.hu>
161         * fuse_opt_parse(): when storing a newly allocated string for
162         format "%s", free the previous value stored at that location.
163         Reported by Marco Schuster
165 2013-02-07  Miklos Szeredi <miklos@szeredi.hu>
167         * libfuse: add readdirplus support in fuse_lowlevel_ops.  Patch by
168         Feng Shuo
170         * libfuse: add poll_events to fuse_file_info.  Patch by Enke Chen
172         * libfuse: fix fs cleanup.  Reported by Eric Wong
174         * libfuse: pass security context options to kernel.  Patch by
175         Dalvik Khertel
177         * libfuse: remove deprecated features:
178         - fuse_is_lib_option()
179         - fuse_invalidate()
180         - fuse_set_getcontext_func()
181         - fuse_loop_mt_proc()
182         - fuse_read_cmd()
183         - fuse_process_cmd()
184         - fuse_setup()
185         - fuse_teardown()
186         - fuse_exited()
187         - fuse_lowlevel_is_lib_option()
188         - fuse_operations.getdir()
189         - fuse_operations.utime()
190         - fuse_operations.utime_omit_ok
192 2013-02-06  Miklos Szeredi <miklos@szeredi.hu>
194         * libfuse: set close-on-exec flag on pipe file descriptors.  Patch
195         by Eric Wong
197         * libfuse: add missing INIT flags
199 2013-02-05  Miklos Szeredi <miklos@szeredi.hu>
201         * libfuse: fix fuse_get_context() in non fuse threads.  Reported
202         by Michael Berlin
204 2013-02-04  Miklos Szeredi <miklos@szeredi.hu>
206         * libfuse: fix crash in unlock_path().  Patch by Ratna Manoj
208         * libfuse: fix the 'remember' option.  The lru list was not
209         initialized for the "/" path.  This resulted in remove_node_lru()
210         crashing on LOOKUP-DOTDOT.  Patch by Madan Valluri
212         * libfuse: configure: detect new util-linux
214         * libfuse: Use AC_CONFIG_HEADERS instead of AM_CONFIG_HEADER.
215         Patch by Anatol Pomozov
217         * libfuse: rename ./configure.in to ./configure.ac.  Patch by
218         Anatol Pomozov
220 2012-10-01  Miklos Szeredi <miklos@szeredi.hu>
222         * Released 2.9.2
224 2012-10-01  Miklos Szeredi <miklos@szeredi.hu>
226         * Fix deadlock in libfuse.  Running "svn update" on a fuse
227         filesystem could deadlock because of a bug in the way the paths
228         are locked.  Reported by Kazuaki Anami
230 2012-08-23  Miklos Szeredi <miklos@szeredi.hu>
232         * Fix missing config.h in buffer.c.  Reported by Matthew Gabeler-Lee
234 2012-08-14  Miklos Szeredi <miklos@szeredi.hu>
236         * Not unhashing the name in forget (commit on 2011-12-09) broke
237         the forget logic in a subtle way, resulting in "fuse internal
238         error: node NNN not found" and causing the filesystem daemon to
239         abort.  Fix by incrementing the node refcount if nlookup goes from
240         zero to one.  Reported by Kyle Lippincott
242 2012-08-13  Miklos Szeredi <miklos@szeredi.hu>
244         * Fix linking against GNU libiconv.  Patch by Natanael Copa
246 2012-07-19  Miklos Szeredi <miklos@szeredi.hu>
248         * Start of 3.0 series.  This is going to be a new major version of
249         the library breaking backward compatibility on the binary level as
250         well as the source level.
252 2012-07-19  Miklos Szeredi <miklos@szeredi.hu>
254         * Released 2.9.1
256 2012-07-19  Miklos Szeredi <miklos@szeredi.hu>
258         * Fix crash caused by freeing a stack address.  Reported by Itay
259         Perl
261 2012-07-04  Miklos Szeredi <miklos@szeredi.hu>
263         * Fix install of mount.fuse from out-of-tree build.  Patch by
264         Olivier Blin
266         * Fix build with automake >= 1.12.1.  Patch by Olivier Blin
268 2012-04-24  Miklos Szeredi <miklos@szeredi.hu>
270         * Add fallocate operation.  Only works on linux kernels 3.5 or
271         later.  Patch by Anatol Pomozov
273 2012-05-16  Miklos Szeredi <miklos@szeredi.hu>
275         * Linking to a library that uses threads requires the application
276         to be linked with -pthreads otherwise some pthread functions will
277         be linked to stubs in glibc.  So move -pthread from Libs.private
278         to Libs in fuse.pc.  Reported by Werner Fink
280         * Fix the compile command in the examples. Reported by Luciano
281         Dalle Ore
283 2012-04-20  Miklos Szeredi <miklos@szeredi.hu>
285         * Released 2.9.0
287 2012-04-20  Miklos Szeredi <miklos@szeredi.hu>
289         * Add missing fuse_fs_flock to fuse_versionscript
291 2012-04-10  Miklos Szeredi <miklos@szeredi.hu>
293         * Check protocol version before sending notifications and return
294         -ENOSYS if a particular notification is not supported.
296         * Add 'flag_utime_omit_ok' flag to fuse_operations.  If the
297         filesystem sets this flag then ->utimens() will receive UTIME_OMIT
298         and UTIME_NOW values as specified in utimensat(2).
300 2012-01-27  Miklos Szeredi <miklos@szeredi.hu>
302         * Interpret octal escape codes in options.  Requested by Jan
303         Engelhardt
305 2012-01-26  Miklos Szeredi <miklos@szeredi.hu>
307         * Add man pages for fusermount, mount.fuse and ulockmgr_server.
308         Lifted from the Debian package.  The man pages were written by
309         Daniel Baumann and Bastien Roucaries
311 2012-01-13  Miklos Szeredi <miklos@szeredi.hu>
313         * Disable symbol versions on MacOSX.  Patch by Anatol Pomozov
315 2012-01-02  Miklos Szeredi <miklos@szeredi.hu>
317         * Remove unnecessary mutex unlock at the end of multithreaded
318         event loop.
320 2011-12-09  Miklos Szeredi <miklos@szeredi.hu>
322         * Fix hang in wait_on_path().  Reported by Ville Silventoinen
324         * Don't unhash name in FORGET.  This resulted in ENOENT being
325         returned for unlinked but still open files if the kernel sent a
326         FORGET request for the parent directory.
328         * Free request in fuse_reply_data().
330 2011-12-08  Miklos Szeredi <miklos@szeredi.hu>
332         * Fix build if FUSE_NODE_SLAB is not defined.  Patch by Emmanuel
333         Dreyfus
335         * Check for availability of utimensat() function.  Patch by
336         Emmanuel Dreyfus
338 2011-12-07  Miklos Szeredi <miklos@szeredi.hu>
340         * Add fuse_lowlevel_notify_delete() which tells the kernel that a
341         file or directory is deleted.  Patch by John Muir
343 2011-12-06  Miklos Szeredi <miklos@szeredi.hu>
345         * Update retrieve_reply() method
347 2011-12-05  Miklos Szeredi <miklos@szeredi.hu>
349         * Low level API: lock argument of fuse_reply_lock should have a
350         'const' qualifier.  Reported by Shachar Sharon
352         * Add support for ioctl on directories.  Reported by Antonio SJ
353         Musumeci
355 2011-10-13  Miklos Szeredi <miklos@szeredi.hu>
357         * Reply to request with ENOMEM in case of failure to allocate
358         request structure.  Otherwise the task issuing the request will
359         just freeze up until the filesystem daemon is killed.  Reported by
360         Stephan Kulow
362 2011-09-23  Miklos Szeredi <miklos@szeredi.hu>
364         * Replace daemon() function with fork().  Patch by Anatol Pomozov
366 2011-08-26  Miklos Szeredi <miklos@szeredi.hu>
368         * If configured with --disable-mtab then don't call mount(8) from
369         libfuse to update the mtab.  Reported by: James Sierp
371 2011-08-24  Miklos Szeredi <miklos@szeredi.hu>
373         * Use LRU list for cleaning up the cache if the "remember=T"
374         option was given.  Patch by therealneworld@gmail.com
376 2011-07-06  Miklos Szeredi <miklos@szeredi.hu>
378         * Add ->flock() operation to low and high level interfaces.  This
379         fixes problems with emulating flock() with POSIX locking.
380         Reported by Sebastian Pipping.  As with lock/setlk/getlk most
381         filesystems don't need to implement this, as the kernel takes care
382         of file locking.  The only reason to implement locking operations
383         is for network filesystems which want file locking to work between
384         clients.
386 2011-07-02  Sebastian Pipping <sebastian@pipping.org>
388         * Make xmp_utimens of examples "fusexmp" and "fusexmp_fh"
389         not follow symlinks as other layers do that already.
391 2011-06-02  Miklos Szeredi <miklos@szeredi.hu>
393         * Add "remember" option.  This works similar to "noforget" except
394         that eventually the node will be allowed to expire from the cache.
395         Patch by therealneworld@gmail.com
397 2011-05-27  Miklos Szeredi <miklos@szeredi.hu>
399         * Check if splice/vmsplice are supported
401 2011-05-26  Miklos Szeredi <miklos@szeredi.hu>
403         * Remove -lrt -ldl from fuse.pc for dynamic linking since
404         libfuse.so is already linked with these libraries.  Reported by:
405         Nikolaus Rath
407 2011-05-20  Miklos Szeredi <miklos@szeredi.hu>
409         * Cleaner build output.  Patch by Reuben Hawkins
411 2011-05-19  Miklos Szeredi <miklos@szeredi.hu>
413         * Disable splice by default, add "splice_read", "splice_write" and
414         "splice_move" options.  Keep the "no_splice_*" variants, which can
415         disable splice even if the filesystem explicitly enables it.
417 2011-04-15  Max Krasnyansky <maxk@kernel.org>
418         * Added support for "auto_unmount" option which unmounts the
419         filesystem automatically on process exit (or crash).
421 2011-03-30  Miklos Szeredi <miklos@szeredi.hu>
423         * Patches by Laszlo Papp fixing various issues found by the
424         Coverity checker
426 2011-03-11  Miklos Szeredi <miklos@szeredi.hu>
428         * In case of failure to add to /etc/mtab don't umount.  Reported
429         by Marc Deslauriers
431 2011-02-02  Miklos Szeredi <miklos@szeredi.hu>
433         * libfuse: In fuse_session_loop_mt() don't pause when exiting the
434         worker threads.  The pause() was added in 2.2.1 to prevent
435         segfault on pthread_cancel() on an exited, detached thread.  Now
436         worker threads are not detached and pthread_cancel() should work
437         fine even after the thread exited.  Reported by Boris Protopopov
439 2011-01-31  Miklos Szeredi <miklos@szeredi.hu>
441         * fusermount: chdir to / before performing mount/umount
443         * fusermount: only allow mount and umount if util-linux supports
444         --no-canonicalize
446 2010-12-16  Miklos Szeredi <miklos@szeredi.hu>
448         * Highlevel lib: allow hash tables to shrink
450         * Highlevel lib: add slab allocation for node cache.  This will
451         allow the memory used by the filesystem to grow and shrink
452         depending on how many inodes are currently cached.
454 2010-12-13  Miklos Szeredi <miklos@szeredi.hu>
456         * Highlevel lib: use dynamically resized hash table for looking up
457         by name and node ID.
459 2010-12-07  Miklos Szeredi <miklos@szeredi.hu>
461         * Allow batching of forget requests.  This allows forget requests
462         to be processed faster and doesn't require a modification to fuse
463         filesystems.  Reported by Terje Malmedal
465         * Add ->forget_multi() operation to the lowlevel API.  The
466         filesystem may implement this to process multiple forget requests
467         in one call
469         * Fix the ambiguity of ioctl ABI on the kernel/userspace boundary
470         for 32bit vs. 64bit userspace
472 2010-11-10  Miklos Szeredi <miklos@szeredi.hu>
474         * Add new write_buf() method to the highlevel API.  Similarly to
475         the lowlevel write_buf() method, this allows implementing zero
476         copy writes.
478         * Add a new read_buf() method to the highlevel API.  This allows
479         returning a generic buffer from the read method, which in turn
480         allows zero copy reads.
482         * In fusexmp_fh implement the ->read_buf() and ->write_buf()
483         methods.  Leave the ->read() and ->write() implementations for
484         reference, even though they are not necessary.
486 2010-11-08  Miklos Szeredi <miklos@szeredi.hu>
488         * Fix check for read-only fs in mtab update
490         * Open /dev/null for write instead of read for redirecting stdout
491         and stderr
493         * If umount(8) supports --fake and --no-canonicalize (util-linux-ng
494         version 2.18 or later), and umount(2) supports the
495         UMOUNT_NOFOLLOW flag (linux kernel version 2.6.35 or later)  then,
496         "fusermount -u" will call the umount(2) system call and use
497         "umount --fake ..." to update /etc/mtab
499         * Added --disable-legacy-umount option to configure.  This
500         disables the runtime checking of umount(8) version.  When built
501         with this option then "fusermount -u" will fail if umount(8)
502         doesn't support the --fake and --no-canonicalize options.
504         * Fix fuse_buf_copy() if already at the end of the buffers
506         * Add new ->write_buf() method to low level interface.  This
507         allows passig a generic buffer, either containing a memory buffer
508         or a file descriptor.  This allows implementing zero copy writes.
510         * Add fuse_session_receive_buf() and fuse_session_process_buf()
511         which may be used in event loop implementations to replace
512         fuse_chan_recv() and fuse_session_process() respectively.
514         * Remove unnecessary restoring of current working directory in
515         "fusermount -u"
517         * Add ctx->pid to debug output
519         * Fix st_nlink value in high level lib if file is unlinked but
520         still open
522         * libfuse: add store request.  Request data to be stored in the
523         kernel buffers for a given inode.
525         * libfuse: add retrieve request.  Retrieve data stored in the
526         kernel buffers for a given inode.
528 2010-10-14  Miklos Szeredi <miklos@szeredi.hu>
530         * Use LTLIBICONV when linking libfuse.  This fixes building against
531         uclibc + libiconv.  Patch by Natanael Copa
533 2010-10-05  Miklos Szeredi <miklos@szeredi.hu>
535         * Add missing argument check in ulockmgr.c to prevent calling
536         ulockmgr_server with illegal arguments. This would cause an ever
537         growing list of ulockmgr_server processes with an endless list of
538         open files which finally exceeds the open file handle limit.
539         Patch by Markus Ammer
541 2010-09-28  Miklos Szeredi <miklos@szeredi.hu>
543         * Fix ambiguous symbol version for fuse_chan_new.
544         fuse_versionscript included fuse_chan_new in both FUSE_2.4 and
545         FUSE_2.6.  Remove the FUSE_2.4, which is invalid.
547 2010-09-28  Miklos Szeredi <miklos@szeredi.hu>
549         * Fix option escaping for fusermount.  If the "fsname=" option
550         contained a comma then the option parser in fusermount was
551         confused (Novell bugzilla #641480).  Fix by escaping commas when
552         passing them over to fusermount.  Reported by Jan Engelhardt
554 2010-08-27  Miklos Szeredi <miklos@szeredi.hu>
556         * Add NetBSD support.  Patch from Emmanuel Dreyfus
558 2010-07-12  Miklos Szeredi <miklos@szeredi.hu>
560         * libfuse: add buffer interface.  Add a generic buffer interface
561         for use with I/O.  Buffer vectors are supplied and each buffer in
562         the vector may be a memory pointer or a file descriptor.
564         * The fuse_reply_fd() interface is converted to using buffers.
566 2010-06-23  Miklos Szeredi <miklos@szeredi.hu>
568         * Make the number of max background requests and congestion
569         threshold tunable.  New options are "max_background" and
570         "congestion_threshold".  Only effective on linux kernel versions
571         2.6.32 or greater.  Patch by Csaba Henk
573 2010-06-17  Miklos Szeredi <miklos@szeredi.hu>
575         * Add fuse_reply_fd() reply function to the low level interface.
576         On linux version 2.6.35 or greater this will use splice() to move
577         data directly from a file descriptor to the fuse device without
578         needing to go though a userspace buffer.  With the
579         FUSE_REPLY_FD_MOVE flag the kernel will attempt to move the data
580         directly into the filesystem's cache.  On earlier kernels it will
581         fall back to an intermediate buffer.  The options
582         "no_splice_write" and "no_splice_move" can be used to disable
583         splicing and moving respectively.
585 2010-06-15  Miklos Szeredi <miklos@szeredi.hu>
587         * Fix out-of-source build.  Patch by Jörg Faschingbauer
589         * Add a "nopath" option and flag, indicating that path argument
590         need not be calculated for the following operations: read, write,
591         flush, release, fsync, readdir, releasedir, fsyncdir, ftruncate,
592         fgetattr, lock, ioctl and poll.
594 2010-05-10  Miklos Szeredi <miklos@szeredi.hu>
596         * Remove "chmod root" from install of fusermount.  Reported by
597         Lucas C. Villa Real
599 2010-04-26  Miklos Szeredi <miklos@szeredi.hu>
601         * Released 2.8.4
603 2010-04-26  Miklos Szeredi <miklos@szeredi.hu>
605         * Fix checking for symlinks in umount from /tmp.  Reported by Al
606         Viro
608         * Fix umounting if /tmp is a symlink.  Reported by Franco Broi
610 2010-02-18  Miklos Szeredi <miklos@szeredi.hu>
612         * Fix definition of FUSE_OPT_END for C++.  Reported by Tim
613         Bruylants
615 2010-02-03  Miklos Szeredi <miklos@szeredi.hu>
617         * Fix stack alignment for clone()
619 2010-02-01  Miklos Szeredi <miklos@szeredi.hu>
621         * Released 2.8.3
623 2010-02-01  Miklos Szeredi <miklos@szeredi.hu>
625         * Using "--no-canonicalize" with umount(8) conflicts with the race
626         fix, sinceit assumes the supplied path is absolute, while the race
627         fix relies on the path being relative to the current directory.
628         Reported by Tom Rindborg
630 2010-01-26  Miklos Szeredi <miklos@szeredi.hu>
632         * Released 2.8.2
634 2010-01-21  Miklos Szeredi <miklos@szeredi.hu>
636         * Fix race if two "fusermount -u" instances are run in parallel.
637         Reported by Dan Rosenberg
639         * Make sure that the path to be unmounted doesn't refer to a
640         symlink
642 2010-01-14  Miklos Szeredi <miklos@szeredi.hu>
644         * Fix compile error on FreeBSD.  Patch by Jay Sullivan
646 2009-12-17  Miklos Szeredi <miklos@szeredi.hu>
648         * Use '--no-canonicalize' option of mount(8) (available in
649         util-linux-ng version 2.17 or greater) to avoid calling
650         readling(2) on the newly mounted filesystem before the mount
651         procedure is finished.  This has caused a deadlock if "audit" was
652         enabled in the kernel.  Also use '--no-canonicalize' for umount to
653         avoid touching the mounted filesystem.
655 2009-09-11  Miklos Szeredi <miklos@szeredi.hu>
657         * Released 2.8.1
659 2009-08-25  Miklos Szeredi <miklos@szeredi.hu>
661         * Fix missing versioned symbol fuse_get_context@FUSE_2.2
663 2009-08-18  Miklos Szeredi <miklos@szeredi.hu>
665         * Released 2.8.0
667 2009-08-18  Miklos Szeredi <miklos@szeredi.hu>
669         * Add missing fuse_session_data to versionscript
671         * Make sure all global symbols are prefixed with "fuse_" or "cuse_"
673 2009-07-16  Miklos Szeredi <miklos@szeredi.hu>
675         * Clarify how the protocol version should be negotiated between
676         kernel and userspace.  Notably libfuse didn't correctly handle the
677         case when the supported major versions didn't match
679         * Add missing pthread link for libulockmgr.  Patch by  Petr Salinger
681 2009-07-02  Miklos Szeredi <miklos@szeredi.hu>
683         * The context is extended with a 'umask' field.  The umask is sent
684         for mknod, mkdir and create requests by linux kernel version
685         2.6.31 or later, otherwise the umask is set to zero.  Also
686         introduce a new feature flag: FUSE_CAP_DONT_MASK.  If the kernel
687         supports this feature, then this flag will be set in conn->capable
688         in the ->init() method.  If the filesystem sets this flag in in
689         conn->want, then the create modes will not be masked.
691         * Add low level interfaces for lookup cache and attribute
692         invalidation.  This feature is available in linux kernels 2.6.31
693         or later.  Patch by John Muir
695         * Kernel interface version is now 7.12
697         * fusermount: Do not silently ignore command line arguments.
698         Patch by Sebastian Harl
700 2009-06-19  Miklos Szeredi <miklos@szeredi.hu>
702         * Released 2.8.0-pre3
704 2009-06-19  Miklos Szeredi <miklos@szeredi.hu>
706         * Add fuse_getgroups (high level lib) and fuse_req_getgroups (low
707         level lib) functions to query the supplementary group IDs for the
708         current request.  Currently this is implemented on Linux by
709         reading from the /proc filesystem.
711 2009-06-18  Miklos Szeredi <miklos@szeredi.hu>
713         * Add "noforget" option to high level lib to prevent ESTALE errors
714         on NFS exported filesystems.  This result in paths being cached
715         forever, resulting in ever growing memory usage.  Use with care.
717         * Add "no_remote_lock" option to disable remote file locking even
718         if the filesystem implements it.  With this option locking
719         primitives (flock, lockf, fcntl(F_SETLK)) will still work, but
720         will ignore remotely locked files.
722         * CUSE patches from Tejun Heo:
724         * Unrestricted ioctl support left some debris.  Clean them up:
725           o No reason to pass around pointer to flags.  Pass flags directly.
726           o Clean up comment and prototype parameter names.
727           o fuse_lib_ioctl() didn't reply when get_path() failed.  Fix it.
728           o Remove unused variables {in|out}_iov from fuse_lib_ioctl().
730         * Add fuse_reply_ioctl_iov()
732         * Move fuse_session, fuse_req and fuse_ll definitions to fuse_i.h
733         and make send_reply_iov() and fuse_setup_common() global (also in
734         fuse_i.h).  These will be used by CUSE support.
736         * Restructure fuse_ll_process()
738         * Implement libfuse side of CUSE support.  CUSE uses subset of FUSE
739         operations as dir operations don't make sense for CUSE where one
740         instance implements single character device.
742         CUSE support comes with its own cuse_lowevel_ops and related
743         initialization and helper functions.  Except for initialization, it
744         usage is basically identical to FUSE.
746         This patch also adds example/cusexmp.c which can create a character
747         device with name and device number specified on command line.  The
748         created device itself is pretty boring.  It's a bit bucket supporting
749         read, write and access via ioctl.
751 2009-06-16  Miklos Szeredi <miklos@szeredi.hu>
753         * Add missing fuse_reply_bmap to versionscript.  Debian
754         Bug#531329.  Reported by Goswin Brederlow
756 2009-05-27  Miklos Szeredi <miklos@szeredi.hu>
758         * Don't call forget_node() if the lookup was negative and write()
759         for the reply returned ENOENT.  Reported by John Haxby
761 2009-05-25  Miklos Szeredi <miklos@szeredi.hu>
763         * Add FUSE_CAP_EXPORT_SUPPORT to fuse_common.h
765 2009-05-08  Miklos Szeredi <miklos@szeredi.hu>
767         * Fix missing newlines in some printfs
769         * Fix 'make install-strip'.  Reported by Dominick Layfield
771 2009-01-05  Miklos Szeredi <miklos@szeredi.hu>
773         * Released 2.8.0-pre2
775 2008-12-08  Miklos Szeredi <miklos@szeredi.hu>
777         * Implement poll support.  Patch by Tejun Heo
779         * Add missing setattr flags to <fuse_lowlevel.h>.
781         * Only pass valid flags to ->setattr().
783 2008-12-05  Miklos Szeredi <miklos@szeredi.hu>
785         * Implement ioctl support.  On high level interface only
786         "restricted" ioctls are supported (which are defined with the
787         _IO(), _IOR(), _IOW() or _IOWR() macros).  Unrestricted ioctls
788         will only be allwed to CUSE (Character Device in Userspace)
789         servers.  Patch by Tejun Heo
791 2008-11-28  Miklos Szeredi <miklos@szeredi.hu>
793         * If open sets fi->nonseekable, libfuse will tell the kernel that
794         the file is not seekable.  Patch by Tejun Heo
796 2008-11-19  Miklos Szeredi <miklos@szeredi.hu>
798         * lowlevel lib: fix deadlock if fuse_reply_* is called from the
799         interrupt handling function.  Reported by Tero Marttila
801 2008-10-16  Miklos Szeredi <miklos@szeredi.hu>
803         * Allow commas in options to be escaped with a backslash
805         * Add new function: fuse_opt_add_opt_escaped()
807         * Add missing fuse_reply_bmap() to the version script
809 2008-10-14  Miklos Szeredi <miklos@szeredi.hu>
811         * Pass current file flags to read and write operations
813 2008-07-24  Miklos Szeredi <miklos@szeredi.hu>
815         * Clean up debug output in highlevel lib
817 2008-07-10  Miklos Szeredi <miklos@szeredi.hu>
819         * Released 2.8.0-pre1
821 2008-06-27  Miklos Szeredi <miklos@szeredi.hu>
823         * Fix handling of (no)suid and (no)dev options if filesystem is
824         mounted from /etc/fstab or via mount(8).  Reported by Jan Ondrej.
826         * Skip calling mount(8) if /etc/mtab doesn't exist or if it's on a
827         read-only filesystem.  This works around issues with certain mount
828         implementations.  Reported by Szabolcs Szakacsits.
830 2008-06-16  Miklos Szeredi <miklos@szeredi.hu>
832         * Remove fuse kernel module sources.  Linux 2.6.27 will support
833         NFS exporting.
835 2008-06-10  Miklos Szeredi <miklos@szeredi.hu>
837         * Fix theoretical infinite loops in libfuse.  Reported by Szabolcs
838         Szakacsits
840         * Fix missing <sys/param.h> include for PATH_MAX.  Reported by
841         Szabolcs Szakacsits
843 2008-05-23  Miklos Szeredi <miklos@szeredi.hu>
845         * Fix mounting over symlink.  Reported by Szabolcs Szakacsits
847 2008-05-09  Miklos Szeredi <miklos@szeredi.hu>
849         * Don't allow bigger than 4kB writes by default on 2.6.26 and
850         later kernels, so that filesystems not expecting this are not
851         broken on a kernel upgrade.  Provide a 'big_writes' mount option
852         to enable this feature.  In future API revisions this may become
853         the default.
855 2008-04-09  Miklos Szeredi <miklos@szeredi.hu>
857         * Update warning message for missing newline at end of fuse.conf
859         * Update debug message for successful operation to not include the
860         string "error:"
862 2008-04-08  Miklos Szeredi <miklos@szeredi.hu>
864         * Update error message for missing mountpoint parameter.  Reported
865         by Allen Pulsifer
867 2008-04-04  Miklos Szeredi <miklos@szeredi.hu>
869         * Print library version information to debug output
871         * Highlevel lib: don't limit paths to 4095 characters
873 2008-03-25  Miklos Szeredi <miklos@szeredi.hu>
875         * Fix memory leaks on mount.  Patch by Szabolcs Szakacsits
877 2008-03-19  Miklos Szeredi <miklos@szeredi.hu>
879         * Fix missing pthread_mutex_destroy in error path of
880         fuse_lib_opendir().  Patch by Szabolcs Szakacsits
882 2008-03-07  Miklos Szeredi <miklos@szeredi.hu>
884         * Add queuing on contention to per-node lock algorithm, to avoid
885         starvation.
887         * Only enable cancelation when reading a request, otherwise
888         cancellation could happen with a mutex held, which could hang the
889         process on umount
891 2008-02-08  Miklos Szeredi <miklos@szeredi.hu>
893         * Block SIGCHLD when executing mount and umount
895         * fusexmp_fh: avoid unnecessary seeking in readdir
897         * Update kernel interface to 7.9:
899         * Support receiving file handle from kernel in GETATTR request
901         * Allow operations with a NULL path argument, if the filesystem
902         supports it
904         * Add support atomic open(O_TRUNC)
906         * Support the st_blksize field in struct stat
908         * If the "FUSE_THREAD_STACK" environment is set, initialize the
909         stack size of threads by this value.  Patch by Florin Malita
911         * Add per-node locking, instead of a global tree lock to protect
912         the path from changing during operations.  Original patch by
913         Rodrigo Castro
915 2008-02-03  Csaba Henk <csaba.henk@creo.hu>
917         * lib/mount_bsd.c:
918         - string formatting fixes
919         - exit if mounting has failed
920           (in FreeBSD a mount failure is not critical per se, as the daemon
921           still could be mounted externally, but waiting for such an event
922           is more confusing than fruitful)
923         - ditch the kvm(8) stuff and simply use forced unmount which just
924           won't block
925         - prettify option specifications
926         - add "-onosync_unmount" kernel option
928 2008-01-07  Csaba Henk <csaba.henk@creo.hu>
930         * lib/mount_bsd.c:
931         - refine device closing in a race-free way
932         - add support for "-osubtype" on FreeBSD
934         * makeconf.sh: make it work under FreeBSD
936 2008-01-03  Csaba Henk <csaba.henk@creo.hu>
938         * lib/mount_bsd.c: close device before unmount
939         (cf. lib/mount.c rev. 1.43) and fix some warnings 
941 2007-12-23  Miklos Szeredi <miklos@szeredi.hu>
943         * Fix './configure --disable-static'.  Patch from Ismail Dönmez
945 2007-12-17  Miklos Szeredi <miklos@szeredi.hu>
947         * Released 2.7.2
949 2007-12-12  Miklos Szeredi <miklos@szeredi.hu>
951         * Fix kernel module compile for 2.6.24
953         * Invalidate attributes of parent directory after create(), since
954         the modification time changes.  Invalidate attributes on rename,
955         since some filesystems may update st_ctime.  Reported by Szabolcs
956         Szakacsits
958         * Fix NFS exporting to handle 64bit node IDs
960         * Disable old symbol versions if __UCLIBC__ is defined.  If a
961         symbol in a library has multiple versions, the runtime linker in
962         uClibc seems to randomly choose between them.
964         * Remove erroneous 'fuse_opt_insert_arg@FUSE_2_5' from
965         fuse_version_script.  fuse_opt_free_args() was added in fuse-2.6.
967         * Close fuse device file descriptor before calling umount(),
968         preventing a deadlock when umount is synchronous.  Reported by
969         Szabolcs Szakacsits
971 2007-11-12  Miklos Szeredi <miklos@szeredi.hu>
973         * 'fusermount -u' did not umount the filesystem if /etc/mtab was a
974         symlink.  This bug was introduced in 2.7.1 by "Don't call
975         /bin/[u]mount if /etc/mtab is a symlink".  Found by robertsong.
977 2007-10-16  Miklos Szeredi <miklos@szeredi.hu>
979         * Released 2.7.1
981 2007-10-16  Miklos Szeredi <miklos@szeredi.hu>
983         * Clarify licence version to be "LGPLv2" for the library
985         * kernel fixes:
987         * After mount set nlink attribute for the root inode to 1
989         * Fix wake up of task waiting for a reserved request
991         * Fix allowing setattr, listxattr and statfs for other users
993 2007-09-18  Miklos Szeredi <miklos@szeredi.hu>
995         * Add missing context initialization in fuse_fs_chmod().  Bug
996         found by "iohead"
998         * Fix kernel module compilation for 2.6.23.  Based on patch by
999         Marian Marinov
1001 2007-09-04  Philippe Elie  <phil.el@wanadoo.fr>
1003         * lib/fuse_lowlevel.c: fix a fuse_req leak in do_forget()
1005 2007-07-31  Miklos Szeredi <miklos@szeredi.hu>
1007         * Work around hotplug issue, that it calls filesystem with file
1008         descriptors 0, 1 and 2 not open.  Tracked down by Leif Johnson
1010 2007-07-25  Miklos Szeredi <miklos@szeredi.hu>
1012         * Don't call /bin/[u]mount if /etc/mtab is a symlink.  Reported by
1013         Tomas M
1015         * Also don't touch /etc/mtab if it is within the mounted
1016         filesystem.  Suggested by Jeffrey Law
1018 2007-07-12  Miklos Szeredi <miklos@szeredi.hu>
1020         * Reset args->argc in fuse_opt_free_args().  Patch by Lucas
1021         C. Villa Real
1023 2007-07-02  Miklos Szeredi <miklos@szeredi.hu>
1025         * Released 2.7.0
1027 2007-07-02  Miklos Szeredi <miklos@szeredi.hu>
1029         * Accept a NULL "op" for fuse_main(), etc.  This is useful if
1030         filesystem is only invoking fuse to print a help message, or
1031         version.  Fixes RedHat bugzilla #217343
1033 2007-06-22  Miklos Szeredi <miklos@szeredi.hu>
1035         * lib: fix locking when loading a filesystem module
1037 2007-06-21  Miklos Szeredi <miklos@szeredi.hu>
1039         * Add fs subtype support to mount.fuse
1041 2007-06-20  Miklos Szeredi <miklos@szeredi.hu>
1043         * Add fs subtype support to libfuse and fusermount
1045 2007-06-19  Miklos Szeredi <miklos@szeredi.hu>
1047         * kernel: sync with mainline (2.6.22)
1049 2007-06-18  Miklos Szeredi <miklos@szeredi.hu>
1051         * Send debug output to stderr instead of stdout.  Patch by Jan
1052         Engelhardt
1054 2007-06-03  Miklos Szeredi <miklos@szeredi.hu>
1056         * libulockmgr: Work around a kernel bug in recv(), causing it to
1057         sometimes return zero even if data was available on the socket.
1059 2007-05-29  Miklos Szeredi <miklos@szeredi.hu>
1061         * lib: optimization: store parent pointer in node instead of
1062         parent id
1064 2007-05-25  Miklos Szeredi <miklos@szeredi.hu>
1066         * lib: don't create new thread for each FORGET request.  FORGET
1067         messages sometimes caused so many threads to be created, that
1068         process virtual memory space ran out.  Reported by Chris AtLee
1070 2007-05-24  Miklos Szeredi <miklos@szeredi.hu>
1072         * lib: fix memory leak on thread creation failure in multithreaded
1073         event loop.  Found by Chris AtLee
1075 2007-05-23  Miklos Szeredi <miklos@szeredi.hu>
1077         * lowlevel lib: add fuse_reply_iov function, which is similar to
1078         fuse_reply_buf, but accepts a vector of buffers.  Patch by Roger
1079         Willcocks
1081 2007-05-21  Miklos Szeredi <miklos@szeredi.hu>
1083         * Fix Oops or error if a regular file is created with mknod(2) on
1084         a fuse filesystem.  Kernels 2.6.18 onward are affected.  Thanks to
1085         J. Cameijo Cerdeira for the report
1087 2007-05-11  Csaba Henk <csaba.henk@creo.hu>
1089         * libfuse: fix return value of fuse_loop()/fuse_loop_mt().
1090         Error reported by Csaba Henk, fix by Miklos Szeredi
1092         * libfuse: fix unlock in flush
1094         * libfuse: do unlocking on RELEASE+FLUSH
1096 2007-05-03  Miklos Szeredi <miklos@szeredi.hu>
1098         * Released 2.7.0-rc1
1100 2007-05-02  Miklos Szeredi <miklos@szeredi.hu>
1102         * kernel: sync with mainline:
1104         * Use invalidate_mapping_pages() if available
1106         * Fix BUG when invalid file type is supplied in mount. Patch by
1107         Timo Savola
1109 2007-04-27  Miklos Szeredi <miklos@szeredi.hu>
1111         * libfuse: call umount(8) directly instead of fusermount if
1112         possible
1114         * Clean up init script, make it LSB compliant
1116 2007-04-26  Miklos Szeredi <miklos@szeredi.hu>
1118         * In multithreaded loop, use a semaphore instead of SIGHUP to wake
1119         up the main thread on umount.  This is more elegant, and works
1120         even if signals are blocked.
1122 2007-04-25  Miklos Szeredi <miklos@szeredi.hu>
1124         * Improve mounting support in libfuse:
1125          - check non-empty mountpoint
1126          - only fall back to fusermount when necessary
1128 2007-04-23  Miklos Szeredi <miklos@szeredi.hu>
1130         * Don't chdir to "/" in foreground mode, it causes more trouble
1131         than it's worth
1133 2007-04-18  Miklos Szeredi <miklos@szeredi.hu>
1135         * Replace utils/mount.fuse "sh" script with a "C" program
1137 2007-04-15  Miklos Szeredi <miklos@szeredi.hu>
1139         * Add -lulockmgr to compilation comment in fusexmp_fh.c
1141 2007-04-05  Miklos Szeredi <miklos@szeredi.hu>
1143         * Check for iconv.  Patch by Csaba Henk
1145         * Add direct umounting
1147         * Use "fusectl" as the device for the fusectl filesystem.  Debian
1148         Bug#417945.  Reported by Laurent Bonnaud
1150 2007-04-01  Csaba Henk <csaba.henk@creo.hu>
1152         * Fix some FreeBSD related macros.
1154 2007-03-30  Miklos Szeredi <miklos@szeredi.hu>
1156         * Add support for direct mounting by libfuse.  Fall back on
1157         calling fusermount if it doesn't work
1159 2007-03-14  Miklos Szeredi <miklos@szeredi.hu>
1161         * Released 2.7.0-pre1
1163 2007-03-05  Miklos Szeredi <miklos@szeredi.hu>
1165         * Correctly handle O_APPEND in direct IO mode.  Reported by Greg
1166         Bruno
1168         * mount.fuse should use /bin/bash.  Debian Bug#413403.  Reported
1169         by Thomas Weinbrenner
1171 2007-02-26  Miklos Szeredi <miklos@szeredi.hu>
1173         * Fix detection of installed fuse in init script.  Reported and
1174         fix suggested by Davide Canova
1176 2007-02-05  Miklos Szeredi <miklos@szeredi.hu>
1178         * Fix 2.6.9 RHEL kernels, which have compatibility mutex.h, but
1179         don't define mutex_destroy(), bummer.  Patch from Phil Schwan
1181 2007-02-04  Miklos Szeredi <miklos@szeredi.hu>
1183         * Compile fuseblk for kernels which don't have an option to turn
1184         off the block layer (CONFIG_BLOCK).  Reported by Szakacsits
1185         Szabolcs
1187 2007-02-03  Miklos Szeredi <miklos@szeredi.hu>
1189         * Add filesystem stacking support to high level API.  Filesystem
1190         modules can be built into libfuse or loaded from shared object
1191         (.so) files
1193         * Add 'subdir' and 'iconv' built in modules
1195         * lib/fuse.c: Fix locking for the reply code in create and open
1197 2007-02-02  Miklos Szeredi <miklos@szeredi.hu>
1199         * kernel: make it compile on "strange" kernels which have emulated
1200         mutexes via <linux/mutex.h> but no i_mutex.  Reported by Tomasz
1201         Mateja
1203 2007-01-28  Miklos Szeredi <miklos@szeredi.hu>
1205         * kernel: fix BUG in control filesystem if it is umounted and
1206         mounted again, while some fuse filesystems are present.
1207         Bugreport from Florent Mertens
1209         * kernel: sync with mainline, support 2.6.20
1211 2007-01-22  Miklos Szeredi <miklos@szeredi.hu>
1213         * lib/Makefile.am: actually link libfuse against libfuse_libs
1215 2007-01-19  Miklos Szeredi <miklos@szeredi.hu>
1217         * Build fix for 2.6.16 vanila and 2.6.15 FC5 kernels.  Patch from
1218         Ian Abbott
1220 2007-01-18  Miklos Szeredi <miklos@szeredi.hu>
1222         * Fix abort in fuse_new() compatibility API for opts == NULL case.
1223         Novell bugzilla #233870.  Patch from Takashi Iwai.
1225 2007-01-13  Miklos Szeredi <miklos@szeredi.hu>
1227         * Fix option parsing in mount.fuse.  Patch from Jens M. Noedler
1229 2007-01-02  Miklos Szeredi <miklos@szeredi.hu>
1231         * Fix unaligned access in file desctriptor passing in libfuse,
1232         fusermount and ulockmgr.  Debian bug ID: 404904.  Reported and
1233         tested by Sebastian Fontius
1235 2006-12-16  Miklos Szeredi <miklos@szeredi.hu>
1237         * kernel: don't keep unreferenced inodes in the icache.
1239 2006-12-15  Miklos Szeredi <miklos@szeredi.hu>
1241         * fusermount: Fix detection of fuseblk.  Reported by Szakacsits
1242         Szabolcs
1244         * lib: Fix use after free in fuse_flush().  Reported by Ron
1245         Lindman
1247 2006-12-10  Miklos Szeredi <miklos@szeredi.hu>
1249         * mount.fuse: add "setuid=USER" option which does a "su - USER"
1250         for the filesystem
1252         * fusermount: use "/bin/mount -f" to add entry to /etc/mtab, and
1253         "/bin/umount" to remove entry from /etc/mtab.  This gets rid of
1254         the ugly code dealing with mtab, as well as a possible race
1255         between fusermount and mount trying to modify /etc/mtab at the
1256         same time
1258         * Fix "buffer size too small: 4" warning for users of the
1259         fuse_loop_mt_proc() function.
1261 2006-12-04  Miklos Szeredi <miklos@szeredi.hu>
1263         * Fix warnings with gcc-4.1 on 64bit archs.  Report from
1264         Harshavardhana
1266         * Add extra warning options, and fix resulting warnings
1268         * Really fix fuse_teardown problem
1270 2006-12-02  Miklos Szeredi <miklos@szeredi.hu>
1272         * Add -lrt to fuse.pc (if needed) to fix static linking against
1273         libfuse.  Reported by Szakacsits Szabolcs
1275 2006-12-01  Miklos Szeredi <miklos@szeredi.hu>
1277         * Released 2.6.1
1279 2006-11-30  Miklos Szeredi <miklos@szeredi.hu>
1281         * Fix API version 21 and 22 compatibility for fuse_teardown.
1282         Reported by Bgs
1284 2006-11-29  Miklos Szeredi <miklos@szeredi.hu>
1286         * fusermount: Print a more helpful message in case the kernel
1287         doesn't support the 'fuseblk' filesystem type.  This has been
1288         biting ntfs-3g users.  Reported by Yura Pakhuchiy
1290         * kernel: fix build problem for "make -C ...".  Reported by
1291         Stephen Bryant
1293 2006-11-19  Miklos Szeredi <miklos@szeredi.hu>
1295         * Fix bug in certain error paths of lookup routines.  The request
1296         object was reused for sending FORGET, which is illegal.  This bug
1297         could cause an Oops in linux-2.6.18 or in fuse-2.6.0, and might
1298         silently corrupt memory in earlier versions.  Report and test
1299         program by Russ Cox
1301 2006-11-11  Miklos Szeredi <miklos@szeredi.hu>
1303         * Print an error if an incompatible kernel interface version is
1304         detected in INIT.  This will only show if filesystem is started
1305         with -d or -f
1307         * Fix order of fuse_destroy()/fuse_unmount() in error cleanup of
1308         fuse_setup_common().  Reported by Szakacsits Szabolcs
1310 2006-11-06  Miklos Szeredi <miklos@szeredi.hu>
1312         * Fix recursive locking in fuse_create().  Thanks to Takuya
1313         Ishibashi for the bug report
1315 2006-10-28  Miklos Szeredi <miklos@szeredi.hu>
1317         * Fix automake problem.  Patch from Nix
1319 2006-10-26  Miklos Szeredi <miklos@szeredi.hu>
1321         * Fix mount.fuse to use /bin/sh instead of /bin/bash, which is not
1322         always available on embedded systems.  Patch from Paul Smith
1324         * Fix util/Makefile.am, so that failure to run update-rc.d or
1325         device creation doesn't cause make to fail.  Reported by Paul
1326         Smith
1328 2006-10-21  Miklos Szeredi <miklos@szeredi.hu>
1330         * Released 2.6.0
1332 2006-10-18  Miklos Szeredi <miklos@szeredi.hu>
1334         * fusermount: don't try to create a lock file if /etc/mtab is a
1335         symlink.  Report and patch from Alexei Sheplyakov (debian bug
1336         #393693)
1338 2006-10-17  Miklos Szeredi <miklos@szeredi.hu>
1340         * Minor changes, sync with mainline tree
1342 2006-10-16  Miklos Szeredi <miklos@szeredi.hu>
1344         * Released 2.6.0-rc3
1346 2006-10-15  Miklos Szeredi <miklos@szeredi.hu>
1348         * kernel: cleanups
1350 2006-10-13  Miklos Szeredi <miklos@szeredi.hu>
1352         * kernel: Fix compilation on patched 2.6.18 (fc6) and 2.6.19.
1353         Report from David Shaw
1355         * lib: Fix lost error on renaming a file. Report from David Shaw
1357         * lib: Fix lost error on hiding open files (renaming to
1358         .fuse_hiddenXXXX)
1360         * kernel: Fix a rare hang on SMP/32bit on heavy filesystem
1361         activity.  The cause of the bug was that some calls to
1362         i_size_write() were not protected by a lock, and hence
1363         i_size_seqcount could become corrupted.  This caused subsequent
1364         calls to i_size_read() to spin forever.  This is a long standing
1365         bug was probably introduced in version 2.2, and thought to be
1366         related to NFS exporting (it's not).  It was reported by various
1367         people, but Dana Henriksen has finally helped me to track it down,
1368         so big thanks to him
1370         * kernel: Protect against truncation of a swapfile
1372 2006-10-10  Miklos Szeredi <miklos@szeredi.hu>
1374         * kernel: Check for signature of super_operations->umount_begin().
1375         Ubuntu kernel 2.6.17 seems to use the new signature found in
1376         2.6.18.  Thanks to Florent Mertens for the report
1378 2006-10-08  Miklos Szeredi <miklos@szeredi.hu>
1380         * Make sure inode numers wrap around at 2^32.  This is needed on
1381         dual 64bit/32bit architectures, because 32bit applications using
1382         the non-largefile interface would otherwise break (EOVERFLOW error
1383         would be returned by the stat() system call family)
1385         * ulockmgr: handle the case, when a locking operation fails
1386         because no more file desctriptors are available in
1387         ulockmgr_server.  Also work around a Linux kernel bug (known to
1388         exist for all Linux kernel versions <= 2.6.18) which may cause
1389         sent file descriptors to be lost in the above case
1391         * ulockmgr: optimize file descriptor use
1393         * restore needed cpp flags to util/Makefile.am
1395         * Install udev rules as 99-fuse.rules instead of 60-fuse.rules
1397         * Minor clean up of udev rules
1399         * Add a synchronous DESTROY message to kernel interface.  This is
1400         invoked from umount, when the final instance of the filesystem is
1401         released.  It is only sent for filesystems mounted with the
1402         'blkdev' option for security reasons.
1404         * If the DESTROY message is received, call the filesystem's
1405         ->destroy() method.  In this case it's not called from session
1406         destruction as it would be otherwise.
1408 2006-10-01  Miklos Szeredi <miklos@szeredi.hu>
1410         * Released 2.6.0-rc2
1412 2006-10-01  Miklos Szeredi <miklos@szeredi.hu>
1414         * Add support for FLUSH+RELEASE operation for FreeBSD.  Original
1415         patch by Csaba Henk
1417         * Add init script to insert fuse module and mount the control
1418         filesystem.  The script is installed as /etc/init.d/fuse and on
1419         debian based systems (where update-rc.d is available) symlinks
1420         from /etc/rc*.d/ are also installed.
1422         * Include '#define FUSE_USE_VERSION=XX' into examples so they
1423         become more self contained.
1425 2006-09-30  Miklos Szeredi <miklos@szeredi.hu>
1427         * API changes:
1429         * Move lock_owner from a separate argument into fuse_file_info
1431         * Add a flag to fuse_file_info indicating (1) a highlevel lock
1432         operation (unlock all) was initiated by a flush, (2) a lowlevel
1433         release operation should perform a flush as well.
1435         * fusermount: revert modprobe change (2006-08-18) since it
1436         doesn't work reliably with udev
1438         * Add support for block device backed filesystems.  This mode is
1439         selected with the 'blkdev' option, which is privileged.
1441         * Add support for the bmap (FIBMAP ioctl) operation on block
1442         device backed filesystems.  This allows swapon and lilo to work on
1443         such filesystems.
1445         * kernel changes:
1447         * Drop support for kernels earlier than 2.6.9.  Kernel module from
1448         previous (2.5.x) release can be used with library from this
1449         release
1451         * In fuse_dentry_revalidate() use dget_parent() instead of
1452         dereferencing d_parent, since there's no protection against parent
1453         changing and going away
1455         * Protect nlookup from concurrent updates
1457         * In lookup if a directory alias exists but is unused,
1458         then get rid of it, otherwise return -EBUSY.
1460         * In mkdir if a directory alias exists, return success, but leave
1461         dentry negative.  In reality this could happen if a remote rename
1462         immediately followed the mkdir.
1464         * Don't BUG in fuse_iget() if multiple retries are needed to get a
1465         good inode.  This could happen if several lookups are racing for
1466         the same inode.
1468 2006-09-29  Miklos Szeredi <miklos@szeredi.hu>
1470         * Fix compilation on 2.6.9.  Report from Troy Ayers
1472 2006-09-27  Miklos Szeredi <miklos@szeredi.hu>
1474         * Fix Oops in fuse_readpages().  Reported by David Shaw
1476 2006-09-24  Csaba Henk <csaba.henk@creo.hu>
1478         * Add support for nanosec times on FreeBSD
1480         * Fix FreeBSD compatibility issues
1482 2006-09-23  Miklos Szeredi <miklos@szeredi.hu>
1484         * Fix one more compatibility bug.  Thanks to Ricardo Correia
1486         * Fix utimens compilation with uClibc.  Patch from Jamie Guinan
1488 2006-09-22  Miklos Szeredi <miklos@szeredi.hu>
1490         * Fixed several compatibility bugs in low level interface.
1491         Reported by Ricardo Correia
1493         * Add workaround for ARM caching bug
1495 2006-09-16  Miklos Szeredi <miklos@szeredi.hu>
1497         * Rename new utimes() method to more logical utimens()
1499 2006-09-14  Miklos Szeredi <miklos@szeredi.hu>
1501         * Fuse tried to unlink already unlinked hidden files.  Bug
1502         reported by Milan Svoboda
1504 2006-09-10  Miklos Szeredi <miklos@szeredi.hu>
1506         * Released 2.6.0-rc1
1508 2006-09-10  Miklos Szeredi <miklos@szeredi.hu>
1510         * kernel: Fix unlock on close for kernels < 2.6.18
1512         * Add ulockmgr library & server.  This can be used for handling
1513         file locking requests either directly from libfuse or over a
1514         network, etc.  This first version is not optimized and the number
1515         of file descriptors it uses may get out of hand
1517 2006-09-07  Miklos Szeredi <miklos@szeredi.hu>
1519         * lib: Add interrupt support to high level library, which may be
1520         enabled with the 'intr' mount option.
1522         * When an operation is interrupted the thread handling that
1523         operation will receive SIGUSR1 (or other signal specified with the
1524         'intr_signal=N' option).  The library installs a no-op signal
1525         handler for this signal, unless there's already a handler
1526         installed.
1528         * The filesystem may query interrupt status (regardless of 'intr')
1529         with the fuse_interrupted() function.
1531         * mount.fuse: initialize $HOME if not set.  Report from Sven Goldt
1533 2006-09-03  Miklos Szeredi <miklos@szeredi.hu>
1535         * lib: Multithreaded loop now allows unlimited number of threads.
1536         This is needed for locking operations which may block
1537         indefinitely.  Also the kernel now doesn't limit the number of
1538         outstanding requests so the library shouldn't do so either.
1540 2006-09-01  Miklos Szeredi <miklos@szeredi.hu>
1542         * Fix recursive lock bug in interrupt handling
1544         * Add utimes() method to highlevel interface, which supports
1545         setting times with nanosecond resolution
1547 2006-08-18  Miklos Szeredi <miklos@szeredi.hu>
1549         * kernel: fix page leak if fuse_readpages() failed in it's
1550         initialization.  Bug found and original patch from Alexander
1551         Zarochentsev
1553         * For linux kernels >=2.6.18 (2.6.19 if using the fuse module from
1554         the kernel tree) the statfs method will receive the path within
1555         the filesystem on which the stat(v)fs syscall was called
1557         * fusermount: try to modprobe fuse module if invoked by root and
1558         unable to open device.  This is needed with udev, since the device
1559         node will be created only when the module is inserted, hence
1560         module autoloading won't work.  Reported by Szakacsits Szabolcs
1562 2006-07-30  Miklos Szeredi <miklos@szeredi.hu>
1564         * fusermount: if selinux is active, restore the original file's
1565         security context in unmount_rename().  Redhat bugzilla id 188561.
1566         Patch from Yves Perrenoud
1568         * Add POSIX file locking operation to high level library
1570         * Initialize context for unlink of hidden files on umount.  Bug
1571         reported by Tim Stoakes
1573 2006-07-14  Miklos Szeredi <miklos@szeredi.hu>
1575         * Multiple release() calls can race with each other, resulting in
1576         the hidden file being deleted before the last release finishes.
1577         Bug found and patch tested by Mark Huijgen
1579 2006-07-05  Miklos Szeredi <miklos@szeredi.hu>
1581         * fusermount: if /dev/fuse doesn't exist, suggest modprobing fuse;
1582         this makes sense on systems using udev.  Reported by Szakacsits
1583         Szabolcs
1585 2006-06-29  Miklos Szeredi <miklos@szeredi.hu>
1587         * Released 2.6.0-pre3
1589 2006-06-29  Miklos Szeredi <miklos@szeredi.hu>
1591         * Support in kernel module for file locking and interruption.  The
1592         same functionality is available in official kernels >= 2.6.18
1594 2006-06-28  Miklos Szeredi <miklos@szeredi.hu>
1596         * Add POSIX file locking support
1598         * Add request interruption
1600 2006-06-06  Miklos Szeredi <miklos@szeredi.hu>
1602         * Add missing pthread_rwlock_destroy().  Patch from Remy Blank
1604 2006-06-05  Remy Blank <remy.blank@pobox.com>
1606         * lib: canonicalize mount point in fuse_helper_opt_proc() so that
1607         unmounting succeeds even if mount point was relative.
1609 2006-06-04  Csaba Henk <csaba.henk@creo.hu>
1611         * lib: fix emergency umount in helper.c when malloc fails.
1612         (The way it was done would end up in a segfault.)
1614 2006-06-01  Csaba Henk <csaba.henk@creo.hu>
1616         * lib: adjust threading related compiler flags.
1617         Switch to "-pthread" from "-lpthread" as that's the preferred
1618         one on several platforms. Consulted with Terrence Cole and
1619         Miklos Szeredi
1621 2006-05-08  Miklos Szeredi <miklos@szeredi.hu>
1623         * lib: search fusermount in installation directory (bindir) as
1624         well as in PATH.
1626 2006-05-03  Miklos Szeredi <miklos@szeredi.hu>
1628         * lib: fix compilation if CLOCK_MONOTONIC is not defined.
1629         Reported by Christian Magnusson
1631 2006-04-23  Csaba Henk <csaba.henk@creo.hu>
1633         * lib: make FreeBSD mount routine recognize if kernel features
1634         backgrounded init and if it does, run the mount util in foreground
1635         (similarly to Linux)
1637 2006-04-21  Miklos Szeredi <miklos@szeredi.hu>
1639         * kernel: fix fput deadlock fix, the lockless solution could lead
1640         to "VFS: busy inodes after umount..."
1642         * kernel: fix race between checking and setting file->private_data
1643         for the device.  Found by Al Viro
1645 2006-04-11  Miklos Szeredi <miklos@szeredi.hu>
1647         * kernel: remove request pool, instead allocate requests on
1648         demand.  Account the number of background requests, and if they go
1649         over a limit, block the allocation of new requests.
1651         * kernel: fix deadlock if backgrounded request holds the last
1652         reference to the super block
1654         * kernel: don't use fuse_reset_request() during direct I/O
1656 2006-04-06  Csaba Henk <csaba.henk@creo.hu>
1658         * lib: Let FreeBSD mount option parsing routine recognize "no"
1659         prefixes for FUSE specific options as well
1661 2006-04-01  Miklos Szeredi <miklos@szeredi.hu>
1663         * lib: Add missing rwlock initialization.  Patch by Ryan Bradetich
1665 2006-03-17  Miklos Szeredi <miklos@szeredi.hu>
1667         * API changes:
1669         * fuse_main(), fuse_setup() and fuse_new() have an additionl
1670         user_data parameter
1672         * fuse_mount() returns a 'struct fuse_chan' pointer instead of a
1673         file descriptor
1675         * fuse_unmount() receives a 'struct fuse_chan' pointer.  It
1676         destroys the given channel
1678         * fuse_teardown() no longer has a file descriptor parameter
1680         * new exported functions: fuse_session_remove_chan(),
1681         fuse_get_session(), fuse_daemonize()
1683         * fuse_chan_recv() may now return a new channel which will be used
1684         to send the reply
1686 2006-03-16  Miklos Szeredi <miklos@szeredi.hu>
1688         * Released 2.6.0-pre2
1690 2006-03-16  Miklos Szeredi <miklos@szeredi.hu>
1692         * Don't unmount if already unmounted.  This fixes a problem seen
1693         in the following situation: Lazy unmount a busy filesystem; Mount
1694         a new one in top; When the first finally unmounts, the second also
1695         unmounts.  Reported by Franco Broi
1697 2006-03-15  Miklos Szeredi <miklos@szeredi.hu>
1699         * lowlevel lib: use indirect function calls instead of a
1700         switch/case construct.  Besides increased efficiency it helps
1701         maintainability & readability too.  Patch from Florin Malita
1703 2006-03-13  Miklos Szeredi <miklos@szeredi.hu>
1705         * kernel: replace global spinlock with a per-connection spinlock
1707 2006-03-10  Miklos Szeredi <miklos@szeredi.hu>
1709         * Fix source compatibility breakage for fuse_unmount().  Report
1710         from Yura Pakhuchiy
1712 2006-03-02  Miklos Szeredi <miklos@szeredi.hu>
1714         * Fix O_ASYNC handling in fuse_dev_release().  From Jeff Dike
1716 2006-03-01  Miklos Szeredi <miklos@szeredi.hu>
1718         * Add O_ASYNC and O_NONBLOCK support to FUSE device.  Patch by
1719         Jeff Dike
1721         * Renamed fuse_chan_receive() to fuse_chan_recv() and changed
1722         interface to return -errno in case of error.
1724 2006-03-01  Csaba Henk <csaba.henk@creo.hu>
1726         * libfuse: pass device file descriptor to fuse_unmount(), rewrite
1727         FreeBSD implementation so that it uses libc (sysctl backed) instead
1728         of an embdedded script (kmem backed). Adjust the control flow of
1729         hello_ll so that device doesn't get closed before unmount attempt.
1731 2006-02-25  Miklos Szeredi <miklos@szeredi.hu>
1733         * Lowlevel lib: return all-zero statvfs data if filesystem doesn't
1734         implement method.  This is needed on FreeBSD, and nicer on Linux
1735         too.  Highlevel lib already did this.  Reported by Csaba Henk
1737         * Fix negative entry handling.  There was a bug, that negative
1738         lookups with timeouts (nodeid == 0) returned -EIO.
1740 2006-02-23  Miklos Szeredi <miklos@szeredi.hu>
1742         * Fix race between RELEASE and UNLINK, which might leave
1743         .fuse_hidden* files around
1745 2006-02-21  Miklos Szeredi <miklos@szeredi.hu>
1747         * fusexmp_fh: implement flush() method and call close() on the
1748         open file descriptor.  This is needed if used on an NFS
1749         filesystem, which buffers data until file is closed.  Franco Broi
1750         spotted the situation when 'cp -p' failed to set the modification
1751         time because of this.
1753 2006-02-20  Miklos Szeredi <miklos@szeredi.hu>
1755         * Released 2.6.0-pre1
1757 2006-02-19  Miklos Szeredi <miklos@szeredi.hu>
1759         * libfuse: fix use-after-free bug in interruptred reply_entry().
1760         Patch from John Muir
1762         * libfuse: fix wrong symbol versioning for fuse_mount.  Debian bug
1763         ID: 352631.  Found by Stéphane Rosi
1765 2006-02-17  Miklos Szeredi <miklos@szeredi.hu>
1767         * Lowlevel lib: Unify fuse_dirent_size() and fuse_add_dirent()
1768         into a single function fuse_add_direntry().  This cleans up the
1769         interface and makes it possible to do stacking.
1771 2006-02-16  Miklos Szeredi <miklos@szeredi.hu>
1773         * Fix rare race betweeen abort and release caused by failed iget()
1774         in fuse_create_open().
1776         * Add 'ac_attr_timeout' option e.g. for filesystems which do their
1777         own attribute caching.
1779 2006-02-15  Miklos Szeredi <miklos@szeredi.hu>
1781         * Work around FreeBSD runtime linker "feature" which binds an old
1782         version of a symbol to internal references if the symbol has more
1783         than one version.  This resulted in infinite recursion in
1784         fuse_lowlevel_new_compat25().
1786 2006-02-10  Csaba Henk <csaba.henk@creo.hu>
1788         * Refine clock_gettime() querying so that linker options
1789         shall be set as it's appropriate for the target platform.
1791 2006-02-09  Miklos Szeredi <miklos@szeredi.hu>
1793         * Fix udev rule syntax.  Reported by Nix
1795 2006-02-08  Miklos Szeredi <miklos@szeredi.hu>
1797         * In some cases udev rule seems to be ineffective when installed
1798         as 40-fuse.rules but work as 60-fuse.rules.  Reported by John Hunt
1800 2006-02-03  Miklos Szeredi <miklos@szeredi.hu>
1802         * Fix compilation when build directory is different from source
1803         directory.  Reported by Frédéric L. W. Meunier
1805 2006-02-02  Miklos Szeredi <miklos@szeredi.hu>
1807         * Fix even bigger bug introduced in fix for request_end() on
1808         2006-01-14.  Reported by Gal Rosen
1810 2006-01-30  Miklos Szeredi <miklos@szeredi.hu>
1812         * highlevel-lib: add 'auto_cache' option.  This caches file data
1813         based on modification time and size
1815 2006-01-20  Miklos Szeredi <miklos@szeredi.hu>
1817         * Sanitize storage type and help message in mount_bsd.c.  Patch
1818         from Csaba Henk
1820         * fuse_opt: add new helper constants FUSE_OPT_KEY_KEEP and
1821         FUSE_OPT_KEY_DISCARD
1823         * Add options 'max_readahead', 'sync_read' and 'async_read'
1825         * Kernel ABI version 7.6:
1827         * Negotiate the 'max_readahead' value and 'async_read' flags with
1828         userspace in the INIT method
1830         * Add connection info to ->init() methods to both lowlevel and
1831         highlevel API
1833         * Fall back to synchronous read() behavior if either library or
1834         userspace filesystem is using the old interface version.  This is
1835         needed so non-updated filesystems won't be confused by the
1836         different read() behavior
1838 2006-01-19  Miklos Szeredi <miklos@szeredi.hu>
1840         * lib: if "fsname=" option was given, pass it to fusermount
1842         * fuse_opt: add new fuse_opt_insert_arg() function, which is
1843         needed by filesystems to implement some argument manipulations
1844         correctly
1846         * fuse_opt: fix memory leak in handling "--" option
1848 2006-01-18  Miklos Szeredi <miklos@szeredi.hu>
1850         * kernel: fix detection of case when fuse is not configured into
1851         the kernel either as module or built-in
1853         * fuse_opt.h: fix incompatibility with C++ compilers by renaming
1854         'template' structure member to 'templ'.  Reported by Takashi Iwai
1856         * fuse.h: fix compatibility bugs.  Patch by Yura Pakhuchiy
1858         * kernel: support version 2.6.16 (i_sem -> i_mutex)
1860 2006-01-16  Miklos Szeredi <miklos@szeredi.hu>
1862         * Added (again) asynchronous readpages support
1864         * Each connection now shows up under /sys/fs/fuse/connections
1866         * Connection attributes exported to sysfs: 'waiting' number of
1867         waiting requests; 'abort' abort the connection
1869         * Connection may be aborted through either the sysfs interface or
1870         with 'umount -f mountpoint'
1872 2006-01-14  Miklos Szeredi <miklos@szeredi.hu>
1874         * Released 2.5.0
1876 2006-01-14  Miklos Szeredi <miklos@szeredi.hu>
1878         * kernel: fix a couple of bugs
1880         * Order of request_end() and fuse_copy_finish() was wrong.
1881         Posthumous note: Franco Broi managed to exploit this, though it
1882         seemed quite impossible
1884         * request_end() used request pointer after decrementing refcount
1886         * Clearing ->connected or ->mounted connection flags could race
1887         with setting other bitfields not protected with a lock
1889 2006-01-10  Miklos Szeredi <miklos@szeredi.hu>
1891         * kernel: add necessary compile flags for 2.4.X/x86_64.
1892         Report from Sean Ziegeler
1894 2006-01-09  Miklos Szeredi <miklos@szeredi.hu>
1896         * Released 2.5.0-pre2
1898 2006-01-09  Miklos Szeredi <miklos@szeredi.hu>
1900         * Applied patch from Csaba Henk, to update mount_bsd to new
1901         fuse_mount() semantics
1903         * Ignore auto,noauto,... options in mount.fuse.  Reported by Frank
1904         Steiner and Don Taber
1906         * fusermount: add 'dirsync' mount option
1908 2006-01-07  Miklos Szeredi <miklos@szeredi.hu>
1910         * Improved help reporting and added version reporting to library
1912 2006-01-06  Miklos Szeredi <miklos@szeredi.hu>
1914         * Change working directory to "/" even if running in the
1915         foreground.  Patch from Jonathan Brandmeyer
1917         * Changed lots of functions to use 'struct fuse_args' instead of
1918         separate argc and argv
1920         * Added fuse_parse_cmdline(), fuse_set_signal_handlers() and
1921         fuse_remove_signal_handlers() functions, so that it's now pretty
1922         easy to get all the functionality of fuse_main() with a filesystem
1923         using the lowlevel API.
1925 2006-01-02  Miklos Szeredi <miklos@szeredi.hu>
1927         * mount.fuse: the 'user' option should be ignored. Report and
1928         solution from Mattd.
1930         * mount.fuse: export PATH in the right place. Report and patch
1931         from Hannes Schweizer
1933 2005-12-16  Miklos Szeredi <miklos@szeredi.hu>
1935         * Clean up the option parsing interface slightly, by creating an
1936         "argument list" structure, that contains the argument vector and
1937         count
1939 2005-12-15  Miklos Szeredi <miklos@szeredi.hu>
1941         * fusermount: check if /mnt/mtab is a symlink and don't modify it
1942         in that case
1944         * kernel: simplify request size limiting. INIT only contains
1945         maximum write size, maximum path component size remains fixed at
1946         1024 bytes, and maximum xattr size depends on read buffer.
1948 2005-12-14  Miklos Szeredi <miklos@szeredi.hu>
1950         * Fix readdir() failure on x86_64, of 32bit programs compiled
1951         without largefile support.  Bug report and help from Anthony
1952         Kolasny
1954         * If lookup returns invalid mode, return -EIO instead of creating
1955         a regular file
1957         * Add current output argument vector to option processing
1958         function
1960 2005-12-12  Miklos Szeredi <miklos@szeredi.hu>
1962         * Fix stale code in ifdef FreeBSD.  Patch from Csaba Henk
1964 2005-12-09  Miklos Szeredi <miklos@szeredi.hu>
1966         * Released 2.5.0-pre1
1968 2005-12-09  Miklos Szeredi <miklos@szeredi.hu>
1970         * libfuse: added option parsing interface, defined in
1971         <fuse_opt.h>.
1973 2005-12-07  Miklos Szeredi <miklos@szeredi.hu>
1975         * Return EIO for file operations (read, write, fsync, flush) on
1976         open files whose inode has become "bad".  Inodes will be marked
1977         "bad" if their type changes.  Bug report by Csaba Henk
1979 2005-12-06  Miklos Szeredi <miklos@szeredi.hu>
1981         * Use bigger request buffer size.  write() did not work on archs
1982         with > 4k page size, Bug report by Mark Haney
1984         * ABI version 7.5:
1986         * Extend INIT reply with data size limits
1988 2005-12-02  Miklos Szeredi <miklos@szeredi.hu>
1990         * Fix memory leak in fuse_read_cmd()/fuse_process_cmd().  Bug
1991         reported by Vincenzo Ciancia
1993         * Handle exit-by-umount in fuse_read_cmd()
1995 2005-11-29  Miklos Szeredi <miklos@szeredi.hu>
1997         * Check if '-msoft-float' option is supported by compiler when
1998         configuring for a 2.4.x kernel.  Bug report by Mark Haney
2000         * In multithreaded loop send a TERM signal to the main thread if
2001         one of the other threads exit.  Needed on FreeBSD for a clean exit
2002         on umount.  Should not cause any harm on Linux either
2004 2005-11-28  Miklos Szeredi <miklos@szeredi.hu>
2006         * Fix bug in 32-bit file handle compatibility
2008 2005-11-27  Miklos Szeredi <miklos@szeredi.hu>
2010         * Block TERM, INT, HUP and QUIT signals in all but the main
2011         thread.  According to POSIX it's not specified which thread will
2012         receive these signals.
2014         * Kernel changes:
2016         * Check for directory aliasing on mkdir, not just on lookup
2018         * Check for special node ID values in create+open operation
2020         * Sync with -mm: readv, writev, aio_read and aio_write methods
2021         added to file operations
2023         * Cleanups: lookup code, page offset calculation
2025         * ABI stepped to 7.4, changes:
2027         * frsize member added to fuse_kstatfs structure
2029         * added support for negative entry caching: on lowlevel API if
2030         fuse_entry_param::ino is set to zero in reply to a lookup request,
2031         the kernel will cache the dentry for the specified amount of time.
2033         * libfuse: added 'negative_timeout' option: specifies how much
2034         negative entries should be cached.  Default is zero, to be
2035         compatible with prior versions
2037 2005-11-22  Miklos Szeredi <miklos@szeredi.hu>
2039         * Add detection of mainline FUSE code in running kernel
2041 2005-11-21  Miklos Szeredi <miklos@szeredi.hu>
2043         * Don't use async cancelation in multithreaded loop.  This makes
2044         it more portable to systems where read() is not async cancel safe.
2045         Report from Andriy Gapon
2047 2005-11-20  Miklos Szeredi <miklos@szeredi.hu>
2049         * Warn if API version 11 compatibility is requested
2051 2005-11-17  Miklos Szeredi <miklos@szeredi.hu>
2053         * More FreeBSD merge
2055         * fusermount: don't allow mountpoints with '\n', '\t', or '\\' in
2056         them, because it corrupts /etc/mtab.  Found by Thomas Biege
2057         CVE-2005-3531
2059         * libfuse: don't use system() to invoke 'fusermount -u ...'
2060         because it breaks mountpoints with spaces in them into multiple
2061         arguments
2063 2005-11-16  Miklos Szeredi <miklos@szeredi.hu>
2065         * Merge library part of FreeBSD port.  Patch by Csaba Henk
2067 2005-11-11  Miklos Szeredi <miklos@szeredi.hu>
2069         * Use 64bit type for file handle, so the full range supported by
2070         the kernel interface is available to applications
2072 2005-11-10  Miklos Szeredi <miklos@szeredi.hu>
2074         * Moved mountpoint argument checking from fuse_parse_cmdline() to
2075         fuse_mount() in preparation to FreeBSD merge.
2077 2005-11-08  Miklos Szeredi <miklos@szeredi.hu>
2079         * Remove unneeded close() from fuse_teardown().  Spotted by Csaba
2080         Henk.
2082 2005-11-07  Miklos Szeredi <miklos@szeredi.hu>
2084         * Make the statfs change backwards compatible.
2086 2005-11-06  Miklos Szeredi <miklos@szeredi.hu>
2088         * Change ->statfs() method to use 'struct statvfs' instead of
2089         'struct statfs'.  This makes the API more portable since statvfs()
2090         is defined by POSIX.
2092 2005-10-28  Miklos Szeredi <miklos@szeredi.hu>
2094         * Add fgetattr() method, which currently will only be called after
2095         a successful call to a create() method.
2097 2005-10-26  Miklos Szeredi <miklos@szeredi.hu>
2099         * Change kernel ABI version to 7.3
2101         * Add ACCESS operation.  This is called from the access() system
2102         call if 'default_permissions' mount option is not given, and is
2103         not called on kernels 2.4.*
2105         * Add atomic CREATE+OPEN operation.  This will only work with
2106         2.6.15 (presumably) or later Linux kernels.
2108         * Add ftruncate() method.  This will only work with 2.6.15
2109         (presumably) or later Linux kernels.
2111         * Fix kernel module compile if kernel source and build directories
2112         differ.  Report and initial patch by John Eastman
2114 2005-10-18  Miklos Szeredi <miklos@szeredi.hu>
2116         * lib: optimize buffer reallocation in fill_dir.
2118 2005-10-17  Miklos Szeredi <miklos@szeredi.hu>
2120         * Released 2.4.1
2122 2005-10-14  Miklos Szeredi <miklos@szeredi.hu>
2124         * libfuse: add debug for write result (by Shaun Jackman) and
2125         warnings for too large read/write result
2127 2005-10-11  Miklos Szeredi <miklos@szeredi.hu>
2129         * Spelling fixes, thanks to Ioannis Barkas
2131 2005-10-10  Miklos Szeredi <miklos@szeredi.hu>
2133         * fuse_common.h: use extern "C".  Thanks to Valient Gough for the
2134         patch
2136 2005-10-07  Miklos Szeredi <miklos@szeredi.hu>
2138         * highlevel-lib: init() and destroy() methods didn't have an
2139         initialized fuse_context.  Bug reported by Tim Stoakes
2141 2005-10-04  Miklos Szeredi <miklos@szeredi.hu>
2143         * Released 2.4.0
2145 2005-10-03  Miklos Szeredi <miklos@szeredi.hu>
2147         * Add documentation to fuse_lowlevel.h
2149         * API cleanups:
2151         * Remove definitions of unused FATTR_CTIME / FUSE_SET_ATTR_CTIME
2153         * Move fuse_mount() and fuse_unmount() to fuse_common.h
2155         * Change the return type of fuse_reply_none() from int to void.
2157 2005-09-30  Miklos Szeredi <miklos@szeredi.hu>
2159         * kernel: NFS exporting leaked dentries.  Bug found and fixed by
2160         Akshat Aranya.
2162 2005-09-29  Miklos Szeredi <miklos@szeredi.hu>
2164         * fusermount: fix error message, when unable to open /dev/fuse.
2165         Report by Balázs Pozsár
2167 2005-09-28  Miklos Szeredi <miklos@szeredi.hu>
2169         * UClibc fixes from Christian Magnusson
2171 2005-09-27  Miklos Szeredi <miklos@szeredi.hu>
2173         * Added NAME="%k" to util/udev.rules.  Fix by Mattias Wadman.
2175 2005-09-26  Miklos Szeredi <miklos@szeredi.hu>
2177         * Released 2.4.0-rc1
2179 2005-09-26  Miklos Szeredi <miklos@szeredi.hu>
2181         * fusermount: allow user umount in the case when /etc/mtab is a
2182         symlink to /proc/mounts.  Reported by Balázs Pozsár.
2184 2005-09-23  Miklos Szeredi <miklos@szeredi.hu>
2186         * Check for special node ID values in lookup and creation
2188 2005-09-22  Miklos Szeredi <miklos@szeredi.hu>
2190         * Slight optimization in returning EINVAL error in case of an open
2191         with O_DIRECT flag.
2193 2005-09-20  Miklos Szeredi <miklos@szeredi.hu>
2195         * Remove '--enable-auto-modprobe' configure flag.  Module
2196         auto-loading is now handled by the kernel.
2198 2005-09-15  Miklos Szeredi <miklos@szeredi.hu>
2200         * Install UDEV rule file, so /dev/fuse is created with mode 0666.
2201         Help from Jens M. Noedler.
2203 2005-09-14  Miklos Szeredi <miklos@szeredi.hu>
2205         * Add memory cleanup on thread exit
2207 2005-09-13  Miklos Szeredi <miklos@szeredi.hu>
2209         * Set umask to zero in fusexmp and fusexmp_fh, so that
2210         files/directories are created with the requested mode.
2212 2005-09-12  Miklos Szeredi <miklos@szeredi.hu>
2214         * Don't ignore read error in multithreaded loop
2216 2005-09-08  Miklos Szeredi <miklos@szeredi.hu>
2218         * Released 2.4.0-pre2
2220 2005-09-08  Miklos Szeredi <miklos@szeredi.hu>
2222         * Revert lock and access operations.  Postpone these until 2.5.
2224 2005-09-02  Miklos Szeredi <miklos@szeredi.hu>
2226         * Fix compile warning on 2.6.13 and later
2228         * Fix compilation on old kernels
2230 2005-08-19  Miklos Szeredi <miklos@szeredi.hu>
2232         * lib: always refresh directory contents after rewinddir() to
2233         conform to SUS.  Bug found by John Muir.
2235 2005-08-15  Miklos Szeredi <miklos@szeredi.hu>
2237         * Released 2.4.0-pre1
2239 2005-08-14  Miklos Szeredi <miklos@szeredi.hu>
2241         * lib: cleaned up (or messed up, depending on your POV) the low
2242         level library API.  Hopefully this is close to the final form.
2244 2005-08-05  Miklos Szeredi <miklos@szeredi.hu>
2246         * fusermount: don't allow empty mountpoint argument, which defeats
2247         automatic umounting in fuse_main().  Bugreport by Václav Jůza
2249 2005-08-03  Miklos Szeredi <miklos@szeredi.hu>
2251         * fix warnings in fuse.h and fuse_lowlevel.h if -Wshadow compiler
2252         option is used (Paul Alfille).
2254 2005-08-02  Miklos Szeredi <miklos@szeredi.hu>
2256         * highlevel-lib: added mount options "attr_timeout" and
2257         "entry_timeout".  These options control the length of time file
2258         attributes and entries (names) are cached.  Both default to 1.0
2259         second.
2261         * kernel: correctly handle zero timeout for attributes and entries
2263 2005-08-01  Miklos Szeredi <miklos@szeredi.hu>
2265         * Added missing symbols to versionscript (Joshua J. Berry)
2267         * kernel: implement two flags, open can set: 'direct_io' and
2268         'keep_cache'.  These correspond exactly to mount options
2269         'direct_io' and 'kernel_cache', but allow a per-open setting.
2271         * Move 'direct_io' and 'kernel_cache' mount option handling to
2272         userspace.  For both mount options, if the option is given, then
2273         the respective open flag is set, otherwise the open flag is left
2274         unmodified (so the filesystem can set it).
2276         * lib (highlevel): make open method optional
2278 2005-07-28  Miklos Szeredi <miklos@szeredi.hu>
2280         * kernel: invalidate attributes for read/readdir/readlink
2281         operations
2283         * kernel: detect newer UML kernels
2285 2005-07-26  Miklos Szeredi <miklos@szeredi.hu>
2287         * Make the installation path of fuse.ko and mount.fuse
2288         configurable through INSTALL_MOD_PATH and MOUNT_FUSE_PATH
2289         environment variables.  Requirement and help from Csaba Henk.
2291 2005-07-22  Miklos Szeredi <miklos@szeredi.hu>
2293         * Fix bug, that causes filesystem requests to hang when unique
2294         request counter becomes negative.  This happens after
2295         2,147,483,648 operations, so most people won't care.  Thanks to
2296         Franco Broi for the report and testing.
2298 2005-07-21  Miklos Szeredi <miklos@szeredi.hu>
2300         * Don't change mtime/ctime/atime to local time on read/write.
2301         Bug reported by Ben Grimm
2303         * Install fuse_common.h and fuse_lowlevel.h.  Report by Christian
2304         Magnusson
2306         * fusermount: use getopt_long() for option parsing.  It allows the
2307         use of '--' to stop argument scanning, so fusermount can now
2308         operate on directories whose names begin with a '-'.  Patch by
2309         Adam Connell
2311 2005-07-15  Miklos Szeredi <miklos@szeredi.hu>
2313         * fusermount: add '-v', '--version' and '--help' options
2315         * add inode based API
2317 2005-07-12  Miklos Szeredi <miklos@szeredi.hu>
2319         * lib: don't block signals in worker threads.  Problem noticed by
2320         Usarin Heininga
2322 2005-07-07  Miklos Szeredi <miklos@szeredi.hu>
2324         * lib: don't allow both 'allow_other' and 'allow_root' options to
2325         be given
2327 2005-07-06  Miklos Szeredi <miklos@szeredi.hu>
2329         * fusermount: check if mountpoint is empty (only '.' and '..' for
2330         directories, and size = 0 for regular files).  If "nonempty"
2331         option is given, omit this check.  This is useful, so users don't
2332         accidentally hide data (e.g. from backup programs).  Thanks to
2333         Frank van Maarseveen for pointing this out.
2335         * kernel: check if mandatory mount options ('fd', 'rootmode',
2336         'user_id', 'group_id') are all given
2338         * lib: simplify 'readdir_ino' handling
2340         * lib: add mount options 'umask=M', 'uid=N', 'gid=N'
2342 2005-07-03  Miklos Szeredi <miklos@szeredi.hu>
2344         * kernel: clean up 'direct_io' code
2346 2005-06-28  Miklos Szeredi <miklos@szeredi.hu>
2348         * Add 'mount.fuse' written by Petr Klima
2350         * '/dev/fuse' is created by 'make install' if does not yet exist
2352 2005-06-20  Miklos Szeredi <miklos@szeredi.hu>
2354         * Fix UCLIBC compile error.  Patch by Christian Magnusson
2356 2005-06-08  Miklos Szeredi <miklos@szeredi.hu>
2358         * Enable the auto-loading of the module via access to the
2359         corresponding device file.  Patch by Takashi Iwai.
2361         * Allow mounting a regular file (over a regular file) for
2362         unprivleged users.
2364         * Do not create temporary device file.  Require "/dev/fuse" to
2365         exist, and be readable/writable by the mounting user.
2367 2005-06-02  Miklos Szeredi <miklos@szeredi.hu>
2369         * Released 2.3.0
2371 2005-06-02  Miklos Szeredi <miklos@szeredi.hu>
2373         * Fix serious information leak: if the filesystem returns a short
2374         byte count to a read request, and there are non-zero number of
2375         pages which are not filled at all, these pages will not be zeroed.
2376         Hence the user can read out previous memory contents.  Found by
2377         Sven Tantau.
2379 2005-05-27  Miklos Szeredi <miklos@szeredi.hu>
2381         * Add "readdir_ino" mount option, which tries to fill in the d_ino
2382         field in struct dirent.  This mount option is ignored if "use_ino"
2383         is used.  It helps some programs (e.g. 'pwd' used over NFS from a
2384         non-Linux OS).  Patch by David Shaw.
2386 2005-05-12  Miklos Szeredi <miklos@szeredi.hu>
2388         * Released 2.3-rc1
2390 2005-05-12  Miklos Szeredi <miklos@szeredi.hu>
2392         * File save in krusader and other editors doesn't work with sshfs,
2393         because open() is interrupted by a periodic signal, and open()
2394         restarts forever, without any progress.  This could just be fixed
2395         in open(), but the problem is more generic: if signals are
2396         received more often than the filesystem can get the request to
2397         userspace, it will never finish.  This is probably only a
2398         theoretical problem, nevertheless I'm removing the possibility to
2399         interrupt requests with anything other than SIGKILL, even before
2400         being sent to userspace.  Bugreport by Eduard Czimbalmos.
2402 2005-05-09  Miklos Szeredi <miklos@szeredi.hu>
2404         * libfuse: add "tree_lock" rwlock, that is locked for write in
2405         rename, unlink and rmdir, and locked for read in all other
2406         operations.  This should fix the rename/release race reported by
2407         Valient Gough and others.  The solution is very coarse, a finer
2408         grained locking scheme could be implemented, but it would be much
2409         more complex.  Let's see whether this is good enough.
2411 2005-05-09  Miklos Szeredi <miklos@szeredi.hu>
2413         * Released 2.3-pre7
2415 2005-05-08  Miklos Szeredi <miklos@szeredi.hu>
2417         * Better fix for out of order FORGET messages.  Now the
2418         LOOKUP/FORGET messages are balanced exactly (one FORGET can
2419         balance many lookups), so the order no longer matters.  This
2420         changes the kernel ABI slightly, but the library remains backward
2421         compatible.
2423 2005-05-06  Miklos Szeredi <miklos@szeredi.hu>
2425         * Fix abort for out of order FORGET messages.  Again.  Spotted by
2426         Franco Broi again.  Sorry :)
2428 2005-04-29  Miklos Szeredi <miklos@szeredi.hu>
2430         * Released 2.3-pre6
2432 2005-04-29  Miklos Szeredi <miklos@szeredi.hu>
2434         * Make fusermount work with fuse kernel modules not yet supporting
2435         the "group_id" option (added for the purpose of stricter
2436         permission checking).
2438 2005-04-28  Miklos Szeredi <miklos@szeredi.hu>
2440         * Check for hard-linked directories in lookup.  This could cause
2441         problems in the VFS, which assumes that such objects never exist.
2443         * Make checking of permission for other users more strict.  Now
2444         the same privilege is required for the mount owner as for ptrace
2445         on the process performing the filesystem operation.
2447 2005-04-23  Miklos Szeredi <miklos@szeredi.hu>
2449         * Released 2.3-pre5
2451 2005-04-22  Miklos Szeredi <miklos@szeredi.hu>
2453         * Add -msoft-float to kernel module compile flags for 2.4.X.  This
2454         is needed on certain architectures.  Report from Chris Kirby
2456         * Fix buggy behavior of open(..., O_CREAT|O_EXCL) if interrupted.
2457         Reported by David Shaw
2459         * Remove "allow_root" option from kernel module, and implement
2460         it's functionality in the library
2462         * Fix Oops caused by premature release of fuse_conn.  Clean up
2463         related code, to be more readable
2465         * Sendfile should not use page cache if "direct_io" mount option
2466         is given
2468 2005-04-08  Miklos Szeredi <miklos@szeredi.hu>
2470         * Fix Oops in case of nfs export.  Spotted by David Shaw
2472         * Fix another Oops in case of write over nfs with direct_io turned
2473         on.  Again spotted by David Shaw
2475 2005-04-07  Miklos Szeredi <miklos@szeredi.hu>
2477         * Released 2.3-pre4
2479 2005-04-07  Miklos Szeredi <miklos@szeredi.hu>
2481         * lib: finalized new readdir() interface, which now supersedes the
2482         getdir() method.
2484 2005-04-03  Miklos Szeredi <miklos@szeredi.hu>
2486         * Released 2.3-pre3
2488 2005-04-03  Miklos Szeredi <miklos@szeredi.hu>
2490         * Implement backward compatibility with version 5 kernel ABI
2492 2005-04-01  Miklos Szeredi <miklos@szeredi.hu>
2494         * Released 2.3-pre2
2496 2005-04-01  Miklos Szeredi <miklos@szeredi.hu>
2498         * kernel: fix dirent offset handling
2500         * lib: add readdir and releasedir methods
2502         * lib: use fh field of fuse_file_info in opendir, readdir,
2503         releasedir and fsyncdir methods
2505         * lib: check kernel API version and bail out of it's old.  This
2506         will be properly fixed in the next release
2508 2005-03-31  Miklos Szeredi <miklos@szeredi.hu>
2510         * Released 2.3-pre1
2512 2005-03-31  Miklos Szeredi <miklos@szeredi.hu>
2514         * kernel API: add padding to structures, so 64bit and 32bit
2515         compiler will return the same size
2517         * kernel API: add offset field to fuse_dirent.  This will allow
2518         more sophisticated readdir interface for userspace
2520         * kernel API: change major number to 6
2522         * kernel: fix warnings on 64bit archs
2524         * kernel: in case of API version mismatch, return ECONNREFUSED
2526 2005-03-24  Miklos Szeredi <miklos@szeredi.hu>
2528         * kernel: trivial cleanups
2530 2005-03-21  Miklos Szeredi <miklos@szeredi.hu>
2532         * Add fsyncdir() operation
2534 2005-03-19  Miklos Szeredi <miklos@szeredi.hu>
2536         * kernel: add locking to background list (fixes previous fix)
2538 2005-03-18  Miklos Szeredi <miklos@szeredi.hu>
2540         * kernel: fix bug which could cause leave busy inodes after
2541         unmount, and Oops.
2543 2005-03-08  Miklos Szeredi <miklos@szeredi.hu>
2545         * examples: add -lpthread to link flags to work around valgrind
2546         quirk
2548         * lib: don't exit threads, so cancelation doesn't cause segfault
2550 2005-03-04  Miklos Szeredi <miklos@szeredi.hu>
2552         * kernel: fix nasty bug which could cause an Oops under certain
2553         situations.  Found by Magnus Johansson
2555 2005-02-28  Miklos Szeredi <miklos@szeredi.hu>
2557         * libfuse: added opendir() method.  This can be used in case
2558         permission checking in getdir() is too late.  Thanks to Usarin
2559         Heininga for pointing out this deficiency
2561         * libfuse: added init() and destroy() methods to fuse_operations
2563         * kernel: llseek() method for files and directories made explicit
2565         * kernel: fixed inode leak in NFS export in case of nodeid
2566         wrapping
2568 2005-02-15  Miklos Szeredi <miklos@szeredi.hu>
2570         * libfuse: clean up some unitialized memory found with valgrind
2572         * Add -lpthread to Libs in fuse.pc.  Valgrind seems to need an
2573         explicitly linked libpthread for applications
2575 2005-02-10  Miklos Szeredi <miklos@szeredi.hu>
2577         * fusermount: set umask, otherwise /etc/mtab will have
2578         unpredictable permission.  Spotted by Jindrich Kolorenc
2580         * fusermount: set owner and group of /etc/mtab to original values
2581         on unmount
2583         * libfuse: add 'use_ino' option to help.  Patch by Valient Gough
2585 2005-02-07  Miklos Szeredi <miklos@szeredi.hu>
2587         * Cleaned up directory reading (temporary file is not used)
2589 2005-02-02  Miklos Szeredi <miklos@szeredi.hu>
2591         * Released 2.2
2593 2005-02-02  Miklos Szeredi <miklos@szeredi.hu>
2595         * Fix possible race when operation is interrupted
2597 2005-01-28  Miklos Szeredi <miklos@szeredi.hu>
2599         * Fix compilation on 2.6.7
2601 2005-01-26  Miklos Szeredi <miklos@szeredi.hu>
2603         * Released 2.2-pre6
2605 2005-01-26  Miklos Szeredi <miklos@szeredi.hu>
2607         * Fix bug in link() operation which caused the wrong path to be
2608         passed as the first argument.  Found by Anton Altaparmakov
2610 2005-01-21  Miklos Szeredi <miklos@szeredi.hu>
2612         * LIB: fix double reply in readdir operation
2614         * fusermount: fix uid checking bug.  Patch by Adam Connell
2616         * KERNEL: fix compile on various RedHat patched 2.4 kernels.
2617         Patch by Keshava Gowda
2619 2005-01-20  Miklos Szeredi <miklos@szeredi.hu>
2621         * KERNEL: provide correct llseek semantics for fuse device (fixes
2622         a bug on Progeny 2.4.20 kernel).  Reported by Valient Gough
2624 2005-01-20  Miklos Szeredi <miklos@szeredi.hu>
2626         * Released 2.2-pre5 (matches kernel 2.6.11-rc1-mm2)
2628 2005-01-18  Miklos Szeredi <miklos@szeredi.hu>
2630         * KERNEL ABI: remove GETDIR operation, and add OPENDIR, READDIR
2631         and RELEASEDIR.  This ends the ugly hack of passing a file
2632         descriptor to the kernel, and actually makes the code simpler.
2634 2005-01-17  Miklos Szeredi <miklos@szeredi.hu>
2636         * Released 2.2-pre4
2638 2005-01-17  Miklos Szeredi <miklos@szeredi.hu>
2640         * fusermount: remove capability setting, which was the cause of
2641         problems for some users.  It seems that FS related capabilities
2642         are removed by setfsuid(), so this isn't even needed.
2644 2005-01-15  Miklos Szeredi <miklos@szeredi.hu>
2646         * fix compilation on 2.4 kernels (reported by Valient Gough)
2648         * fix failure to unmount bug (found by David Shaw)
2650         * fusermount: improve parsing of /etc/fuse.conf
2652 2005-01-13  Miklos Szeredi <miklos@szeredi.hu>
2654         * Remove 'mount_max' and 'user_allow_other' module options.  These
2655         are now checked by fusermount, and can be set in /etc/fuse.conf
2657         * KERNEL: change check for fsid == 0 to capable(CAP_DAC_OVERRIDE)
2659 2005-01-11  Miklos Szeredi <miklos@szeredi.hu>
2661         * KERNEL: fix possible inode allocation problem, where
2662         sizeof(struct inode) is not aligned (found by Mike Waychison)
2664         * KERNEL: use new follow_link/put_link methods
2666         * KERNEL: cosmetic fixes
2668 2005-01-10  Miklos Szeredi <miklos@szeredi.hu>
2670         * Released 2.2-pre3
2672 2005-01-10  Miklos Szeredi <miklos@szeredi.hu>
2674         * Add missing code that was accidently left out
2676 2005-01-09  Miklos Szeredi <miklos@szeredi.hu>
2678         * Released 2.2-pre2
2680 2005-01-09  Miklos Szeredi <miklos@szeredi.hu>
2682         * Change "uid" mount option to "user_id" to avoid confusion with a
2683         mount option "uid" commonly used by many filesystems
2685 2005-01-09  Miklos Szeredi <miklos@szeredi.hu>
2687         * Released 2.2-pre1
2689 2005-01-09  Miklos Szeredi <miklos@szeredi.hu>
2691         * If FUSE is configured in the kernel, don't build it by default
2693 2005-01-07  Miklos Szeredi <miklos@szeredi.hu>
2695         * Compile fix by Christian Magnusson
2697 2005-01-05  Miklos Szeredi <miklos@szeredi.hu>
2699         * Fix compilation for 2.6.{0-5} kernels
2701 2005-01-04  Miklos Szeredi <miklos@szeredi.hu>
2703         * KERNEL: if request is interrupted, still keep reference to used
2704         inode(s) and file, so that FORGET and RELEASE are not sent until
2705         userspace finishes the request.
2707         * remove /{sys,proc}/fs/fuse/version, and instead add an INIT
2708         request with the same information, which is more flexible,
2709         simpler, works on embedded systems.
2711 2004-12-16  Miklos Szeredi <miklos@szeredi.hu>
2713         * KERNEL ABI: update interface to make it independent of type
2714         sizes.  This will help on 64 bit architectures which can run
2715         legacy 32 bit applications.
2717         * KERNEL ABI: add "len" field to request headers.  This will allow
2718         sending/receiving requests in multiple chunks.
2720         * KERNEL: handle file type change more intelligently
2722         * LIB: "-o debug" option should disable backgrounding (fix by
2723         Fabien Reygrobellet)
2725 2004-12-13  Miklos Szeredi <miklos@szeredi.hu>
2727         * KERNEL: invalidate dentry/attributes if interrupted request
2728         could leave filesystem in an unknown state.
2730 2004-12-12  Miklos Szeredi <miklos@szeredi.hu>
2732         * KERNEL: lots of cleanups related to avoiding possible deadlocks.
2733         These will cause some regressions, but stability is considered
2734         more important.  If any of these features turns out to be
2735         important, it can be readded with the deadlock problems addressed.
2737         * Make all requests interruptible (only with SIGKILL currently).
2738         This can be used to break any deadlock produced by the userspace
2739         filesystem accessing it's own exported files.  The RELEASE request
2740         is special, because if it's interrupted before sending it to
2741         userspace it is still sent, but the reply is not awaited.
2743         * If request is interrupted before being sent to userspace, and if
2744         it hasn't yet got any side effects, it is always restarted,
2745         regardless of the SA_RESTART flag.  This makes these interruptions
2746         transparent to the process.
2748         * Remove shared-writable mmap support, which was prone to an
2749         out-of-memory deadlock situation
2751         * Remove INVALIDATE userspace initiated request
2753         * Make readpages() synchronous.  Asynchronous requests are
2754         deadlock prone, since they cannot be interrupted.
2756         * Add readv/writev support to fuse device operations
2758         * Remove some printks, which userspace FS can use for a DoS
2759         against syslog
2761         * Remove 'large_read' mount option from 2.6 in kernel, check it in
2762         fusermount instead
2764         * LIB: improve compatibility with a fuse.h header installed in
2765         ${prefix}/include which in turn includes the real header.
2767         * LIB: improve compatibility by defining fuse_main() (which is now
2768         not used), so old configure scripts find it.
2770 2004-12-10  Miklos Szeredi <miklos@szeredi.hu>
2772         * When mounting on a subdirectory of / don't duplicate slashes at
2773         the beggining of path (spotted by David Shaw)
2775 2004-12-09  Miklos Szeredi <miklos@szeredi.hu>
2777         * Fix bug causing garbage in mount options (spotted by David Shaw)
2779 2004-12-07  Miklos Szeredi <miklos@szeredi.hu>
2781         * Add 'writepage' flag to 'fuse_file_info'.
2783         * More comments in fuse.h
2785         * Get rid of double underscores
2787 2004-12-04  Miklos Szeredi <miklos@szeredi.hu>
2789         * Add -D_FILE_OFFSET_BITS=64 to cflags provided by pkg-config
2791         * helper.c: add -ho option, which only displays the options not
2792         the usage header.  This can be used by filesystems which have
2793         their own options.
2795 2004-12-03  Miklos Szeredi <miklos@szeredi.hu>
2797         * Add source compatibility to 2.1 and 1.1 APIs.  To select betwen
2798         versions simply define FUSE_USE_VERSION to 22, 21 or 11 before
2799         including the fuse header
2801         * Add binary compatibility to 2.1 version of library with symbol
2802         versioning
2804 2004-12-03  Miklos Szeredi <miklos@szeredi.hu>
2806         * Released 2.1
2808 2004-12-01  Miklos Szeredi <miklos@szeredi.hu>
2810         * kernel: clean up writing functions
2812         * kernel: no allocation on write in direct_io mode
2814         * move linux/fuse.h to fuse_kernel.h
2816 2004-11-30  Miklos Szeredi <miklos@szeredi.hu>
2818         * kernel: clean up reading functions
2820 2004-11-29  Miklos Szeredi <miklos@szeredi.hu>
2822         * kernel: make readpage() uninterruptible
2824         * kernel: check readonly filesystem flag in fuse_permission
2826         * lib: don't die if version file not found and new style device
2827         exists
2829         * lib: add '-r' option, which is short for '-o ro'
2831         * fusermount: simplify device opening
2833         * kernel: when direct_io is turend on, copy data directly to
2834         destination without itermediate buffer.  More efficient and safer,
2835         since no allocation is done.
2837         * fusermount: fix warning if fuse module is not loaded
2839         * kernel: use /dev/fuse on 2.4 too
2841 2004-11-26  Miklos Szeredi <miklos@szeredi.hu>
2843         * libfuse API change: open, read, write, flush, fsync and release
2844         are passed a 'struct fuse_file_info' pointer containing the open
2845         flags (open and release), and the file handle.  Verion changed to
2846         3.0.
2848 2004-11-23  Miklos Szeredi <miklos@szeredi.hu>
2850         * More cleanups in the kernel
2852         * The 10,229 charater device number has been assigned for FUSE
2854         * Version file checking fix (reported by Christian Magnusson)
2856         * fusermount: opening the fuse device now doesn't need /sys.
2858         * Optimize reading by controlling the maximum readahead based on
2859         the 'max_read' mount option
2861         * fixes for UCLIBC (Christian Magnusson)
2863 2004-11-19  Miklos Szeredi <miklos@szeredi.hu>
2865         * Cleaned up kernel in preparation for merge into mainline:
2867         * Use /sys/fs/fuse/version instead of /proc/fs/fuse/version
2869         * Use real device (/dev/fuse) instead of /proc/fs/fuse/dev
2871         * __user annotations for sparse
2873         * allocate individual pages instead of kmalloc in fuse_readdir,
2874         fuse_read and fuse_write.
2876         * Fix NFS export in case "use_ino" mount option is given
2878         * Make libfuse and fusermount compatible with future versions
2880         * fusermount: properly add mount options to /etc/mtab
2882 2004-11-15  Miklos Szeredi <miklos@szeredi.hu>
2884         * fusermount: do not resolve last component of mountpoint on if it
2885         is '.' or '..'.  This new path resolvation is now done on mount as
2886         well as unmount.  This enables relative paths to work on unmount.
2888         * fusermount: parse common mount options like "ro", "rw", etc...
2890         * Allow module params to be changed through sysfs
2892 2004-11-14  Miklos Szeredi <miklos@szeredi.hu>
2894         * Released 2.1-pre1
2896 2004-11-14  Miklos Szeredi <miklos@szeredi.hu>
2898         * Fix bug in fuse_readpages() causing Oops in certain situations.
2899         Bug found by Vincenzo Ciancia.
2901         * Fix compilation with kernels versions > 2.6.9.
2903 2004-11-11  Miklos Szeredi <miklos@szeredi.hu>
2905         * Check kernel interface version in fusermount to prevent
2906         strangeness in case of mismatch.
2908         * No need to allocate fuse_conn until actual mount happens
2910         * Fix potential race between umount and fuse_invalidate
2912         * Check superblock of proc file in addition to inode number
2914         * Fix race between request_send_noreply() and fuse_dev_release()
2916 2004-11-10  Miklos Szeredi <miklos@szeredi.hu>
2918         * Separate configure for the kernel directory
2920         * Don't allow write to return more than 'count'
2922         * Extend kernel interface for future use
2924 2004-11-09  Miklos Szeredi <miklos@szeredi.hu>
2926         * Fix 'makeconf.sh' to use autoreconf if available
2928 2004-11-08  Miklos Szeredi <miklos@szeredi.hu>
2930         * Add ino argument to 'fuse_dirfil_t'.  NOTE: This breaks source
2931         compatibility with earlier versions.  To compile earier versions
2932         just add '-DFUSE_DIRFIL_COMPAT' compile flag or fix the source.
2933         Do not use the "use_ino" mount flag with filesystems compiled with
2934         FUSE_DIRFIL_COMPAT.
2936         * Add pkg-config support.  To compile a FUSE based filesystem you
2937         can do  "gcc -Wall `pkg-config --cflags --libs fuse` myfs.c -o myfs"
2938         or similar.  Note, that the PKG_CONFIG_PATH environment variable
2939         usually needs to be set to "/usr/local/lib/pkgconfig".
2941         * fuse.h is now installed in ${prefix}/include/fuse/
2943 2004-11-02  Miklos Szeredi <miklos@szeredi.hu>
2945         * Added "use_ino" mount option.  This enables the filesystems to
2946         set the st_ino field on files
2948 2004-11-01  Miklos Szeredi <miklos@szeredi.hu>
2950         * Fix compile problems with ancient (<=2.4.18) kernels (reported
2951         by Jeremy Smith)
2953         * Add "allow_root" mount option.  Patch by Yaroslav Rastrigin
2955         * Clear the 'exited' flag when mail loop is finished
2957 2004-10-28  Miklos Szeredi <miklos@szeredi.hu>
2959         * Make xattr functions work under 2.6 (bug found by Vincenzo
2960         Ciancia)
2962 2004-10-26  Miklos Szeredi <miklos@szeredi.hu>
2964         * Reset request in fuse_flush() (bugreport by David Shaw)
2966 2004-10-21  Miklos Szeredi <miklos@szeredi.hu>
2968         * fuse_main() now does not exit on error, rather it returns an
2969         error code
2971         * Exported __fuse_setup() and __fuse_teardown() functions, which
2972         make it easier to implement a custom event loop.
2974         * Use daemon() call to background the filesystem after mounting.
2975         This function closes the standard input, output and error and
2976         changes the current working directory to "/".
2978 2004-10-14  Miklos Szeredi <miklos@szeredi.hu>
2980         * Released 1.9
2982 2004-10-09  Miklos Szeredi <miklos@szeredi.hu>
2984         * Don't allow fuse_flush() to be interrupted (bug found by David
2985         Shaw)
2987 2004-09-27  Miklos Szeredi <miklos@szeredi.hu>
2989         * Add PID to fuse_context.  Patch by Steven James
2991         * Change file handle type to 'unsigned long' in kernel interface
2993 2004-09-22  Miklos Szeredi <miklos@szeredi.hu>
2995         * A slight API change: fuse_get_context() doesn't need the "fuse"
2996         pointer, but the returned context contains it instead.  The
2997         fuse_get() function is not needed anymore, so it's removed.
2999         * Fix mounting and umounting FUSE filesystem under another FUSE
3000         filesystem by non-root (bug spotted by Valient Gough)
3002 2004-09-21  Miklos Szeredi <miklos@szeredi.hu>
3004         * Fix deadlock in case of memory allocation failure.  Patch by
3005         Christian Magnusson
3007 2004-09-16  Miklos Szeredi <miklos@szeredi.hu>
3009         * Check memory allocation failures in libfuse
3011 2004-09-14  Miklos Szeredi <miklos@szeredi.hu>
3013         * Check temporary file creation failure in do_getdir().  Bug
3014         spotted by Terje Oseberg
3016 2004-09-13  Miklos Szeredi <miklos@szeredi.hu>
3018         * Allow "large_read" option for 2.6 kernels but warn of deprecation
3020         * Make requests non-interruptible so race with FORGET is avoided.
3021         This is only a temporary solution
3023         * Support compiling FUSE kernel module on 2.4.x UML kernels
3025 2004-09-09  Miklos Szeredi <miklos@szeredi.hu>
3027         * Fix bug in case two FORGETs for the same node are executed in
3028         the wrong order.  Bug spotted and endured for months by Franco
3029         Broi, and logfile for solution provided by Terje Oseberg
3031 2004-09-01  Miklos Szeredi <miklos@szeredi.hu>
3033         * Add -D_REENTRANT to the compile flags
3035         * Add documentation of fuse internals by Terje Oseberg
3037 2004-08-16  Miklos Szeredi <miklos@szeredi.hu>
3039         * Change release method to be non-interruptible.  Fixes bug
3040         causing missing release() call when program which has opened files
3041         is killed (reported by Franco Broi and David Shaw)
3043 2004-07-29  Miklos Szeredi <miklos@szeredi.hu>
3045         * Add fuse_invalidate() to library API
3047 2004-07-26  Miklos Szeredi <miklos@szeredi.hu>
3049         * Check permissions in setattr if 'default_permissions' flag is
3050         set.  Bug spotted by Damjan Lango
3052 2004-07-24  Miklos Szeredi <miklos@szeredi.hu>
3054         * 'large_read' mount option removed for 2.6 kernels, since the
3055         default (dynamic read size) is better
3057         * Extend kernel API with file handles.  A file handle is returned
3058         by open, and passed to read, write, flush, fsync and release.
3059         This is currently only used for debug output in the library.
3061         * Security changes:
3063         * Change the current directory to the mountpoint before checking
3064         the permissions and mount filesystem on "."
3066         * By default don't modprobe the fuse module for non-root.  The old
3067         behavior can be restored with the '--enable-auto-modprobe' flag of
3068         ./configure
3070         * By default don't allow shared writable mappings for non-root.
3071         The old behavior can be restored with the 'user_mmap=1' module
3072         parameter
3074 2004-07-23  Miklos Szeredi <miklos@szeredi.hu>
3076         * Clean up mount option passing to fusermount and to fuse_new()
3077         BEWARE: this changes the userspace API slightly, and the command
3078         line usage of programs using fuse_main()
3080 2004-07-20  Miklos Szeredi <miklos@szeredi.hu>
3082         * Optimize reading under 2.6 kernels by issuing multiple page
3083         asynchronous read requests
3085 2004-07-18  Miklos Szeredi <miklos@szeredi.hu>
3087         * Only use redirty_page_for_writepage() for kernels >= 2.6.6
3089 2004-07-16  Miklos Szeredi <miklos@szeredi.hu>
3091         * Separate directory entry and inode attribute validity timer
3093         * New write semaphore to stop page writeback during truncate
3095         * Fsync now waits for all writes to complete before sending the
3096         request
3098         * Optimization: if a page is completely written by
3099         fuse_commit_write(), clear the dirty flag and set the uptodate
3100         flag for that page
3102         * Some memory cleanup at exit
3104 2004-07-13  Miklos Szeredi <miklos@szeredi.hu>
3106         * Add FUSE_HARD_REMOVE flag, and '-i' option to fuse main, which
3107         disable the "hide if open" behavior of unlink/rename.
3109         * If temporary buffer allocation fails in raw read, fall back to a
3110         smaller buffer
3112 2004-07-12  Miklos Szeredi <miklos@szeredi.hu>
3114         * Fix bug in do_open() in libfuse: open count was incremented
3115         after the reply is sent so it could race with unlink/forget and
3116         cause an abort.
3118 2004-07-08  Miklos Szeredi <miklos@szeredi.hu>
3120         * When performing create or remove operation, refresh the parent's
3121         attributes on next revalidate, as i_nlink (and maybe size/time)
3122         could be inacurate.
3124         * Use redirty_page_for_writepage() in fuse_writepage() for skipped
3125         pages (2.6 only)
3127         * Set set_page_dirty address space operation (2.6 only)
3129 2004-07-06  Miklos Szeredi <miklos@szeredi.hu>
3131         * Minor fix in read:  print debug info even if read size is zero
3133 2004-07-04  Miklos Szeredi <miklos@szeredi.hu>
3135         * Fix race between truncate and writepage (fsx-linux now runs
3136         without error)
3138 2004-07-02  Miklos Szeredi <miklos@szeredi.hu>
3140         * Fix kernel hang on mkfifo under 2.4 kernels (spotted and patch
3141         by Mattias Wadman)
3143         * Added option for direct read/write (-r)
3145         * Fix revalidate time setting for newly created inodes
3147         * Remove uid==0 check for '-x' option in fusermount (kernel checks
3148         this)
3150         * fuse_main() only installs handlers for signals (out of INT, HUP,
3151         TERM, PIPE), for which no handler has yet been installed
3153         * Add module option 'user_allow_other' which if set to non-zero
3154         will allow non root user to specify the 'allow_other' mount option
3155         ('-x' option of fusermount)
3157         * Fix deadlock between page writeback completion and truncate
3158         (bug found by Valient Gough with the fsx-linux utility)
3160 2004-07-01  Miklos Szeredi <miklos@szeredi.hu>
3162         * Change passing fuse include dir to 2.6 kernel make system more
3163         robust (fixes compile problems seen on SuSE 9.1 with updated 2.6
3164         kernel)
3166 2004-06-30  Miklos Szeredi <miklos@szeredi.hu>
3168         * Acquire inode->i_sem before open and release methods to prevent
3169         concurrent rename or unlink operations.
3171         * Make __fuse_read_cmd() read only one command.  This allows
3172         multiplexing the fuse file descriptor with other event sources
3173         using select() or poll() (patch by Jeff Harris)
3175         * Export 'exited' flag with __fuse_exited() (patch by Jeff Harris)
3177 2004-06-27  Miklos Szeredi <miklos@szeredi.hu>
3179         * Fix file offset wrap around at 4G when doing large reads
3181 2004-06-24  Miklos Szeredi <miklos@szeredi.hu>
3183         * Fix memory leak in open (Valient Gough)
3185 2004-06-24  Miklos Szeredi <miklos@szeredi.hu>
3187         * Add "close after delete" support to libfuse (patch by Valient
3188         Gough)
3190         * Cancel all worker threads before exit in multithreaded mode
3192 2004-06-23  Miklos Szeredi <miklos@szeredi.hu>
3194         * Fix locking bugs
3196         * Don't send reply to RELEASE
3198         * Work with newer libtool (1.5a)
3200         * Check for st_atim member of struct stat
3202 2004-06-22  Miklos Szeredi <miklos@szeredi.hu>
3204         * No request allocation needed on inode and file release
3206 2004-06-21  Miklos Szeredi <miklos@szeredi.hu>
3208         * Fix possible inode leak in userspace in case of unfinished
3209         lookup/mknod/mkdir/symlink/link operation.
3211 2004-06-20  Miklos Szeredi <miklos@szeredi.hu>
3213         * Fix some races and cleanups in fuse_read_super()
3215 2004-06-19  Miklos Szeredi <miklos@szeredi.hu>
3217         * Requests are allocated at open time
3219 2004-06-03  Miklos Szeredi <miklos@szeredi.hu>
3221         * Build shared library as well as static (using libtool)
3223         * Change FUSE_MINOR_VERSION from 1 to 0.  I know it's illegal but
3224         there has not been a release with the previous minor number, and I
3225         hope nobody is using it for anything.
3227         * Change fuse_main(), so that default behavior is to go into
3228         background if mount is successful.  '-f' and '-d' options disable
3229         backgrounding.  This fixes the "Why does my FUSE daemon hang?"
3230         newbie complaint.
3232         * Cache ENOSYS (function not implemented) errors on *xattr, flush
3233         and fsync
3235         * Don't call getdir method from open() only from first readdir().
3236         Open is sometimes just used to store the current directory
3237         (e.g. find)
3239 2004-05-18  Miklos Szeredi <miklos@szeredi.hu>
3241         * Added flush() call
3243 2004-05-04  Miklos Szeredi <miklos@szeredi.hu>
3245         * Extended attributes support for 2.4 (patch by Cody Pisto)
3247 2004-04-20  Miklos Szeredi <miklos@szeredi.hu>
3249         * Fixed parser with modversions (Mattias Wadman)
3251 2004-04-19  Miklos Szeredi <miklos@szeredi.hu>
3253         * Added mount option parser to 2.4 build
3255 2004-04-13  Miklos Szeredi <miklos@szeredi.hu>
3257         * Replaced binary mount data with text options
3259         * Show FUSE specific mount options in /proc/mounts
3261         * Check in fuse.h whether _FILE_OFFSET_BITS is set to 64
3263 2004-04-09  Miklos Szeredi <miklos@szeredi.hu>
3265         * Check some limits so userspace won't get too big requests
3267 2004-04-05  Miklos Szeredi <miklos@szeredi.hu>
3269         * Kill compile warning
3271         * Upgraded user-mount patch for 2.6.5
3273 2004-04-02  Miklos Szeredi <miklos@szeredi.hu>
3275         * Add detection of user-mode-linux to configure
3277 2004-03-31  Miklos Szeredi <miklos@szeredi.hu>
3279         * fixed zero size case for getxattr and listxattr
3281 2004-03-30  Miklos Szeredi <miklos@szeredi.hu>
3283         * new fusermount flag '-z': lazy unmount, default is not lazy
3285         * Extended attributes operations added (getxattr, setxattr,
3286         listxattr, removexattr)
3288 2004-03-25  Miklos Szeredi <miklos@szeredi.hu>
3290         * If filesystem doesn't define a statfs operation, then an
3291         all-zero default statfs is returned instead of ENOSYS
3293 2004-03-24  Miklos Szeredi <miklos@szeredi.hu>
3295         * Add FS_BINARY_MOUNTDATA filesystem flag for kernels > 2.6.4
3297 2004-03-09  Miklos Szeredi <miklos@szeredi.hu>
3299         * Fix for uClinux (Christian Magnusson)
3301 2004-03-02  Miklos Szeredi <miklos@szeredi.hu>
3303         * fuse_main() adds "-n progname" to the fusermount command line
3305         * More kernel interface changes:
3307         * Lookup/getattr return cache timeout values
3309 2004-02-25  Miklos Szeredi <miklos@szeredi.hu>
3311         * Clean up option parsing in fuse_main()
3313         * Added fuse_get() function which returns the fuse object created
3314         by fuse_main()
3316 2004-02-20  Miklos Szeredi <miklos@szeredi.hu>
3318         * removed old way of mounting (fusermount mountpoint program)
3320         * more kernel interface changes:
3322         * added nanosecond precision to file times
3324         * removed interface version from mount data
3326         * added /proc/fs/fuse/version which contains MAJOR.MINOR
3328 2004-02-19  Miklos Szeredi <miklos@szeredi.hu>
3330         * statfs library API changed to match other methods.  Since this
3331           is not backward compatible FUSE_MAJOR_VERSION is changed to 2
3333         * kernel interface changes follow:
3335         * statfs changed to 64 bits, added 'bavail' field
3337         * add generation number to lookup result
3339         * optimized mknod/mkdir/symlink/link (no separate lookup is
3340         needed)
3342         * rdev size increased to 32 bits for mknod
3344         * kernel interface version changed to 3.1
3346 2004-02-18  Miklos Szeredi <miklos@szeredi.hu>
3348         * user-mount upgraded for 2.6.3 kernel
3350 2004-02-17  Miklos Szeredi <miklos@szeredi.hu>
3352         * Added user-mount.2.6.2-rc3.patch
3354         * Add FS_SAFE flag to fuse filesystem
3356         * fusermount should allow (un)mounting for non-root even if not
3357         suid-root
3359 2004-02-12  Miklos Szeredi <miklos@szeredi.hu>
3361         * Remove MS_PERMISSION mount flag (that means something else now)
3363 2004-02-10  Miklos Szeredi <miklos@szeredi.hu>
3365         * Added check for i_size_read/write functions to configure.in
3366         (patch by Valient Gough)
3368 2004-02-06  Miklos Szeredi <miklos@szeredi.hu>
3370         * Fixed writing >= 2G files
3372         * Check file size on open (with generic_file_open())
3374         * Readpage calls flush_dcache_page() after storing data
3376         * Use i_size_read/write for accessing inode->i_size
3378         * Make loopback mount of a fuse file work
3380 2004-02-04  Miklos Szeredi <miklos@szeredi.hu>
3382         * Released 1.1
3384 2004-01-29  Miklos Szeredi <miklos@szeredi.hu>
3386         * Properly check if the inode exists in fuse_invalidate
3388 2004-01-27  Miklos Szeredi <miklos@szeredi.hu>
3390         * Added -q option for fusermount
3392         * fuse_unmount() now uses -q option of fusermount, so no error is
3393         printed if the cause of the program exit is that the filesystem
3394         has already been unmounted
3396         * Fix i_nlink correctness after rmdir/unlink
3398 2004-01-26  Miklos Szeredi <miklos@szeredi.hu>
3400         * Released 1.1-pre2
3402 2004-01-26  Miklos Szeredi <miklos@szeredi.hu>
3404         * Fix typo (thanks Marcos Dione)
3406         * Compile fixes for 2.4 kernels
3408 2004-01-23  Miklos Szeredi <miklos@szeredi.hu>
3410         * Fix CONFIG_MODVERSIONS compile on 2.6
3412 2004-01-22  Miklos Szeredi <miklos@szeredi.hu>
3414         * Write all pending data before a RELEASE operation
3416         * Suppress 'Bad file descriptor' warning on exit
3418         * Replaced fusermount option '-d xxx' with '-n xxx' so it doesn't
3419         get confused with '-d' of fuse_main() (sorry about this change)
3421         * New fusermount option '-l' which enables big reads.  Big reads
3422         are now disabled by default.
3424         * fuse_main() can accept fusermount arguments after a '--'
3426 2004-01-19  Miklos Szeredi <miklos@szeredi.hu>
3428         * Support for exporting filesystem over NFS (see README.NFS)
3430 2004-01-14  Miklos Szeredi <miklos@szeredi.hu>
3432         * Support non-blocking writepage on 2.6.  This makes FUSE behave
3433         much more nicely in low-memory situations
3435         * Fix 32-bit dev handling in getattr and mknod for 2.6 kernels.
3436         (Note: the mknod method does not yet use 32bit device number)
3438 2004-01-13  Miklos Szeredi <miklos@szeredi.hu>
3440         * Code cleanups
3442 2004-01-07  Miklos Szeredi <miklos@szeredi.hu>
3444         * Released 1.1-pre1
3446 2004-01-06  Miklos Szeredi <miklos@szeredi.hu>
3448         * Integrated 2.6 kernel support patch by Michael Grigoriev
3450         * Improvements and cleanups for 2.6 kernels
3452 2004-01-05  Miklos Szeredi <miklos@szeredi.hu>
3454         * Added -d option to fusermount
3456 2003-12-15  Miklos Szeredi <miklos@szeredi.hu>
3458         * Added major+minor version to library API, and minor version to
3459           kernel API
3461 2003-12-13  David McNab <david@rebirthing.co.nz>
3463         * Implemented fsync support in examples/example.py
3465         * Implemented 'fsync' and 'statfs' methods in python
3466           interface
3468 2003-12-12  Miklos Szeredi <miklos@szeredi.hu>
3470         * Make it compile on 2.4.19.
3472         * Add fsync operation (write file failed on xemacs & vi)
3474 2003-12-12  David McNab <david@rebirthing.co.nz>
3476         * Added distutils support to the python module, as per standard
3477           python development practice
3479 2003-12-11  Miklos Szeredi <miklos@szeredi.hu>
3481         * Add file locking for mount/unmount (based on patch by Valient
3482         Gough)
3484 2003-12-11  David McNab <david@rebirthing.co.nz>
3486         * Python filesystem - was broken with python2.3, now fixed:
3487            - changed PyTuple_* calls to PySequence_*, because os.lstat
3488              is no longer returning a pure tuple
3489            - changed PyInt_Check() calls to also call PyLong_Check,
3490              to cover for cases (eg os.lstat) where longs are returned
3491            - Added support for file 'release' handling, which IMO is
3492              essential since this signals to a FS that writes to a file
3493              are complete (and therefore the file can now be disposed of
3494              meaningfully at the python filesystem's discretion)
3495            - Added '__init__' handler to base Fuse class, which allows
3496              your Python class to know the mountpoint and mount args,
3497              as attributes myfs.mountpoint, myfs.optlist, myfs.optdict
3499         * General:
3500            - added 'mount.fuse' script (in util/ dir), which is meant to be
3501              symlinked from /sbin, and which allows FUSE filesystems to
3502              be mounted with the 'mount' command, and listed in fstab;
3503              also, mount arguments get passed to your filesystem
3506 2003-11-04  Miklos Szeredi <miklos@szeredi.hu>
3508         * Fix kernel version detection (again).  Bugreport by Peter Levart
3510 2003-11-03  Miklos Szeredi <miklos@szeredi.hu>
3512         * Applied read combining patch by Michael Grigoriev (tested by
3513         Valient Gough and Vincent Wagelaar)
3515 2003-10-22  Miklos Szeredi <miklos@szeredi.hu>
3517         * Mtab handling fix in fusermount by "Valient Gough" (SF patch
3518         #766443)
3520 2003-10-13  Miklos Szeredi <miklos@szeredi.hu>
3522         * Error code fixes in kernel module
3524 2003-10-04  Miklos Szeredi <miklos@szeredi.hu>
3526         * kernel version detection fix
3528         * fusermount now uses "lazy" umount option
3530         * fusermount can use modprobe with module-init-tools
3532 2003-09-08  Miklos Szeredi <miklos@szeredi.hu>
3534         * Integrated caching patch by Michael Grigoriev
3536         * Added "Filesystems" file with descriptions of projects using
3537         FUSE
3539         * Added patch by Michael Grigoriev to allow compliation of FUSE
3540         kernel module for 2.6 kernels
3542 2003-06-02  Miklos Szeredi <miklos@szeredi.hu>
3544         * And another spec-file fix by Achim Settelmeier
3546 2003-05-26  Miklos Szeredi <miklos@szeredi.hu>
3548         * Spec-file fix by Achim Settelmeier
3550 2003-03-10  Miklos Szeredi <miklos@szeredi.hu>
3552         * Fix umount oops (found by Samuli Kärkkäinen)
3554 2003-03-05  Miklos Szeredi <miklos@szeredi.hu>
3556         * Merge of fuse_redhat.spec and fuse.spec by Achim Settelmeier
3558 2003-03-04  Miklos Szeredi <miklos@szeredi.hu>
3560         * Updated fuse.spec file (Achim Settelmeier)
3562 2003-02-19  Miklos Szeredi <miklos@szeredi.hu>
3564         * Version 1.0 released
3566 2003-02-12  Miklos Szeredi <miklos@szeredi.hu>
3568         * SuSE compilation fix by Juan-Mariano de Goyeneche
3570 2002-12-10  Miklos Szeredi <miklos@szeredi.hu>
3572         * The release() VFS call is now exported to the FUSE interface
3574 2002-12-05  Miklos Szeredi <miklos@szeredi.hu>
3576         * 64 bit file offset fixes in the fuse kernel module
3578         * Added function 'fuse_exit()' which can be used to exit the main
3579         loop
3581 2002-12-03  Miklos Szeredi <miklos@szeredi.hu>
3583         * Added _FILE_OFFSET_BITS=64 define to fuse.h.  Note, that this is
3584         an incompatible interface change.
3586 2002-10-28  Miklos Szeredi <miklos@szeredi.hu>
3588         * Portablility fix (bug reported by C. Chris Erway)
3590 2002-10-25  Miklos Szeredi <miklos@szeredi.hu>
3592         * Use Mark Glines' fd passing method for default operation instead
3593         of old reexec
3595 2002-10-22  Miklos Szeredi <miklos@szeredi.hu>
3597         * fix "Stale NFS file handle" bug caused by changes in 2.4.19
3599 2002-10-22  Miklos Szeredi <miklos@szeredi.hu>
3601         * fix incompatiblity with Red Hat kernels, with help from Nathan
3602         Thompson-Amato.
3604 2002-04-18  Mark Glines <mark@glines.org>
3606         * added an alternative to fuse_mount(), called
3607       fuse_mount_ioslave(), which does not need to reexec the
3608       FUSE program.
3609         * added a small helper util needed by fuse_mount_ioslave().
3611 2002-03-16  Mark Glines <mark@glines.org>
3613         * use struct fuse_statfs everywhere possible to avoid problems
3614       with the headerfiles changing struct statfs member sizes
3616 2002-03-01  Miklos Szeredi <miklos@szeredi.hu>
3618         * Another RPM spec file for RedHat >= 7 by Ian Pilcher
3620 2002-01-14  Miklos Szeredi <miklos@szeredi.hu>
3622         * RPM support by Achim Settelmeier
3624 2002-01-09  Miklos Szeredi <miklos@szeredi.hu>
3626         * Version 0.95 released
3628 2002-01-09  Miklos Szeredi <miklos@szeredi.hu>
3630         * Revaidate all path components not just the last, this means a
3631         very small performance penalty for being more up-to-date.
3633 2002-01-08  Miklos Szeredi <miklos@szeredi.hu>
3635         * Update and fix python interface
3637 2002-01-07  Mark Glines <mark@glines.org>
3639         * Added statfs() support to kernel, lib, examples, and perl!
3641 2001-12-26  Miklos Szeredi <miklos@szeredi.hu>
3643         * Better cross compilation support
3645         * Ported to Compaq IPAQ
3647 2001-12-20  Miklos Szeredi <miklos@szeredi.hu>
3649         * Added function fuse_get_context() to library API (inspired by
3650         patch from Matt Ryan)
3652         * Added flags to fusermount and to kernel interface to control
3653         permission checking
3655         * Integrated fuse_set_operations() into fuse_new()
3657 2001-12-08  Miklos Szeredi <miklos@szeredi.hu>
3659         * Applied header protection + extern "C" patch by Roland
3660         Bauerschmidt
3662 2001-12-02  Miklos Szeredi <miklos@szeredi.hu>
3664         * Added perl bindings by Mark Glines
3666 2001-11-21  Miklos Szeredi <miklos@szeredi.hu>
3668         * Cleaned up way of mounting simple filesystems.
3670         * fuse_main() helper function added
3672 2001-11-18  Miklos Szeredi <miklos@szeredi.hu>
3674         * Optimized read/write operations, so that minimal copying of data
3675         is done
3677 2001-11-14  Miklos Szeredi <miklos@szeredi.hu>
3679         * Python bindings by Jeff Epler added
3681 2001-11-13  Miklos Szeredi <miklos@szeredi.hu>
3683         * Fixed vfsmount reference leak in fuse_follow_link
3685         * FS blocksize is set to PAGE_CACHE_SIZE, blksize attribute from
3686         userspace is ignored
3688 2001-11-09  Miklos Szeredi <miklos@szeredi.hu>
3690         * Started ChangeLog