* Released 2.8.2
[fuse.git] / ChangeLog
blob9e2caf28b3bc5f48bc173dbc1ea5fec529c0e452
1 2010-01-26  Miklos Szeredi <miklos@szeredi.hu>
3         * Released 2.8.2
5 2010-01-21  Miklos Szeredi <miklos@szeredi.hu>
7         * Fix race if two "fusermount -u" instances are run in parallel.
8         Reported by Dan Rosenberg
10         * Make sure that the path to be unmounted doesn't refer to a
11         symlink
13 2010-01-14  Miklos Szeredi <miklos@szeredi.hu>
15         * Fix compile error on FreeBSD.  Patch by Jay Sullivan
17 2009-12-17  Miklos Szeredi <miklos@szeredi.hu>
19         * Use '--no-canonicalize' option of mount(8) (available in
20         util-linux-ng version 2.17 or greater) to avoid calling
21         readling(2) on the newly mounted filesystem before the mount
22         procedure is finished.  This has caused a deadlock if "audit" was
23         enabled in the kernel.  Also use '--no-canonicalize' for umount to
24         avoid touching the mounted filesystem.
26 2009-09-11  Miklos Szeredi <miklos@szeredi.hu>
28         * Released 2.8.1
30 2009-08-25  Miklos Szeredi <miklos@szeredi.hu>
32         * Fix missing versioned symbol fuse_get_context@FUSE_2.2
34 2009-08-18  Miklos Szeredi <miklos@szeredi.hu>
36         * Released 2.8.0
38 2009-08-18  Miklos Szeredi <miklos@szeredi.hu>
40         * Add missing fuse_session_data to versionscript
42         * Make sure all global symbols are prefixed with "fuse_" or "cuse_"
44 2009-07-16  Miklos Szeredi <miklos@szeredi.hu>
46         * Clarify how the protocol version should be negotiated between
47         kernel and userspace.  Notably libfuse didn't correctly handle the
48         case when the supported major versions didn't match
50         * Add missing pthread link for libulockmgr.  Patch by  Petr Salinger
52 2009-07-02  Miklos Szeredi <miklos@szeredi.hu>
54         * The context is extended with a 'umask' field.  The umask is sent
55         for mknod, mkdir and create requests by linux kernel version
56         2.6.31 or later, otherwise the umask is set to zero.  Also
57         introduce a new feature flag: FUSE_CAP_DONT_MASK.  If the kernel
58         supports this feature, then this flag will be set in conn->capable
59         in the ->init() method.  If the filesystem sets this flag in in
60         conn->want, then the create modes will not be masked.
62         * Add low level interfaces for lookup cache and attribute
63         invalidation.  This feature is available in linux kernels 2.6.31
64         or later.  Patch by John Muir
66         * Kernel interface version is now 7.12
68         * fusermount: Do not silently ignore command line arguments.
69         Patch by Sebastian Harl
71 2009-06-19  Miklos Szeredi <miklos@szeredi.hu>
73         * Released 2.8.0-pre3
75 2009-06-19  Miklos Szeredi <miklos@szeredi.hu>
77         * Add fuse_getgroups (high level lib) and fuse_req_getgroups (low
78         level lib) functions to query the supplementary group IDs for the
79         current request.  Currently this is implemented on Linux by
80         reading from the /proc filesystem.
82 2009-06-18  Miklos Szeredi <miklos@szeredi.hu>
84         * Add "noforget" option to high level lib to prevent ESTALE errors
85         on NFS exported filesystems.  This result in paths being cached
86         forever, resulting in ever growing memory usage.  Use with care.
88         * Add "no_remote_lock" option to disable remote file locking even
89         if the filesystem implements it.  With this option locking
90         primitives (flock, lockf, fcntl(F_SETLK)) will still work, but
91         will ignore remotely locked files.
93         * CUSE patches from Tejun Heo:
95         * Unrestricted ioctl support left some debris.  Clean them up:
96           o No reason to pass around pointer to flags.  Pass flags directly.
97           o Clean up comment and prototype parameter names.
98           o fuse_lib_ioctl() didn't reply when get_path() failed.  Fix it.
99           o Remove unused variables {in|out}_iov from fuse_lib_ioctl().
101         * Add fuse_reply_ioctl_iov()
103         * Move fuse_session, fuse_req and fuse_ll definitions to fuse_i.h
104         and make send_reply_iov() and fuse_setup_common() global (also in
105         fuse_i.h).  These will be used by CUSE support.
107         * Restructure fuse_ll_process()
109         * Implement libfuse side of CUSE support.  CUSE uses subset of FUSE
110         operations as dir operations don't make sense for CUSE where one
111         instance implements single character device.
113         CUSE support comes with its own cuse_lowevel_ops and related
114         initialization and helper functions.  Except for initialization, it
115         usage is basically identical to FUSE.
117         This patch also adds example/cusexmp.c which can create a character
118         device with name and device number specified on command line.  The
119         created device itself is pretty boring.  It's a bit bucket supporting
120         read, write and access via ioctl.
122 2009-06-16  Miklos Szeredi <miklos@szeredi.hu>
124         * Add missing fuse_reply_bmap to versionscript.  Debian
125         Bug#531329.  Reported by Goswin Brederlow
127 2009-05-27  Miklos Szeredi <miklos@szeredi.hu>
129         * Don't call forget_node() if the lookup was negative and write()
130         for the reply returned ENOENT.  Reported by John Haxby
132 2009-05-25  Miklos Szeredi <miklos@szeredi.hu>
134         * Add FUSE_CAP_EXPORT_SUPPORT to fuse_common.h
136 2009-05-08  Miklos Szeredi <miklos@szeredi.hu>
138         * Fix missing newlines in some printfs
140         * Fix 'make install-strip'.  Reported by Dominick Layfield
142 2009-01-05  Miklos Szeredi <miklos@szeredi.hu>
144         * Released 2.8.0-pre2
146 2008-12-08  Miklos Szeredi <miklos@szeredi.hu>
148         * Implement poll support.  Patch by Tejun Heo
150         * Add missing setattr flags to <fuse_lowlevel.h>.
152         * Only pass valid flags to ->setattr().
154 2008-12-05  Miklos Szeredi <miklos@szeredi.hu>
156         * Implement ioctl support.  On high level interface only
157         "restricted" ioctls are supported (which are defined with the
158         _IO(), _IOR(), _IOW() or _IOWR() macros).  Unrestricted ioctls
159         will only be allwed to CUSE (Character Device in Userspace)
160         servers.  Patch by Tejun Heo
162 2008-11-28  Miklos Szeredi <miklos@szeredi.hu>
164         * If open sets fi->nonseekable, libfuse will tell the kernel that
165         the file is not seekable.  Patch by Tejun Heo
167 2008-11-19  Miklos Szeredi <miklos@szeredi.hu>
169         * lowlevel lib: fix deadlock if fuse_reply_* is called from the
170         interrupt handling function.  Reported by Tero Marttila
172 2008-10-16  Miklos Szeredi <miklos@szeredi.hu>
174         * Allow commas in options to be escaped with a backslash
176         * Add new function: fuse_opt_add_opt_escaped()
178         * Add missing fuse_reply_bmap() to the version script
180 2008-10-14  Miklos Szeredi <miklos@szeredi.hu>
182         * Pass current file flags to read and write operations
184 2008-07-24  Miklos Szeredi <miklos@szeredi.hu>
186         * Clean up debug output in highlevel lib
188 2008-07-10  Miklos Szeredi <miklos@szeredi.hu>
190         * Released 2.8.0-pre1
192 2008-06-27  Miklos Szeredi <miklos@szeredi.hu>
194         * Fix handling of (no)suid and (no)dev options if filesystem is
195         mounted from /etc/fstab or via mount(8).  Reported by Jan Ondrej.
197         * Skip calling mount(8) if /etc/mtab doesn't exist or if it's on a
198         read-only filesystem.  This works around issues with certain mount
199         implementations.  Reported by Szabolcs Szakacsits.
201 2008-06-16  Miklos Szeredi <miklos@szeredi.hu>
203         * Remove fuse kernel module sources.  Linux 2.6.27 will support
204         NFS exporting.
206 2008-06-10  Miklos Szeredi <miklos@szeredi.hu>
208         * Fix theoretical infinite loops in libfuse.  Reported by Szabolcs
209         Szakacsits
211         * Fix missing <sys/param.h> include for PATH_MAX.  Reported by
212         Szabolcs Szakacsits
214 2008-05-23  Miklos Szeredi <miklos@szeredi.hu>
216         * Fix mounting over symlink.  Reported by Szabolcs Szakacsits
218 2008-05-09  Miklos Szeredi <miklos@szeredi.hu>
220         * Don't allow bigger than 4kB writes by default on 2.6.26 and
221         later kernels, so that filesystems not expecting this are not
222         broken on a kernel upgrade.  Provide a 'big_writes' mount option
223         to enable this feature.  In future API revisions this may become
224         the default.
226 2008-04-09  Miklos Szeredi <miklos@szeredi.hu>
228         * Update warning message for missing newline at end of fuse.conf
230         * Update debug message for successful operation to not include the
231         string "error:"
233 2008-04-08  Miklos Szeredi <miklos@szeredi.hu>
235         * Update error message for missing mountpoint parameter.  Reported
236         by Allen Pulsifer
238 2008-04-04  Miklos Szeredi <miklos@szeredi.hu>
240         * Print library version information to debug output
242         * Highlevel lib: don't limit paths to 4095 characters
244 2008-03-25  Miklos Szeredi <miklos@szeredi.hu>
246         * Fix memory leaks on mount.  Patch by Szabolcs Szakacsits
248 2008-03-19  Miklos Szeredi <miklos@szeredi.hu>
250         * Fix missing pthread_mutex_destroy in error path of
251         fuse_lib_opendir().  Patch by Szabolcs Szakacsits
253 2008-03-07  Miklos Szeredi <miklos@szeredi.hu>
255         * Add queuing on contention to per-node lock algorithm, to avoid
256         starvation.
258         * Only enable cancelation when reading a request, otherwise
259         cancellation could happen with a mutex held, which could hang the
260         process on umount
262 2008-02-08  Miklos Szeredi <miklos@szeredi.hu>
264         * Block SIGCHLD when executing mount and umount
266         * fusexmp_fh: avoid unnecessary seeking in readdir
268         * Update kernel interface to 7.9:
270         * Support receiving file handle from kernel in GETATTR request
272         * Allow operations with a NULL path argument, if the filesystem
273         supports it
275         * Add support atomic open(O_TRUNC)
277         * Support the st_blksize field in struct stat
279         * If the "FUSE_THREAD_STACK" environment is set, initialize the
280         stack size of threads by this value.  Patch by Florin Malita
282         * Add per-node locking, instead of a global tree lock to protect
283         the path from changing during operations.  Original patch by
284         Rodrigo Castro
286 2008-02-03  Csaba Henk <csaba.henk@creo.hu>
288         * lib/mount_bsd.c:
289         - string formatting fixes
290         - exit if mounting has failed
291           (in FreeBSD a mount failure is not critical per se, as the daemon
292           still could be mounted externally, but waiting for such an event
293           is more confusing than fruitful)
294         - ditch the kvm(8) stuff and simply use forced unmount which just
295           won't block
296         - prettify option specifications
297         - add "-onosync_unmount" kernel option
299 2008-01-07  Csaba Henk <csaba.henk@creo.hu>
301         * lib/mount_bsd.c:
302         - refine device closing in a race-free way
303         - add support for "-osubtype" on FreeBSD
305         * makeconf.sh: make it work under FreeBSD
307 2008-01-03  Csaba Henk <csaba.henk@creo.hu>
309         * lib/mount_bsd.c: close device before unmount
310         (cf. lib/mount.c rev. 1.43) and fix some warnings 
312 2007-12-23  Miklos Szeredi <miklos@szeredi.hu>
314         * Fix './configure --disable-static'.  Patch from Ismail Dönmez
316 2007-12-17  Miklos Szeredi <miklos@szeredi.hu>
318         * Released 2.7.2
320 2007-12-12  Miklos Szeredi <miklos@szeredi.hu>
322         * Fix kernel module compile for 2.6.24
324         * Invalidate attributes of parent directory after create(), since
325         the modification time changes.  Invalidate attributes on rename,
326         since some filesystems may update st_ctime.  Reported by Szabolcs
327         Szakacsits
329         * Fix NFS exporting to handle 64bit node IDs
331         * Disable old symbol versions if __UCLIBC__ is defined.  If a
332         symbol in a library has multiple versions, the runtime linker in
333         uClibc seems to randomly choose between them.
335         * Remove erroneous 'fuse_opt_insert_arg@FUSE_2_5' from
336         fuse_version_script.  fuse_opt_free_args() was added in fuse-2.6.
338         * Close fuse device file descriptor before calling umount(),
339         preventing a deadlock when umount is synchronous.  Reported by
340         Szabolcs Szakacsits
342 2007-11-12  Miklos Szeredi <miklos@szeredi.hu>
344         * 'fusermount -u' did not umount the filesystem if /etc/mtab was a
345         symlink.  This bug was introduced in 2.7.1 by "Don't call
346         /bin/[u]mount if /etc/mtab is a symlink".  Found by robertsong.
348 2007-10-16  Miklos Szeredi <miklos@szeredi.hu>
350         * Released 2.7.1
352 2007-10-16  Miklos Szeredi <miklos@szeredi.hu>
354         * Clarify licence version to be "LGPLv2" for the library
356         * kernel fixes:
358         * After mount set nlink attribute for the root inode to 1
360         * Fix wake up of task waiting for a reserved request
362         * Fix allowing setattr, listxattr and statfs for other users
364 2007-09-18  Miklos Szeredi <miklos@szeredi.hu>
366         * Add missing context initialization in fuse_fs_chmod().  Bug
367         found by "iohead"
369         * Fix kernel module compilation for 2.6.23.  Based on patch by
370         Marian Marinov
372 2007-09-04  Philippe Elie  <phil.el@wanadoo.fr>
374         * lib/fuse_lowlevel.c: fix a fuse_req leak in do_forget()
376 2007-07-31  Miklos Szeredi <miklos@szeredi.hu>
378         * Work around hotplug issue, that it calls filesystem with file
379         descriptors 0, 1 and 2 not open.  Tracked down by Leif Johnson
381 2007-07-25  Miklos Szeredi <miklos@szeredi.hu>
383         * Don't call /bin/[u]mount if /etc/mtab is a symlink.  Reported by
384         Tomas M
386         * Also don't touch /etc/mtab if it is within the mounted
387         filesystem.  Suggested by Jeffrey Law
389 2007-07-12  Miklos Szeredi <miklos@szeredi.hu>
391         * Reset args->argc in fuse_opt_free_args().  Patch by Lucas
392         C. Villa Real
394 2007-07-02  Miklos Szeredi <miklos@szeredi.hu>
396         * Released 2.7.0
398 2007-07-02  Miklos Szeredi <miklos@szeredi.hu>
400         * Accept a NULL "op" for fuse_main(), etc.  This is useful if
401         filesystem is only invoking fuse to print a help message, or
402         version.  Fixes RedHat bugzilla #217343
404 2007-06-22  Miklos Szeredi <miklos@szeredi.hu>
406         * lib: fix locking when loading a filesystem module
408 2007-06-21  Miklos Szeredi <miklos@szeredi.hu>
410         * Add fs subtype support to mount.fuse
412 2007-06-20  Miklos Szeredi <miklos@szeredi.hu>
414         * Add fs subtype support to libfuse and fusermount
416 2007-06-19  Miklos Szeredi <miklos@szeredi.hu>
418         * kernel: sync with mainline (2.6.22)
420 2007-06-18  Miklos Szeredi <miklos@szeredi.hu>
422         * Send debug output to stderr instead of stdout.  Patch by Jan
423         Engelhardt
425 2007-06-03  Miklos Szeredi <miklos@szeredi.hu>
427         * libulockmgr: Work around a kernel bug in recv(), causing it to
428         sometimes return zero even if data was available on the socket.
430 2007-05-29  Miklos Szeredi <miklos@szeredi.hu>
432         * lib: optimization: store parent pointer in node instead of
433         parent id
435 2007-05-25  Miklos Szeredi <miklos@szeredi.hu>
437         * lib: don't create new thread for each FORGET request.  FORGET
438         messages sometimes caused so many threads to be created, that
439         process virtual memory space ran out.  Reported by Chris AtLee
441 2007-05-24  Miklos Szeredi <miklos@szeredi.hu>
443         * lib: fix memory leak on thread creation failure in multithreaded
444         event loop.  Found by Chris AtLee
446 2007-05-23  Miklos Szeredi <miklos@szeredi.hu>
448         * lowlevel lib: add fuse_reply_iov function, which is similar to
449         fuse_reply_buf, but accepts a vector of buffers.  Patch by Roger
450         Willcocks
452 2007-05-21  Miklos Szeredi <miklos@szeredi.hu>
454         * Fix Oops or error if a regular file is created with mknod(2) on
455         a fuse filesystem.  Kernels 2.6.18 onward are affected.  Thanks to
456         J. Cameijo Cerdeira for the report
458 2007-05-11  Csaba Henk <csaba.henk@creo.hu>
460         * libfuse: fix return value of fuse_loop()/fuse_loop_mt().
461         Error reported by Csaba Henk, fix by Miklos Szeredi
463         * libfuse: fix unlock in flush
465         * libfuse: do unlocking on RELEASE+FLUSH
467 2007-05-03  Miklos Szeredi <miklos@szeredi.hu>
469         * Released 2.7.0-rc1
471 2007-05-02  Miklos Szeredi <miklos@szeredi.hu>
473         * kernel: sync with mainline:
475         * Use invalidate_mapping_pages() if available
477         * Fix BUG when invalid file type is supplied in mount. Patch by
478         Timo Savola
480 2007-04-27  Miklos Szeredi <miklos@szeredi.hu>
482         * libfuse: call umount(8) directly instead of fusermount if
483         possible
485         * Clean up init script, make it LSB compliant
487 2007-04-26  Miklos Szeredi <miklos@szeredi.hu>
489         * In multithreaded loop, use a semaphore instead of SIGHUP to wake
490         up the main thread on umount.  This is more elegant, and works
491         even if signals are blocked.
493 2007-04-25  Miklos Szeredi <miklos@szeredi.hu>
495         * Improve mounting support in libfuse:
496          - check non-empty mountpoint
497          - only fall back to fusermount when necessary
499 2007-04-23  Miklos Szeredi <miklos@szeredi.hu>
501         * Don't chdir to "/" in foreground mode, it causes more trouble
502         than it's worth
504 2007-04-18  Miklos Szeredi <miklos@szeredi.hu>
506         * Replace utils/mount.fuse "sh" script with a "C" program
508 2007-04-15  Miklos Szeredi <miklos@szeredi.hu>
510         * Add -lulockmgr to compilation comment in fusexmp_fh.c
512 2007-04-05  Miklos Szeredi <miklos@szeredi.hu>
514         * Check for iconv.  Patch by Csaba Henk
516         * Add direct umounting
518         * Use "fusectl" as the device for the fusectl filesystem.  Debian
519         Bug#417945.  Reported by Laurent Bonnaud
521 2007-04-01  Csaba Henk <csaba.henk@creo.hu>
523         * Fix some FreeBSD related macros.
525 2007-03-30  Miklos Szeredi <miklos@szeredi.hu>
527         * Add support for direct mounting by libfuse.  Fall back on
528         calling fusermount if it doesn't work
530 2007-03-14  Miklos Szeredi <miklos@szeredi.hu>
532         * Released 2.7.0-pre1
534 2007-03-05  Miklos Szeredi <miklos@szeredi.hu>
536         * Correctly handle O_APPEND in direct IO mode.  Reported by Greg
537         Bruno
539         * mount.fuse should use /bin/bash.  Debian Bug#413403.  Reported
540         by Thomas Weinbrenner
542 2007-02-26  Miklos Szeredi <miklos@szeredi.hu>
544         * Fix detection of installed fuse in init script.  Reported and
545         fix suggested by Davide Canova
547 2007-02-05  Miklos Szeredi <miklos@szeredi.hu>
549         * Fix 2.6.9 RHEL kernels, which have compatibility mutex.h, but
550         don't define mutex_destroy(), bummer.  Patch from Phil Schwan
552 2007-02-04  Miklos Szeredi <miklos@szeredi.hu>
554         * Compile fuseblk for kernels which don't have an option to turn
555         off the block layer (CONFIG_BLOCK).  Reported by Szakacsits
556         Szabolcs
558 2007-02-03  Miklos Szeredi <miklos@szeredi.hu>
560         * Add filesystem stacking support to high level API.  Filesystem
561         modules can be built into libfuse or loaded from shared object
562         (.so) files
564         * Add 'subdir' and 'iconv' built in modules
566         * lib/fuse.c: Fix locking for the reply code in create and open
568 2007-02-02  Miklos Szeredi <miklos@szeredi.hu>
570         * kernel: make it compile on "strange" kernels which have emulated
571         mutexes via <linux/mutex.h> but no i_mutex.  Reported by Tomasz
572         Mateja
574 2007-01-28  Miklos Szeredi <miklos@szeredi.hu>
576         * kernel: fix BUG in control filesystem if it is umounted and
577         mounted again, while some fuse filesystems are present.
578         Bugreport from Florent Mertens
580         * kernel: sync with mainline, support 2.6.20
582 2007-01-22  Miklos Szeredi <miklos@szeredi.hu>
584         * lib/Makefile.am: actually link libfuse against libfuse_libs
586 2007-01-19  Miklos Szeredi <miklos@szeredi.hu>
588         * Build fix for 2.6.16 vanila and 2.6.15 FC5 kernels.  Patch from
589         Ian Abbott
591 2007-01-18  Miklos Szeredi <miklos@szeredi.hu>
593         * Fix abort in fuse_new() compatibility API for opts == NULL case.
594         Novell bugzilla #233870.  Patch from Takashi Iwai.
596 2007-01-13  Miklos Szeredi <miklos@szeredi.hu>
598         * Fix option parsing in mount.fuse.  Patch from Jens M. Noedler
600 2007-01-02  Miklos Szeredi <miklos@szeredi.hu>
602         * Fix unaligned access in file desctriptor passing in libfuse,
603         fusermount and ulockmgr.  Debian bug ID: 404904.  Reported and
604         tested by Sebastian Fontius
606 2006-12-16  Miklos Szeredi <miklos@szeredi.hu>
608         * kernel: don't keep unreferenced inodes in the icache.
610 2006-12-15  Miklos Szeredi <miklos@szeredi.hu>
612         * fusermount: Fix detection of fuseblk.  Reported by Szakacsits
613         Szabolcs
615         * lib: Fix use after free in fuse_flush().  Reported by Ron
616         Lindman
618 2006-12-10  Miklos Szeredi <miklos@szeredi.hu>
620         * mount.fuse: add "setuid=USER" option which does a "su - USER"
621         for the filesystem
623         * fusermount: use "/bin/mount -f" to add entry to /etc/mtab, and
624         "/bin/umount" to remove entry from /etc/mtab.  This gets rid of
625         the ugly code dealing with mtab, as well as a possible race
626         between fusermount and mount trying to modify /etc/mtab at the
627         same time
629         * Fix "buffer size too small: 4" warning for users of the
630         fuse_loop_mt_proc() function.
632 2006-12-04  Miklos Szeredi <miklos@szeredi.hu>
634         * Fix warnings with gcc-4.1 on 64bit archs.  Report from
635         Harshavardhana
637         * Add extra warning options, and fix resulting warnings
639         * Really fix fuse_teardown problem
641 2006-12-02  Miklos Szeredi <miklos@szeredi.hu>
643         * Add -lrt to fuse.pc (if needed) to fix static linking against
644         libfuse.  Reported by Szakacsits Szabolcs
646 2006-12-01  Miklos Szeredi <miklos@szeredi.hu>
648         * Released 2.6.1
650 2006-11-30  Miklos Szeredi <miklos@szeredi.hu>
652         * Fix API version 21 and 22 compatibility for fuse_teardown.
653         Reported by Bgs
655 2006-11-29  Miklos Szeredi <miklos@szeredi.hu>
657         * fusermount: Print a more helpful message in case the kernel
658         doesn't support the 'fuseblk' filesystem type.  This has been
659         biting ntfs-3g users.  Reported by Yura Pakhuchiy
661         * kernel: fix build problem for "make -C ...".  Reported by
662         Stephen Bryant
664 2006-11-19  Miklos Szeredi <miklos@szeredi.hu>
666         * Fix bug in certain error paths of lookup routines.  The request
667         object was reused for sending FORGET, which is illegal.  This bug
668         could cause an Oops in linux-2.6.18 or in fuse-2.6.0, and might
669         silently corrupt memory in earlier versions.  Report and test
670         program by Russ Cox
672 2006-11-11  Miklos Szeredi <miklos@szeredi.hu>
674         * Print an error if an incompatible kernel interface version is
675         detected in INIT.  This will only show if filesystem is started
676         with -d or -f
678         * Fix order of fuse_destroy()/fuse_unmount() in error cleanup of
679         fuse_setup_common().  Reported by Szakacsits Szabolcs
681 2006-11-06  Miklos Szeredi <miklos@szeredi.hu>
683         * Fix recursive locking in fuse_create().  Thanks to Takuya
684         Ishibashi for the bug report
686 2006-10-28  Miklos Szeredi <miklos@szeredi.hu>
688         * Fix automake problem.  Patch from Nix
690 2006-10-26  Miklos Szeredi <miklos@szeredi.hu>
692         * Fix mount.fuse to use /bin/sh instead of /bin/bash, which is not
693         always available on embedded systems.  Patch from Paul Smith
695         * Fix util/Makefile.am, so that failure to run update-rc.d or
696         device creation doesn't cause make to fail.  Reported by Paul
697         Smith
699 2006-10-21  Miklos Szeredi <miklos@szeredi.hu>
701         * Released 2.6.0
703 2006-10-18  Miklos Szeredi <miklos@szeredi.hu>
705         * fusermount: don't try to create a lock file if /etc/mtab is a
706         symlink.  Report and patch from Alexei Sheplyakov (debian bug
707         #393693)
709 2006-10-17  Miklos Szeredi <miklos@szeredi.hu>
711         * Minor changes, sync with mainline tree
713 2006-10-16  Miklos Szeredi <miklos@szeredi.hu>
715         * Released 2.6.0-rc3
717 2006-10-15  Miklos Szeredi <miklos@szeredi.hu>
719         * kernel: cleanups
721 2006-10-13  Miklos Szeredi <miklos@szeredi.hu>
723         * kernel: Fix compilation on patched 2.6.18 (fc6) and 2.6.19.
724         Report from David Shaw
726         * lib: Fix lost error on renaming a file. Report from David Shaw
728         * lib: Fix lost error on hiding open files (renaming to
729         .fuse_hiddenXXXX)
731         * kernel: Fix a rare hang on SMP/32bit on heavy filesystem
732         activity.  The cause of the bug was that some calls to
733         i_size_write() were not protected by a lock, and hence
734         i_size_seqcount could become corrupted.  This caused subsequent
735         calls to i_size_read() to spin forever.  This is a long standing
736         bug was probably introduced in version 2.2, and thought to be
737         related to NFS exporting (it's not).  It was reported by various
738         people, but Dana Henriksen has finally helped me to track it down,
739         so big thanks to him
741         * kernel: Protect against truncation of a swapfile
743 2006-10-10  Miklos Szeredi <miklos@szeredi.hu>
745         * kernel: Check for signature of super_operations->umount_begin().
746         Ubuntu kernel 2.6.17 seems to use the new signature found in
747         2.6.18.  Thanks to Florent Mertens for the report
749 2006-10-08  Miklos Szeredi <miklos@szeredi.hu>
751         * Make sure inode numers wrap around at 2^32.  This is needed on
752         dual 64bit/32bit architectures, because 32bit applications using
753         the non-largefile interface would otherwise break (EOVERFLOW error
754         would be returned by the stat() system call family)
756         * ulockmgr: handle the case, when a locking operation fails
757         because no more file desctriptors are available in
758         ulockmgr_server.  Also work around a Linux kernel bug (known to
759         exist for all Linux kernel versions <= 2.6.18) which may cause
760         sent file descriptors to be lost in the above case
762         * ulockmgr: optimize file descriptor use
764         * restore needed cpp flags to util/Makefile.am
766         * Install udev rules as 99-fuse.rules instead of 60-fuse.rules
768         * Minor clean up of udev rules
770         * Add a synchronous DESTROY message to kernel interface.  This is
771         invoked from umount, when the final instance of the filesystem is
772         released.  It is only sent for filesystems mounted with the
773         'blkdev' option for security reasons.
775         * If the DESTROY message is received, call the filesystem's
776         ->destroy() method.  In this case it's not called from session
777         destruction as it would be otherwise.
779 2006-10-01  Miklos Szeredi <miklos@szeredi.hu>
781         * Released 2.6.0-rc2
783 2006-10-01  Miklos Szeredi <miklos@szeredi.hu>
785         * Add support for FLUSH+RELEASE operation for FreeBSD.  Original
786         patch by Csaba Henk
788         * Add init script to insert fuse module and mount the control
789         filesystem.  The script is installed as /etc/init.d/fuse and on
790         debian based systems (where update-rc.d is available) symlinks
791         from /etc/rc*.d/ are also installed.
793         * Include '#define FUSE_USE_VERSION=XX' into examples so they
794         become more self contained.
796 2006-09-30  Miklos Szeredi <miklos@szeredi.hu>
798         * API changes:
800         * Move lock_owner from a separate argument into fuse_file_info
802         * Add a flag to fuse_file_info indicating (1) a highlevel lock
803         operation (unlock all) was initiated by a flush, (2) a lowlevel
804         release operation should perform a flush as well.
806         * fusermount: revert modprobe change (2006-08-18) since it
807         doesn't work reliably with udev
809         * Add support for block device backed filesystems.  This mode is
810         selected with the 'blkdev' option, which is privileged.
812         * Add support for the bmap (FIBMAP ioctl) operation on block
813         device backed filesystems.  This allows swapon and lilo to work on
814         such filesystems.
816         * kernel changes:
818         * Drop support for kernels earlier than 2.6.9.  Kernel module from
819         previous (2.5.x) release can be used with library from this
820         release
822         * In fuse_dentry_revalidate() use dget_parent() instead of
823         dereferencing d_parent, since there's no protection against parent
824         changing and going away
826         * Protect nlookup from concurrent updates
828         * In lookup if a directory alias exists but is unused,
829         then get rid of it, otherwise return -EBUSY.
831         * In mkdir if a directory alias exists, return success, but leave
832         dentry negative.  In reality this could happen if a remote rename
833         immediately followed the mkdir.
835         * Don't BUG in fuse_iget() if multiple retries are needed to get a
836         good inode.  This could happen if several lookups are racing for
837         the same inode.
839 2006-09-29  Miklos Szeredi <miklos@szeredi.hu>
841         * Fix compilation on 2.6.9.  Report from Troy Ayers
843 2006-09-27  Miklos Szeredi <miklos@szeredi.hu>
845         * Fix Oops in fuse_readpages().  Reported by David Shaw
847 2006-09-24  Csaba Henk <csaba.henk@creo.hu>
849         * Add support for nanosec times on FreeBSD
851         * Fix FreeBSD compatibility issues
853 2006-09-23  Miklos Szeredi <miklos@szeredi.hu>
855         * Fix one more compatibility bug.  Thanks to Ricardo Correia
857         * Fix utimens compilation with uClibc.  Patch from Jamie Guinan
859 2006-09-22  Miklos Szeredi <miklos@szeredi.hu>
861         * Fixed several compatibility bugs in low level interface.
862         Reported by Ricardo Correia
864         * Add workaround for ARM caching bug
866 2006-09-16  Miklos Szeredi <miklos@szeredi.hu>
868         * Rename new utimes() method to more logical utimens()
870 2006-09-14  Miklos Szeredi <miklos@szeredi.hu>
872         * Fuse tried to unlink already unlinked hidden files.  Bug
873         reported by Milan Svoboda
875 2006-09-10  Miklos Szeredi <miklos@szeredi.hu>
877         * Released 2.6.0-rc1
879 2006-09-10  Miklos Szeredi <miklos@szeredi.hu>
881         * kernel: Fix unlock on close for kernels < 2.6.18
883         * Add ulockmgr library & server.  This can be used for handling
884         file locking requests either directly from libfuse or over a
885         network, etc.  This first version is not optimized and the number
886         of file descriptors it uses may get out of hand
888 2006-09-07  Miklos Szeredi <miklos@szeredi.hu>
890         * lib: Add interrupt support to high level library, which may be
891         enabled with the 'intr' mount option.
893         * When an operation is interrupted the thread handling that
894         operation will receive SIGUSR1 (or other signal specified with the
895         'intr_signal=N' option).  The library installs a no-op signal
896         handler for this signal, unless there's already a handler
897         installed.
899         * The filesystem may query interrupt status (regardless of 'intr')
900         with the fuse_interrupted() function.
902         * mount.fuse: initialize $HOME if not set.  Report from Sven Goldt
904 2006-09-03  Miklos Szeredi <miklos@szeredi.hu>
906         * lib: Multithreaded loop now allows unlimited number of threads.
907         This is needed for locking operations which may block
908         indefinitely.  Also the kernel now doesn't limit the number of
909         outstanding requests so the library shouldn't do so either.
911 2006-09-01  Miklos Szeredi <miklos@szeredi.hu>
913         * Fix recursive lock bug in interrupt handling
915         * Add utimes() method to highlevel interface, which supports
916         setting times with nanosecond resolution
918 2006-08-18  Miklos Szeredi <miklos@szeredi.hu>
920         * kernel: fix page leak if fuse_readpages() failed in it's
921         initialization.  Bug found and original patch from Alexander
922         Zarochentsev
924         * For linux kernels >=2.6.18 (2.6.19 if using the fuse module from
925         the kernel tree) the statfs method will receive the path within
926         the filesystem on which the stat(v)fs syscall was called
928         * fusermount: try to modprobe fuse module if invoked by root and
929         unable to open device.  This is needed with udev, since the device
930         node will be created only when the module is inserted, hence
931         module autoloading won't work.  Reported by Szakacsits Szabolcs
933 2006-07-30  Miklos Szeredi <miklos@szeredi.hu>
935         * fusermount: if selinux is active, restore the original file's
936         security context in unmount_rename().  Redhat bugzilla id 188561.
937         Patch from Yves Perrenoud
939         * Add POSIX file locking operation to high level library
941         * Initialize context for unlink of hidden files on umount.  Bug
942         reported by Tim Stoakes
944 2006-07-14  Miklos Szeredi <miklos@szeredi.hu>
946         * Multiple release() calls can race with each other, resulting in
947         the hidden file being deleted before the last release finishes.
948         Bug found and patch tested by Mark Huijgen
950 2006-07-05  Miklos Szeredi <miklos@szeredi.hu>
952         * fusermount: if /dev/fuse doesn't exist, suggest modprobing fuse;
953         this makes sense on systems using udev.  Reported by Szakacsits
954         Szabolcs
956 2006-06-29  Miklos Szeredi <miklos@szeredi.hu>
958         * Released 2.6.0-pre3
960 2006-06-29  Miklos Szeredi <miklos@szeredi.hu>
962         * Support in kernel module for file locking and interruption.  The
963         same functionality is available in official kernels >= 2.6.18
965 2006-06-28  Miklos Szeredi <miklos@szeredi.hu>
967         * Add POSIX file locking support
969         * Add request interruption
971 2006-06-06  Miklos Szeredi <miklos@szeredi.hu>
973         * Add missing pthread_rwlock_destroy().  Patch from Remy Blank
975 2006-06-05  Remy Blank <remy.blank@pobox.com>
977         * lib: canonicalize mount point in fuse_helper_opt_proc() so that
978         unmounting succeeds even if mount point was relative.
980 2006-06-04  Csaba Henk <csaba.henk@creo.hu>
982         * lib: fix emergency umount in helper.c when malloc fails.
983         (The way it was done would end up in a segfault.)
985 2006-06-01  Csaba Henk <csaba.henk@creo.hu>
987         * lib: adjust threading related compiler flags.
988         Switch to "-pthread" from "-lpthread" as that's the preferred
989         one on several platforms. Consulted with Terrence Cole and
990         Miklos Szeredi
992 2006-05-08  Miklos Szeredi <miklos@szeredi.hu>
994         * lib: search fusermount in installation directory (bindir) as
995         well as in PATH.
997 2006-05-03  Miklos Szeredi <miklos@szeredi.hu>
999         * lib: fix compilation if CLOCK_MONOTONIC is not defined.
1000         Reported by Christian Magnusson
1002 2006-04-23  Csaba Henk <csaba.henk@creo.hu>
1004         * lib: make FreeBSD mount routine recognize if kernel features
1005         backgrounded init and if it does, run the mount util in foreground
1006         (similarly to Linux)
1008 2006-04-21  Miklos Szeredi <miklos@szeredi.hu>
1010         * kernel: fix fput deadlock fix, the lockless solution could lead
1011         to "VFS: busy inodes after umount..."
1013         * kernel: fix race between checking and setting file->private_data
1014         for the device.  Found by Al Viro
1016 2006-04-11  Miklos Szeredi <miklos@szeredi.hu>
1018         * kernel: remove request pool, instead allocate requests on
1019         demand.  Account the number of background requests, and if they go
1020         over a limit, block the allocation of new requests.
1022         * kernel: fix deadlock if backgrounded request holds the last
1023         reference to the super block
1025         * kernel: don't use fuse_reset_request() during direct I/O
1027 2006-04-06  Csaba Henk <csaba.henk@creo.hu>
1029         * lib: Let FreeBSD mount option parsing routine recognize "no"
1030         prefixes for FUSE specific options as well
1032 2006-04-01  Miklos Szeredi <miklos@szeredi.hu>
1034         * lib: Add missing rwlock initialization.  Patch by Ryan Bradetich
1036 2006-03-17  Miklos Szeredi <miklos@szeredi.hu>
1038         * API changes:
1040         * fuse_main(), fuse_setup() and fuse_new() have an additionl
1041         user_data parameter
1043         * fuse_mount() returns a 'struct fuse_chan' pointer instead of a
1044         file descriptor
1046         * fuse_unmount() receives a 'struct fuse_chan' pointer.  It
1047         destroys the given channel
1049         * fuse_teardown() no longer has a file descriptor parameter
1051         * new exported functions: fuse_session_remove_chan(),
1052         fuse_get_session(), fuse_daemonize()
1054         * fuse_chan_recv() may now return a new channel which will be used
1055         to send the reply
1057 2006-03-16  Miklos Szeredi <miklos@szeredi.hu>
1059         * Released 2.6.0-pre2
1061 2006-03-16  Miklos Szeredi <miklos@szeredi.hu>
1063         * Don't unmount if already unmounted.  This fixes a problem seen
1064         in the following situation: Lazy unmount a busy filesystem; Mount
1065         a new one in top; When the first finally unmounts, the second also
1066         unmounts.  Reported by Franco Broi
1068 2006-03-15  Miklos Szeredi <miklos@szeredi.hu>
1070         * lowlevel lib: use indirect function calls instead of a
1071         switch/case construct.  Besides increased efficiency it helps
1072         maintainability & readability too.  Patch from Florin Malita
1074 2006-03-13  Miklos Szeredi <miklos@szeredi.hu>
1076         * kernel: replace global spinlock with a per-connection spinlock
1078 2006-03-10  Miklos Szeredi <miklos@szeredi.hu>
1080         * Fix source compatibility breakage for fuse_unmount().  Report
1081         from Yura Pakhuchiy
1083 2006-03-02  Miklos Szeredi <miklos@szeredi.hu>
1085         * Fix O_ASYNC handling in fuse_dev_release().  From Jeff Dike
1087 2006-03-01  Miklos Szeredi <miklos@szeredi.hu>
1089         * Add O_ASYNC and O_NONBLOCK support to FUSE device.  Patch by
1090         Jeff Dike
1092         * Renamed fuse_chan_receive() to fuse_chan_recv() and changed
1093         interface to return -errno in case of error.
1095 2006-03-01  Csaba Henk <csaba.henk@creo.hu>
1097         * libfuse: pass device file descriptor to fuse_unmount(), rewrite
1098         FreeBSD implementation so that it uses libc (sysctl backed) instead
1099         of an embdedded script (kmem backed). Adjust the control flow of
1100         hello_ll so that device doesn't get closed before unmount attempt.
1102 2006-02-25  Miklos Szeredi <miklos@szeredi.hu>
1104         * Lowlevel lib: return all-zero statvfs data if filesystem doesn't
1105         implement method.  This is needed on FreeBSD, and nicer on Linux
1106         too.  Highlevel lib already did this.  Reported by Csaba Henk
1108         * Fix negative entry handling.  There was a bug, that negative
1109         lookups with timeouts (nodeid == 0) returned -EIO.
1111 2006-02-23  Miklos Szeredi <miklos@szeredi.hu>
1113         * Fix race between RELEASE and UNLINK, which might leave
1114         .fuse_hidden* files around
1116 2006-02-21  Miklos Szeredi <miklos@szeredi.hu>
1118         * fusexmp_fh: implement flush() method and call close() on the
1119         open file descriptor.  This is needed if used on an NFS
1120         filesystem, which buffers data until file is closed.  Franco Broi
1121         spotted the situation when 'cp -p' failed to set the modification
1122         time because of this.
1124 2006-02-20  Miklos Szeredi <miklos@szeredi.hu>
1126         * Released 2.6.0-pre1
1128 2006-02-19  Miklos Szeredi <miklos@szeredi.hu>
1130         * libfuse: fix use-after-free bug in interruptred reply_entry().
1131         Patch from John Muir
1133         * libfuse: fix wrong symbol versioning for fuse_mount.  Debian bug
1134         ID: 352631.  Found by Stéphane Rosi
1136 2006-02-17  Miklos Szeredi <miklos@szeredi.hu>
1138         * Lowlevel lib: Unify fuse_dirent_size() and fuse_add_dirent()
1139         into a single function fuse_add_direntry().  This cleans up the
1140         interface and makes it possible to do stacking.
1142 2006-02-16  Miklos Szeredi <miklos@szeredi.hu>
1144         * Fix rare race betweeen abort and release caused by failed iget()
1145         in fuse_create_open().
1147         * Add 'ac_attr_timeout' option e.g. for filesystems which do their
1148         own attribute caching.
1150 2006-02-15  Miklos Szeredi <miklos@szeredi.hu>
1152         * Work around FreeBSD runtime linker "feature" which binds an old
1153         version of a symbol to internal references if the symbol has more
1154         than one version.  This resulted in infinite recursion in
1155         fuse_lowlevel_new_compat25().
1157 2006-02-10  Csaba Henk <csaba.henk@creo.hu>
1159         * Refine clock_gettime() querying so that linker options
1160         shall be set as it's appropriate for the target platform.
1162 2006-02-09  Miklos Szeredi <miklos@szeredi.hu>
1164         * Fix udev rule syntax.  Reported by Nix
1166 2006-02-08  Miklos Szeredi <miklos@szeredi.hu>
1168         * In some cases udev rule seems to be ineffective when installed
1169         as 40-fuse.rules but work as 60-fuse.rules.  Reported by John Hunt
1171 2006-02-03  Miklos Szeredi <miklos@szeredi.hu>
1173         * Fix compilation when build directory is different from source
1174         directory.  Reported by Frédéric L. W. Meunier
1176 2006-02-02  Miklos Szeredi <miklos@szeredi.hu>
1178         * Fix even bigger bug introduced in fix for request_end() on
1179         2006-01-14.  Reported by Gal Rosen
1181 2006-01-30  Miklos Szeredi <miklos@szeredi.hu>
1183         * highlevel-lib: add 'auto_cache' option.  This caches file data
1184         based on modification time and size
1186 2006-01-20  Miklos Szeredi <miklos@szeredi.hu>
1188         * Sanitize storage type and help message in mount_bsd.c.  Patch
1189         from Csaba Henk
1191         * fuse_opt: add new helper constants FUSE_OPT_KEY_KEEP and
1192         FUSE_OPT_KEY_DISCARD
1194         * Add options 'max_readahead', 'sync_read' and 'async_read'
1196         * Kernel ABI version 7.6:
1198         * Negotiate the 'max_readahead' value and 'async_read' flags with
1199         userspace in the INIT method
1201         * Add connection info to ->init() methods to both lowlevel and
1202         highlevel API
1204         * Fall back to synchronous read() behavior if either library or
1205         userspace filesystem is using the old interface version.  This is
1206         needed so non-updated filesystems won't be confused by the
1207         different read() behavior
1209 2006-01-19  Miklos Szeredi <miklos@szeredi.hu>
1211         * lib: if "fsname=" option was given, pass it to fusermount
1213         * fuse_opt: add new fuse_opt_insert_arg() function, which is
1214         needed by filesystems to implement some argument manipulations
1215         correctly
1217         * fuse_opt: fix memory leak in handling "--" option
1219 2006-01-18  Miklos Szeredi <miklos@szeredi.hu>
1221         * kernel: fix detection of case when fuse is not configured into
1222         the kernel either as module or built-in
1224         * fuse_opt.h: fix incompatibility with C++ compilers by renaming
1225         'template' structure member to 'templ'.  Reported by Takashi Iwai
1227         * fuse.h: fix compatibility bugs.  Patch by Yura Pakhuchiy
1229         * kernel: support version 2.6.16 (i_sem -> i_mutex)
1231 2006-01-16  Miklos Szeredi <miklos@szeredi.hu>
1233         * Added (again) asynchronous readpages support
1235         * Each connection now shows up under /sys/fs/fuse/connections
1237         * Connection attributes exported to sysfs: 'waiting' number of
1238         waiting requests; 'abort' abort the connection
1240         * Connection may be aborted through either the sysfs interface or
1241         with 'umount -f mountpoint'
1243 2006-01-14  Miklos Szeredi <miklos@szeredi.hu>
1245         * Released 2.5.0
1247 2006-01-14  Miklos Szeredi <miklos@szeredi.hu>
1249         * kernel: fix a couple of bugs
1251         * Order of request_end() and fuse_copy_finish() was wrong.
1252         Posthumous note: Franco Broi managed to exploit this, though it
1253         seemed quite impossible
1255         * request_end() used request pointer after decrementing refcount
1257         * Clearing ->connected or ->mounted connection flags could race
1258         with setting other bitfields not protected with a lock
1260 2006-01-10  Miklos Szeredi <miklos@szeredi.hu>
1262         * kernel: add necessary compile flags for 2.4.X/x86_64.
1263         Report from Sean Ziegeler
1265 2006-01-09  Miklos Szeredi <miklos@szeredi.hu>
1267         * Released 2.5.0-pre2
1269 2006-01-09  Miklos Szeredi <miklos@szeredi.hu>
1271         * Applied patch from Csaba Henk, to update mount_bsd to new
1272         fuse_mount() semantics
1274         * Ignore auto,noauto,... options in mount.fuse.  Reported by Frank
1275         Steiner and Don Taber
1277         * fusermount: add 'dirsync' mount option
1279 2006-01-07  Miklos Szeredi <miklos@szeredi.hu>
1281         * Improved help reporting and added version reporting to library
1283 2006-01-06  Miklos Szeredi <miklos@szeredi.hu>
1285         * Change working directory to "/" even if running in the
1286         foreground.  Patch from Jonathan Brandmeyer
1288         * Changed lots of functions to use 'struct fuse_args' instead of
1289         separate argc and argv
1291         * Added fuse_parse_cmdline(), fuse_set_signal_handlers() and
1292         fuse_remove_signal_handlers() functions, so that it's now pretty
1293         easy to get all the functionality of fuse_main() with a filesystem
1294         using the lowlevel API.
1296 2006-01-02  Miklos Szeredi <miklos@szeredi.hu>
1298         * mount.fuse: the 'user' option should be ignored. Report and
1299         solution from Mattd.
1301         * mount.fuse: export PATH in the right place. Report and patch
1302         from Hannes Schweizer
1304 2005-12-16  Miklos Szeredi <miklos@szeredi.hu>
1306         * Clean up the option parsing interface slightly, by creating an
1307         "argument list" structure, that contains the argument vector and
1308         count
1310 2005-12-15  Miklos Szeredi <miklos@szeredi.hu>
1312         * fusermount: check if /mnt/mtab is a symlink and don't modify it
1313         in that case
1315         * kernel: simplify request size limiting. INIT only contains
1316         maximum write size, maximum path component size remains fixed at
1317         1024 bytes, and maximum xattr size depends on read buffer.
1319 2005-12-14  Miklos Szeredi <miklos@szeredi.hu>
1321         * Fix readdir() failure on x86_64, of 32bit programs compiled
1322         without largefile support.  Bug report and help from Anthony
1323         Kolasny
1325         * If lookup returns invalid mode, return -EIO instead of creating
1326         a regular file
1328         * Add current output argument vector to option processing
1329         function
1331 2005-12-12  Miklos Szeredi <miklos@szeredi.hu>
1333         * Fix stale code in ifdef FreeBSD.  Patch from Csaba Henk
1335 2005-12-09  Miklos Szeredi <miklos@szeredi.hu>
1337         * Released 2.5.0-pre1
1339 2005-12-09  Miklos Szeredi <miklos@szeredi.hu>
1341         * libfuse: added option parsing interface, defined in
1342         <fuse_opt.h>.
1344 2005-12-07  Miklos Szeredi <miklos@szeredi.hu>
1346         * Return EIO for file operations (read, write, fsync, flush) on
1347         open files whose inode has become "bad".  Inodes will be marked
1348         "bad" if their type changes.  Bug report by Csaba Henk
1350 2005-12-06  Miklos Szeredi <miklos@szeredi.hu>
1352         * Use bigger request buffer size.  write() did not work on archs
1353         with > 4k page size, Bug report by Mark Haney
1355         * ABI version 7.5:
1357         * Extend INIT reply with data size limits
1359 2005-12-02  Miklos Szeredi <miklos@szeredi.hu>
1361         * Fix memory leak in fuse_read_cmd()/fuse_process_cmd().  Bug
1362         reported by Vincenzo Ciancia
1364         * Handle exit-by-umount in fuse_read_cmd()
1366 2005-11-29  Miklos Szeredi <miklos@szeredi.hu>
1368         * Check if '-msoft-float' option is supported by compiler when
1369         configuring for a 2.4.x kernel.  Bug report by Mark Haney
1371         * In multithreaded loop send a TERM signal to the main thread if
1372         one of the other threads exit.  Needed on FreeBSD for a clean exit
1373         on umount.  Should not cause any harm on Linux either
1375 2005-11-28  Miklos Szeredi <miklos@szeredi.hu>
1377         * Fix bug in 32-bit file handle compatibility
1379 2005-11-27  Miklos Szeredi <miklos@szeredi.hu>
1381         * Block TERM, INT, HUP and QUIT signals in all but the main
1382         thread.  According to POSIX it's not specified which thread will
1383         receive these signals.
1385         * Kernel changes:
1387         * Check for directory aliasing on mkdir, not just on lookup
1389         * Check for special node ID values in create+open operation
1391         * Sync with -mm: readv, writev, aio_read and aio_write methods
1392         added to file operations
1394         * Cleanups: lookup code, page offset calculation
1396         * ABI stepped to 7.4, changes:
1398         * frsize member added to fuse_kstatfs structure
1400         * added support for negative entry caching: on lowlevel API if
1401         fuse_entry_param::ino is set to zero in reply to a lookup request,
1402         the kernel will cache the dentry for the specified amount of time.
1404         * libfuse: added 'negative_timeout' option: specifies how much
1405         negative entries should be cached.  Default is zero, to be
1406         compatible with prior versions
1408 2005-11-22  Miklos Szeredi <miklos@szeredi.hu>
1410         * Add detection of mainline FUSE code in running kernel
1412 2005-11-21  Miklos Szeredi <miklos@szeredi.hu>
1414         * Don't use async cancelation in multithreaded loop.  This makes
1415         it more portable to systems where read() is not async cancel safe.
1416         Report from Andriy Gapon
1418 2005-11-20  Miklos Szeredi <miklos@szeredi.hu>
1420         * Warn if API version 11 compatibility is requested
1422 2005-11-17  Miklos Szeredi <miklos@szeredi.hu>
1424         * More FreeBSD merge
1426         * fusermount: don't allow mountpoints with '\n', '\t', or '\\' in
1427         them, because it corrupts /etc/mtab.  Found by Thomas Biege
1428         CVE-2005-3531
1430         * libfuse: don't use system() to invoke 'fusermount -u ...'
1431         because it breaks mountpoints with spaces in them into multiple
1432         arguments
1434 2005-11-16  Miklos Szeredi <miklos@szeredi.hu>
1436         * Merge library part of FreeBSD port.  Patch by Csaba Henk
1438 2005-11-11  Miklos Szeredi <miklos@szeredi.hu>
1440         * Use 64bit type for file handle, so the full range supported by
1441         the kernel interface is available to applications
1443 2005-11-10  Miklos Szeredi <miklos@szeredi.hu>
1445         * Moved mountpoint argument checking from fuse_parse_cmdline() to
1446         fuse_mount() in preparation to FreeBSD merge.
1448 2005-11-08  Miklos Szeredi <miklos@szeredi.hu>
1450         * Remove unneeded close() from fuse_teardown().  Spotted by Csaba
1451         Henk.
1453 2005-11-07  Miklos Szeredi <miklos@szeredi.hu>
1455         * Make the statfs change backwards compatible.
1457 2005-11-06  Miklos Szeredi <miklos@szeredi.hu>
1459         * Change ->statfs() method to use 'struct statvfs' instead of
1460         'struct statfs'.  This makes the API more portable since statvfs()
1461         is defined by POSIX.
1463 2005-10-28  Miklos Szeredi <miklos@szeredi.hu>
1465         * Add fgetattr() method, which currently will only be called after
1466         a successful call to a create() method.
1468 2005-10-26  Miklos Szeredi <miklos@szeredi.hu>
1470         * Change kernel ABI version to 7.3
1472         * Add ACCESS operation.  This is called from the access() system
1473         call if 'default_permissions' mount option is not given, and is
1474         not called on kernels 2.4.*
1476         * Add atomic CREATE+OPEN operation.  This will only work with
1477         2.6.15 (presumably) or later Linux kernels.
1479         * Add ftruncate() method.  This will only work with 2.6.15
1480         (presumably) or later Linux kernels.
1482         * Fix kernel module compile if kernel source and build directories
1483         differ.  Report and initial patch by John Eastman
1485 2005-10-18  Miklos Szeredi <miklos@szeredi.hu>
1487         * lib: optimize buffer reallocation in fill_dir.
1489 2005-10-17  Miklos Szeredi <miklos@szeredi.hu>
1491         * Released 2.4.1
1493 2005-10-14  Miklos Szeredi <miklos@szeredi.hu>
1495         * libfuse: add debug for write result (by Shaun Jackman) and
1496         warnings for too large read/write result
1498 2005-10-11  Miklos Szeredi <miklos@szeredi.hu>
1500         * Spelling fixes, thanks to Ioannis Barkas
1502 2005-10-10  Miklos Szeredi <miklos@szeredi.hu>
1504         * fuse_common.h: use extern "C".  Thanks to Valient Gough for the
1505         patch
1507 2005-10-07  Miklos Szeredi <miklos@szeredi.hu>
1509         * highlevel-lib: init() and destroy() methods didn't have an
1510         initialized fuse_context.  Bug reported by Tim Stoakes
1512 2005-10-04  Miklos Szeredi <miklos@szeredi.hu>
1514         * Released 2.4.0
1516 2005-10-03  Miklos Szeredi <miklos@szeredi.hu>
1518         * Add documentation to fuse_lowlevel.h
1520         * API cleanups:
1522         * Remove definitions of unused FATTR_CTIME / FUSE_SET_ATTR_CTIME
1524         * Move fuse_mount() and fuse_unmount() to fuse_common.h
1526         * Change the return type of fuse_reply_none() from int to void.
1528 2005-09-30  Miklos Szeredi <miklos@szeredi.hu>
1530         * kernel: NFS exporting leaked dentries.  Bug found and fixed by
1531         Akshat Aranya.
1533 2005-09-29  Miklos Szeredi <miklos@szeredi.hu>
1535         * fusermount: fix error message, when unable to open /dev/fuse.
1536         Report by Balázs Pozsár
1538 2005-09-28  Miklos Szeredi <miklos@szeredi.hu>
1540         * UClibc fixes from Christian Magnusson
1542 2005-09-27  Miklos Szeredi <miklos@szeredi.hu>
1544         * Added NAME="%k" to util/udev.rules.  Fix by Mattias Wadman.
1546 2005-09-26  Miklos Szeredi <miklos@szeredi.hu>
1548         * Released 2.4.0-rc1
1550 2005-09-26  Miklos Szeredi <miklos@szeredi.hu>
1552         * fusermount: allow user umount in the case when /etc/mtab is a
1553         symlink to /proc/mounts.  Reported by Balázs Pozsár.
1555 2005-09-23  Miklos Szeredi <miklos@szeredi.hu>
1557         * Check for special node ID values in lookup and creation
1559 2005-09-22  Miklos Szeredi <miklos@szeredi.hu>
1561         * Slight optimization in returning EINVAL error in case of an open
1562         with O_DIRECT flag.
1564 2005-09-20  Miklos Szeredi <miklos@szeredi.hu>
1566         * Remove '--enable-auto-modprobe' configure flag.  Module
1567         auto-loading is now handled by the kernel.
1569 2005-09-15  Miklos Szeredi <miklos@szeredi.hu>
1571         * Install UDEV rule file, so /dev/fuse is created with mode 0666.
1572         Help from Jens M. Noedler.
1574 2005-09-14  Miklos Szeredi <miklos@szeredi.hu>
1576         * Add memory cleanup on thread exit
1578 2005-09-13  Miklos Szeredi <miklos@szeredi.hu>
1580         * Set umask to zero in fusexmp and fusexmp_fh, so that
1581         files/directories are created with the requested mode.
1583 2005-09-12  Miklos Szeredi <miklos@szeredi.hu>
1585         * Don't ignore read error in multithreaded loop
1587 2005-09-08  Miklos Szeredi <miklos@szeredi.hu>
1589         * Released 2.4.0-pre2
1591 2005-09-08  Miklos Szeredi <miklos@szeredi.hu>
1593         * Revert lock and access operations.  Postpone these until 2.5.
1595 2005-09-02  Miklos Szeredi <miklos@szeredi.hu>
1597         * Fix compile warning on 2.6.13 and later
1599         * Fix compilation on old kernels
1601 2005-08-19  Miklos Szeredi <miklos@szeredi.hu>
1603         * lib: always refresh directory contents after rewinddir() to
1604         conform to SUS.  Bug found by John Muir.
1606 2005-08-15  Miklos Szeredi <miklos@szeredi.hu>
1608         * Released 2.4.0-pre1
1610 2005-08-14  Miklos Szeredi <miklos@szeredi.hu>
1612         * lib: cleaned up (or messed up, depending on your POV) the low
1613         level library API.  Hopefully this is close to the final form.
1615 2005-08-05  Miklos Szeredi <miklos@szeredi.hu>
1617         * fusermount: don't allow empty mountpoint argument, which defeats
1618         automatic umounting in fuse_main().  Bugreport by Václav Jůza
1620 2005-08-03  Miklos Szeredi <miklos@szeredi.hu>
1622         * fix warnings in fuse.h and fuse_lowlevel.h if -Wshadow compiler
1623         option is used (Paul Alfille).
1625 2005-08-02  Miklos Szeredi <miklos@szeredi.hu>
1627         * highlevel-lib: added mount options "attr_timeout" and
1628         "entry_timeout".  These options control the length of time file
1629         attributes and entries (names) are cached.  Both default to 1.0
1630         second.
1632         * kernel: correctly handle zero timeout for attributes and entries
1634 2005-08-01  Miklos Szeredi <miklos@szeredi.hu>
1636         * Added missing symbols to versionscript (Joshua J. Berry)
1638         * kernel: implement two flags, open can set: 'direct_io' and
1639         'keep_cache'.  These correspond exactly to mount options
1640         'direct_io' and 'kernel_cache', but allow a per-open setting.
1642         * Move 'direct_io' and 'kernel_cache' mount option handling to
1643         userspace.  For both mount options, if the option is given, then
1644         the respective open flag is set, otherwise the open flag is left
1645         unmodified (so the filesystem can set it).
1647         * lib (highlevel): make open method optional
1649 2005-07-28  Miklos Szeredi <miklos@szeredi.hu>
1651         * kernel: invalidate attributes for read/readdir/readlink
1652         operations
1654         * kernel: detect newer UML kernels
1656 2005-07-26  Miklos Szeredi <miklos@szeredi.hu>
1658         * Make the installation path of fuse.ko and mount.fuse
1659         configurable through INSTALL_MOD_PATH and MOUNT_FUSE_PATH
1660         environment variables.  Requirement and help from Csaba Henk.
1662 2005-07-22  Miklos Szeredi <miklos@szeredi.hu>
1664         * Fix bug, that causes filesystem requests to hang when unique
1665         request counter becomes negative.  This happens after
1666         2,147,483,648 operations, so most people won't care.  Thanks to
1667         Franco Broi for the report and testing.
1669 2005-07-21  Miklos Szeredi <miklos@szeredi.hu>
1671         * Don't change mtime/ctime/atime to local time on read/write.
1672         Bug reported by Ben Grimm
1674         * Install fuse_common.h and fuse_lowlevel.h.  Report by Christian
1675         Magnusson
1677         * fusermount: use getopt_long() for option parsing.  It allows the
1678         use of '--' to stop argument scanning, so fusermount can now
1679         operate on directories whose names begin with a '-'.  Patch by
1680         Adam Connell
1682 2005-07-15  Miklos Szeredi <miklos@szeredi.hu>
1684         * fusermount: add '-v', '--version' and '--help' options
1686         * add inode based API
1688 2005-07-12  Miklos Szeredi <miklos@szeredi.hu>
1690         * lib: don't block signals in worker threads.  Problem noticed by
1691         Usarin Heininga
1693 2005-07-07  Miklos Szeredi <miklos@szeredi.hu>
1695         * lib: don't allow both 'allow_other' and 'allow_root' options to
1696         be given
1698 2005-07-06  Miklos Szeredi <miklos@szeredi.hu>
1700         * fusermount: check if mountpoint is empty (only '.' and '..' for
1701         directories, and size = 0 for regular files).  If "nonempty"
1702         option is given, omit this check.  This is useful, so users don't
1703         accidentally hide data (e.g. from backup programs).  Thanks to
1704         Frank van Maarseveen for pointing this out.
1706         * kernel: check if mandatory mount options ('fd', 'rootmode',
1707         'user_id', 'group_id') are all given
1709         * lib: simplify 'readdir_ino' handling
1711         * lib: add mount options 'umask=M', 'uid=N', 'gid=N'
1713 2005-07-03  Miklos Szeredi <miklos@szeredi.hu>
1715         * kernel: clean up 'direct_io' code
1717 2005-06-28  Miklos Szeredi <miklos@szeredi.hu>
1719         * Add 'mount.fuse' written by Petr Klima
1721         * '/dev/fuse' is created by 'make install' if does not yet exist
1723 2005-06-20  Miklos Szeredi <miklos@szeredi.hu>
1725         * Fix UCLIBC compile error.  Patch by Christian Magnusson
1727 2005-06-08  Miklos Szeredi <miklos@szeredi.hu>
1729         * Enable the auto-loading of the module via access to the
1730         corresponding device file.  Patch by Takashi Iwai.
1732         * Allow mounting a regular file (over a regular file) for
1733         unprivleged users.
1735         * Do not create temporary device file.  Require "/dev/fuse" to
1736         exist, and be readable/writable by the mounting user.
1738 2005-06-02  Miklos Szeredi <miklos@szeredi.hu>
1740         * Released 2.3.0
1742 2005-06-02  Miklos Szeredi <miklos@szeredi.hu>
1744         * Fix serious information leak: if the filesystem returns a short
1745         byte count to a read request, and there are non-zero number of
1746         pages which are not filled at all, these pages will not be zeroed.
1747         Hence the user can read out previous memory contents.  Found by
1748         Sven Tantau.
1750 2005-05-27  Miklos Szeredi <miklos@szeredi.hu>
1752         * Add "readdir_ino" mount option, which tries to fill in the d_ino
1753         field in struct dirent.  This mount option is ignored if "use_ino"
1754         is used.  It helps some programs (e.g. 'pwd' used over NFS from a
1755         non-Linux OS).  Patch by David Shaw.
1757 2005-05-12  Miklos Szeredi <miklos@szeredi.hu>
1759         * Released 2.3-rc1
1761 2005-05-12  Miklos Szeredi <miklos@szeredi.hu>
1763         * File save in krusader and other editors doesn't work with sshfs,
1764         because open() is interrupted by a periodic signal, and open()
1765         restarts forever, without any progress.  This could just be fixed
1766         in open(), but the problem is more generic: if signals are
1767         received more often than the filesystem can get the request to
1768         userspace, it will never finish.  This is probably only a
1769         theoretical problem, nevertheless I'm removing the possibility to
1770         interrupt requests with anything other than SIGKILL, even before
1771         being sent to userspace.  Bugreport by Eduard Czimbalmos.
1773 2005-05-09  Miklos Szeredi <miklos@szeredi.hu>
1775         * libfuse: add "tree_lock" rwlock, that is locked for write in
1776         rename, unlink and rmdir, and locked for read in all other
1777         operations.  This should fix the rename/release race reported by
1778         Valient Gough and others.  The solution is very coarse, a finer
1779         grained locking scheme could be implemented, but it would be much
1780         more complex.  Let's see whether this is good enough.
1782 2005-05-09  Miklos Szeredi <miklos@szeredi.hu>
1784         * Released 2.3-pre7
1786 2005-05-08  Miklos Szeredi <miklos@szeredi.hu>
1788         * Better fix for out of order FORGET messages.  Now the
1789         LOOKUP/FORGET messages are balanced exactly (one FORGET can
1790         balance many lookups), so the order no longer matters.  This
1791         changes the kernel ABI slightly, but the library remains backward
1792         compatible.
1794 2005-05-06  Miklos Szeredi <miklos@szeredi.hu>
1796         * Fix abort for out of order FORGET messages.  Again.  Spotted by
1797         Franco Broi again.  Sorry :)
1799 2005-04-29  Miklos Szeredi <miklos@szeredi.hu>
1801         * Released 2.3-pre6
1803 2005-04-29  Miklos Szeredi <miklos@szeredi.hu>
1805         * Make fusermount work with fuse kernel modules not yet supporting
1806         the "group_id" option (added for the purpose of stricter
1807         permission checking).
1809 2005-04-28  Miklos Szeredi <miklos@szeredi.hu>
1811         * Check for hard-linked directories in lookup.  This could cause
1812         problems in the VFS, which assumes that such objects never exist.
1814         * Make checking of permission for other users more strict.  Now
1815         the same privilege is required for the mount owner as for ptrace
1816         on the process performing the filesystem operation.
1818 2005-04-23  Miklos Szeredi <miklos@szeredi.hu>
1820         * Released 2.3-pre5
1822 2005-04-22  Miklos Szeredi <miklos@szeredi.hu>
1824         * Add -msoft-float to kernel module compile flags for 2.4.X.  This
1825         is needed on certain architectures.  Report from Chris Kirby
1827         * Fix buggy behavior of open(..., O_CREAT|O_EXCL) if interrupted.
1828         Reported by David Shaw
1830         * Remove "allow_root" option from kernel module, and implement
1831         it's functionality in the library
1833         * Fix Oops caused by premature release of fuse_conn.  Clean up
1834         related code, to be more readable
1836         * Sendfile should not use page cache if "direct_io" mount option
1837         is given
1839 2005-04-08  Miklos Szeredi <miklos@szeredi.hu>
1841         * Fix Oops in case of nfs export.  Spotted by David Shaw
1843         * Fix another Oops in case of write over nfs with direct_io turned
1844         on.  Again spotted by David Shaw
1846 2005-04-07  Miklos Szeredi <miklos@szeredi.hu>
1848         * Released 2.3-pre4
1850 2005-04-07  Miklos Szeredi <miklos@szeredi.hu>
1852         * lib: finalized new readdir() interface, which now supersedes the
1853         getdir() method.
1855 2005-04-03  Miklos Szeredi <miklos@szeredi.hu>
1857         * Released 2.3-pre3
1859 2005-04-03  Miklos Szeredi <miklos@szeredi.hu>
1861         * Implement backward compatibility with version 5 kernel ABI
1863 2005-04-01  Miklos Szeredi <miklos@szeredi.hu>
1865         * Released 2.3-pre2
1867 2005-04-01  Miklos Szeredi <miklos@szeredi.hu>
1869         * kernel: fix dirent offset handling
1871         * lib: add readdir and releasedir methods
1873         * lib: use fh field of fuse_file_info in opendir, readdir,
1874         releasedir and fsyncdir methods
1876         * lib: check kernel API version and bail out of it's old.  This
1877         will be properly fixed in the next release
1879 2005-03-31  Miklos Szeredi <miklos@szeredi.hu>
1881         * Released 2.3-pre1
1883 2005-03-31  Miklos Szeredi <miklos@szeredi.hu>
1885         * kernel API: add padding to structures, so 64bit and 32bit
1886         compiler will return the same size
1888         * kernel API: add offset field to fuse_dirent.  This will allow
1889         more sophisticated readdir interface for userspace
1891         * kernel API: change major number to 6
1893         * kernel: fix warnings on 64bit archs
1895         * kernel: in case of API version mismatch, return ECONNREFUSED
1897 2005-03-24  Miklos Szeredi <miklos@szeredi.hu>
1899         * kernel: trivial cleanups
1901 2005-03-21  Miklos Szeredi <miklos@szeredi.hu>
1903         * Add fsyncdir() operation
1905 2005-03-19  Miklos Szeredi <miklos@szeredi.hu>
1907         * kernel: add locking to background list (fixes previous fix)
1909 2005-03-18  Miklos Szeredi <miklos@szeredi.hu>
1911         * kernel: fix bug which could cause leave busy inodes after
1912         unmount, and Oops.
1914 2005-03-08  Miklos Szeredi <miklos@szeredi.hu>
1916         * examples: add -lpthread to link flags to work around valgrind
1917         quirk
1919         * lib: don't exit threads, so cancelation doesn't cause segfault
1921 2005-03-04  Miklos Szeredi <miklos@szeredi.hu>
1923         * kernel: fix nasty bug which could cause an Oops under certain
1924         situations.  Found by Magnus Johansson
1926 2005-02-28  Miklos Szeredi <miklos@szeredi.hu>
1928         * libfuse: added opendir() method.  This can be used in case
1929         permission checking in getdir() is too late.  Thanks to Usarin
1930         Heininga for pointing out this deficiency
1932         * libfuse: added init() and destroy() methods to fuse_operations
1934         * kernel: llseek() method for files and directories made explicit
1936         * kernel: fixed inode leak in NFS export in case of nodeid
1937         wrapping
1939 2005-02-15  Miklos Szeredi <miklos@szeredi.hu>
1941         * libfuse: clean up some unitialized memory found with valgrind
1943         * Add -lpthread to Libs in fuse.pc.  Valgrind seems to need an
1944         explicitly linked libpthread for applications
1946 2005-02-10  Miklos Szeredi <miklos@szeredi.hu>
1948         * fusermount: set umask, otherwise /etc/mtab will have
1949         unpredictable permission.  Spotted by Jindrich Kolorenc
1951         * fusermount: set owner and group of /etc/mtab to original values
1952         on unmount
1954         * libfuse: add 'use_ino' option to help.  Patch by Valient Gough
1956 2005-02-07  Miklos Szeredi <miklos@szeredi.hu>
1958         * Cleaned up directory reading (temporary file is not used)
1960 2005-02-02  Miklos Szeredi <miklos@szeredi.hu>
1962         * Released 2.2
1964 2005-02-02  Miklos Szeredi <miklos@szeredi.hu>
1966         * Fix possible race when operation is interrupted
1968 2005-01-28  Miklos Szeredi <miklos@szeredi.hu>
1970         * Fix compilation on 2.6.7
1972 2005-01-26  Miklos Szeredi <miklos@szeredi.hu>
1974         * Released 2.2-pre6
1976 2005-01-26  Miklos Szeredi <miklos@szeredi.hu>
1978         * Fix bug in link() operation which caused the wrong path to be
1979         passed as the first argument.  Found by Anton Altaparmakov
1981 2005-01-21  Miklos Szeredi <miklos@szeredi.hu>
1983         * LIB: fix double reply in readdir operation
1985         * fusermount: fix uid checking bug.  Patch by Adam Connell
1987         * KERNEL: fix compile on various RedHat patched 2.4 kernels.
1988         Patch by Keshava Gowda
1990 2005-01-20  Miklos Szeredi <miklos@szeredi.hu>
1992         * KERNEL: provide correct llseek semantics for fuse device (fixes
1993         a bug on Progeny 2.4.20 kernel).  Reported by Valient Gough
1995 2005-01-20  Miklos Szeredi <miklos@szeredi.hu>
1997         * Released 2.2-pre5 (matches kernel 2.6.11-rc1-mm2)
1999 2005-01-18  Miklos Szeredi <miklos@szeredi.hu>
2001         * KERNEL ABI: remove GETDIR operation, and add OPENDIR, READDIR
2002         and RELEASEDIR.  This ends the ugly hack of passing a file
2003         descriptor to the kernel, and actually makes the code simpler.
2005 2005-01-17  Miklos Szeredi <miklos@szeredi.hu>
2007         * Released 2.2-pre4
2009 2005-01-17  Miklos Szeredi <miklos@szeredi.hu>
2011         * fusermount: remove capability setting, which was the cause of
2012         problems for some users.  It seems that FS related capabilities
2013         are removed by setfsuid(), so this isn't even needed.
2015 2005-01-15  Miklos Szeredi <miklos@szeredi.hu>
2017         * fix compilation on 2.4 kernels (reported by Valient Gough)
2019         * fix failure to unmount bug (found by David Shaw)
2021         * fusermount: improve parsing of /etc/fuse.conf
2023 2005-01-13  Miklos Szeredi <miklos@szeredi.hu>
2025         * Remove 'mount_max' and 'user_allow_other' module options.  These
2026         are now checked by fusermount, and can be set in /etc/fuse.conf
2028         * KERNEL: change check for fsid == 0 to capable(CAP_DAC_OVERRIDE)
2030 2005-01-11  Miklos Szeredi <miklos@szeredi.hu>
2032         * KERNEL: fix possible inode allocation problem, where
2033         sizeof(struct inode) is not aligned (found by Mike Waychison)
2035         * KERNEL: use new follow_link/put_link methods
2037         * KERNEL: cosmetic fixes
2039 2005-01-10  Miklos Szeredi <miklos@szeredi.hu>
2041         * Released 2.2-pre3
2043 2005-01-10  Miklos Szeredi <miklos@szeredi.hu>
2045         * Add missing code that was accidently left out
2047 2005-01-09  Miklos Szeredi <miklos@szeredi.hu>
2049         * Released 2.2-pre2
2051 2005-01-09  Miklos Szeredi <miklos@szeredi.hu>
2053         * Change "uid" mount option to "user_id" to avoid confusion with a
2054         mount option "uid" commonly used by many filesystems
2056 2005-01-09  Miklos Szeredi <miklos@szeredi.hu>
2058         * Released 2.2-pre1
2060 2005-01-09  Miklos Szeredi <miklos@szeredi.hu>
2062         * If FUSE is configured in the kernel, don't build it by default
2064 2005-01-07  Miklos Szeredi <miklos@szeredi.hu>
2066         * Compile fix by Christian Magnusson
2068 2005-01-05  Miklos Szeredi <miklos@szeredi.hu>
2070         * Fix compilation for 2.6.{0-5} kernels
2072 2005-01-04  Miklos Szeredi <miklos@szeredi.hu>
2074         * KERNEL: if request is interrupted, still keep reference to used
2075         inode(s) and file, so that FORGET and RELEASE are not sent until
2076         userspace finishes the request.
2078         * remove /{sys,proc}/fs/fuse/version, and instead add an INIT
2079         request with the same information, which is more flexible,
2080         simpler, works on embedded systems.
2082 2004-12-16  Miklos Szeredi <miklos@szeredi.hu>
2084         * KERNEL ABI: update interface to make it independent of type
2085         sizes.  This will help on 64 bit architectures which can run
2086         legacy 32 bit applications.
2088         * KERNEL ABI: add "len" field to request headers.  This will allow
2089         sending/receiving requests in multiple chunks.
2091         * KERNEL: handle file type change more intelligently
2093         * LIB: "-o debug" option should disable backgrounding (fix by
2094         Fabien Reygrobellet)
2096 2004-12-13  Miklos Szeredi <miklos@szeredi.hu>
2098         * KERNEL: invalidate dentry/attributes if interrupted request
2099         could leave filesystem in an unknown state.
2101 2004-12-12  Miklos Szeredi <miklos@szeredi.hu>
2103         * KERNEL: lots of cleanups related to avoiding possible deadlocks.
2104         These will cause some regressions, but stability is considered
2105         more important.  If any of these features turns out to be
2106         important, it can be readded with the deadlock problems addressed.
2108         * Make all requests interruptible (only with SIGKILL currently).
2109         This can be used to break any deadlock produced by the userspace
2110         filesystem accessing it's own exported files.  The RELEASE request
2111         is special, because if it's interrupted before sending it to
2112         userspace it is still sent, but the reply is not awaited.
2114         * If request is interrupted before being sent to userspace, and if
2115         it hasn't yet got any side effects, it is always restarted,
2116         regardless of the SA_RESTART flag.  This makes these interruptions
2117         transparent to the process.
2119         * Remove shared-writable mmap support, which was prone to an
2120         out-of-memory deadlock situation
2122         * Remove INVALIDATE userspace initiated request
2124         * Make readpages() synchronous.  Asynchronous requests are
2125         deadlock prone, since they cannot be interrupted.
2127         * Add readv/writev support to fuse device operations
2129         * Remove some printks, which userspace FS can use for a DoS
2130         against syslog
2132         * Remove 'large_read' mount option from 2.6 in kernel, check it in
2133         fusermount instead
2135         * LIB: improve compatibility with a fuse.h header installed in
2136         ${prefix}/include which in turn includes the real header.
2138         * LIB: improve compatibility by defining fuse_main() (which is now
2139         not used), so old configure scripts find it.
2141 2004-12-10  Miklos Szeredi <miklos@szeredi.hu>
2143         * When mounting on a subdirectory of / don't duplicate slashes at
2144         the beggining of path (spotted by David Shaw)
2146 2004-12-09  Miklos Szeredi <miklos@szeredi.hu>
2148         * Fix bug causing garbage in mount options (spotted by David Shaw)
2150 2004-12-07  Miklos Szeredi <miklos@szeredi.hu>
2152         * Add 'writepage' flag to 'fuse_file_info'.
2154         * More comments in fuse.h
2156         * Get rid of double underscores
2158 2004-12-04  Miklos Szeredi <miklos@szeredi.hu>
2160         * Add -D_FILE_OFFSET_BITS=64 to cflags provided by pkg-config
2162         * helper.c: add -ho option, which only displays the options not
2163         the usage header.  This can be used by filesystems which have
2164         their own options.
2166 2004-12-03  Miklos Szeredi <miklos@szeredi.hu>
2168         * Add source compatibility to 2.1 and 1.1 APIs.  To select betwen
2169         versions simply define FUSE_USE_VERSION to 22, 21 or 11 before
2170         including the fuse header
2172         * Add binary compatibility to 2.1 version of library with symbol
2173         versioning
2175 2004-12-03  Miklos Szeredi <miklos@szeredi.hu>
2177         * Released 2.1
2179 2004-12-01  Miklos Szeredi <miklos@szeredi.hu>
2181         * kernel: clean up writing functions
2183         * kernel: no allocation on write in direct_io mode
2185         * move linux/fuse.h to fuse_kernel.h
2187 2004-11-30  Miklos Szeredi <miklos@szeredi.hu>
2189         * kernel: clean up reading functions
2191 2004-11-29  Miklos Szeredi <miklos@szeredi.hu>
2193         * kernel: make readpage() uninterruptible
2195         * kernel: check readonly filesystem flag in fuse_permission
2197         * lib: don't die if version file not found and new style device
2198         exists
2200         * lib: add '-r' option, which is short for '-o ro'
2202         * fusermount: simplify device opening
2204         * kernel: when direct_io is turend on, copy data directly to
2205         destination without itermediate buffer.  More efficient and safer,
2206         since no allocation is done.
2208         * fusermount: fix warning if fuse module is not loaded
2210         * kernel: use /dev/fuse on 2.4 too
2212 2004-11-26  Miklos Szeredi <miklos@szeredi.hu>
2214         * libfuse API change: open, read, write, flush, fsync and release
2215         are passed a 'struct fuse_file_info' pointer containing the open
2216         flags (open and release), and the file handle.  Verion changed to
2217         3.0.
2219 2004-11-23  Miklos Szeredi <miklos@szeredi.hu>
2221         * More cleanups in the kernel
2223         * The 10,229 charater device number has been assigned for FUSE
2225         * Version file checking fix (reported by Christian Magnusson)
2227         * fusermount: opening the fuse device now doesn't need /sys.
2229         * Optimize reading by controlling the maximum readahead based on
2230         the 'max_read' mount option
2232         * fixes for UCLIBC (Christian Magnusson)
2234 2004-11-19  Miklos Szeredi <miklos@szeredi.hu>
2236         * Cleaned up kernel in preparation for merge into mainline:
2238         * Use /sys/fs/fuse/version instead of /proc/fs/fuse/version
2240         * Use real device (/dev/fuse) instead of /proc/fs/fuse/dev
2242         * __user annotations for sparse
2244         * allocate individual pages instead of kmalloc in fuse_readdir,
2245         fuse_read and fuse_write.
2247         * Fix NFS export in case "use_ino" mount option is given
2249         * Make libfuse and fusermount compatible with future versions
2251         * fusermount: properly add mount options to /etc/mtab
2253 2004-11-15  Miklos Szeredi <miklos@szeredi.hu>
2255         * fusermount: do not resolve last component of mountpoint on if it
2256         is '.' or '..'.  This new path resolvation is now done on mount as
2257         well as unmount.  This enables relative paths to work on unmount.
2259         * fusermount: parse common mount options like "ro", "rw", etc...
2261         * Allow module params to be changed through sysfs
2263 2004-11-14  Miklos Szeredi <miklos@szeredi.hu>
2265         * Released 2.1-pre1
2267 2004-11-14  Miklos Szeredi <miklos@szeredi.hu>
2269         * Fix bug in fuse_readpages() causing Oops in certain situations.
2270         Bug found by Vincenzo Ciancia.
2272         * Fix compilation with kernels versions > 2.6.9.
2274 2004-11-11  Miklos Szeredi <miklos@szeredi.hu>
2276         * Check kernel interface version in fusermount to prevent
2277         strangeness in case of mismatch.
2279         * No need to allocate fuse_conn until actual mount happens
2281         * Fix potential race between umount and fuse_invalidate
2283         * Check superblock of proc file in addition to inode number
2285         * Fix race between request_send_noreply() and fuse_dev_release()
2287 2004-11-10  Miklos Szeredi <miklos@szeredi.hu>
2289         * Separate configure for the kernel directory
2291         * Don't allow write to return more than 'count'
2293         * Extend kernel interface for future use
2295 2004-11-09  Miklos Szeredi <miklos@szeredi.hu>
2297         * Fix 'makeconf.sh' to use autoreconf if available
2299 2004-11-08  Miklos Szeredi <miklos@szeredi.hu>
2301         * Add ino argument to 'fuse_dirfil_t'.  NOTE: This breaks source
2302         compatibility with earlier versions.  To compile earier versions
2303         just add '-DFUSE_DIRFIL_COMPAT' compile flag or fix the source.
2304         Do not use the "use_ino" mount flag with filesystems compiled with
2305         FUSE_DIRFIL_COMPAT.
2307         * Add pkg-config support.  To compile a FUSE based filesystem you
2308         can do  "gcc -Wall `pkg-config --cflags --libs fuse` myfs.c -o myfs"
2309         or similar.  Note, that the PKG_CONFIG_PATH environment variable
2310         usually needs to be set to "/usr/local/lib/pkgconfig".
2312         * fuse.h is now installed in ${prefix}/include/fuse/
2314 2004-11-02  Miklos Szeredi <miklos@szeredi.hu>
2316         * Added "use_ino" mount option.  This enables the filesystems to
2317         set the st_ino field on files
2319 2004-11-01  Miklos Szeredi <miklos@szeredi.hu>
2321         * Fix compile problems with ancient (<=2.4.18) kernels (reported
2322         by Jeremy Smith)
2324         * Add "allow_root" mount option.  Patch by Yaroslav Rastrigin
2326         * Clear the 'exited' flag when mail loop is finished
2328 2004-10-28  Miklos Szeredi <miklos@szeredi.hu>
2330         * Make xattr functions work under 2.6 (bug found by Vincenzo
2331         Ciancia)
2333 2004-10-26  Miklos Szeredi <miklos@szeredi.hu>
2335         * Reset request in fuse_flush() (bugreport by David Shaw)
2337 2004-10-21  Miklos Szeredi <miklos@szeredi.hu>
2339         * fuse_main() now does not exit on error, rather it returns an
2340         error code
2342         * Exported __fuse_setup() and __fuse_teardown() functions, which
2343         make it easier to implement a custom event loop.
2345         * Use daemon() call to background the filesystem after mounting.
2346         This function closes the standard input, output and error and
2347         changes the current working directory to "/".
2349 2004-10-14  Miklos Szeredi <miklos@szeredi.hu>
2351         * Released 1.9
2353 2004-10-09  Miklos Szeredi <miklos@szeredi.hu>
2355         * Don't allow fuse_flush() to be interrupted (bug found by David
2356         Shaw)
2358 2004-09-27  Miklos Szeredi <miklos@szeredi.hu>
2360         * Add PID to fuse_context.  Patch by Steven James
2362         * Change file handle type to 'unsigned long' in kernel interface
2364 2004-09-22  Miklos Szeredi <miklos@szeredi.hu>
2366         * A slight API change: fuse_get_context() doesn't need the "fuse"
2367         pointer, but the returned context contains it instead.  The
2368         fuse_get() function is not needed anymore, so it's removed.
2370         * Fix mounting and umounting FUSE filesystem under another FUSE
2371         filesystem by non-root (bug spotted by Valient Gough)
2373 2004-09-21  Miklos Szeredi <miklos@szeredi.hu>
2375         * Fix deadlock in case of memory allocation failure.  Patch by
2376         Christian Magnusson
2378 2004-09-16  Miklos Szeredi <miklos@szeredi.hu>
2380         * Check memory allocation failures in libfuse
2382 2004-09-14  Miklos Szeredi <miklos@szeredi.hu>
2384         * Check temporary file creation failure in do_getdir().  Bug
2385         spotted by Terje Oseberg
2387 2004-09-13  Miklos Szeredi <miklos@szeredi.hu>
2389         * Allow "large_read" option for 2.6 kernels but warn of deprecation
2391         * Make requests non-interruptible so race with FORGET is avoided.
2392         This is only a temporary solution
2394         * Support compiling FUSE kernel module on 2.4.x UML kernels
2396 2004-09-09  Miklos Szeredi <miklos@szeredi.hu>
2398         * Fix bug in case two FORGETs for the same node are executed in
2399         the wrong order.  Bug spotted and endured for months by Franco
2400         Broi, and logfile for solution provided by Terje Oseberg
2402 2004-09-01  Miklos Szeredi <miklos@szeredi.hu>
2404         * Add -D_REENTRANT to the compile flags
2406         * Add documentation of fuse internals by Terje Oseberg
2408 2004-08-16  Miklos Szeredi <miklos@szeredi.hu>
2410         * Change release method to be non-interruptible.  Fixes bug
2411         causing missing release() call when program which has opened files
2412         is killed (reported by Franco Broi and David Shaw)
2414 2004-07-29  Miklos Szeredi <miklos@szeredi.hu>
2416         * Add fuse_invalidate() to library API
2418 2004-07-26  Miklos Szeredi <miklos@szeredi.hu>
2420         * Check permissions in setattr if 'default_permissions' flag is
2421         set.  Bug spotted by Damjan Lango
2423 2004-07-24  Miklos Szeredi <miklos@szeredi.hu>
2425         * 'large_read' mount option removed for 2.6 kernels, since the
2426         default (dynamic read size) is better
2428         * Extend kernel API with file handles.  A file handle is returned
2429         by open, and passed to read, write, flush, fsync and release.
2430         This is currently only used for debug output in the library.
2432         * Security changes:
2434         * Change the current directory to the mountpoint before checking
2435         the permissions and mount filesystem on "."
2437         * By default don't modprobe the fuse module for non-root.  The old
2438         behavior can be restored with the '--enable-auto-modprobe' flag of
2439         ./configure
2441         * By default don't allow shared writable mappings for non-root.
2442         The old behavior can be restored with the 'user_mmap=1' module
2443         parameter
2445 2004-07-23  Miklos Szeredi <miklos@szeredi.hu>
2447         * Clean up mount option passing to fusermount and to fuse_new()
2448         BEWARE: this changes the userspace API slightly, and the command
2449         line usage of programs using fuse_main()
2451 2004-07-20  Miklos Szeredi <miklos@szeredi.hu>
2453         * Optimize reading under 2.6 kernels by issuing multiple page
2454         asynchronous read requests
2456 2004-07-18  Miklos Szeredi <miklos@szeredi.hu>
2458         * Only use redirty_page_for_writepage() for kernels >= 2.6.6
2460 2004-07-16  Miklos Szeredi <miklos@szeredi.hu>
2462         * Separate directory entry and inode attribute validity timer
2464         * New write semaphore to stop page writeback during truncate
2466         * Fsync now waits for all writes to complete before sending the
2467         request
2469         * Optimization: if a page is completely written by
2470         fuse_commit_write(), clear the dirty flag and set the uptodate
2471         flag for that page
2473         * Some memory cleanup at exit
2475 2004-07-13  Miklos Szeredi <miklos@szeredi.hu>
2477         * Add FUSE_HARD_REMOVE flag, and '-i' option to fuse main, which
2478         disable the "hide if open" behavior of unlink/rename.
2480         * If temporary buffer allocation fails in raw read, fall back to a
2481         smaller buffer
2483 2004-07-12  Miklos Szeredi <miklos@szeredi.hu>
2485         * Fix bug in do_open() in libfuse: open count was incremented
2486         after the reply is sent so it could race with unlink/forget and
2487         cause an abort.
2489 2004-07-08  Miklos Szeredi <miklos@szeredi.hu>
2491         * When performing create or remove operation, refresh the parent's
2492         attributes on next revalidate, as i_nlink (and maybe size/time)
2493         could be inacurate.
2495         * Use redirty_page_for_writepage() in fuse_writepage() for skipped
2496         pages (2.6 only)
2498         * Set set_page_dirty address space operation (2.6 only)
2500 2004-07-06  Miklos Szeredi <miklos@szeredi.hu>
2502         * Minor fix in read:  print debug info even if read size is zero
2504 2004-07-04  Miklos Szeredi <miklos@szeredi.hu>
2506         * Fix race between truncate and writepage (fsx-linux now runs
2507         without error)
2509 2004-07-02  Miklos Szeredi <miklos@szeredi.hu>
2511         * Fix kernel hang on mkfifo under 2.4 kernels (spotted and patch
2512         by Mattias Wadman)
2514         * Added option for direct read/write (-r)
2516         * Fix revalidate time setting for newly created inodes
2518         * Remove uid==0 check for '-x' option in fusermount (kernel checks
2519         this)
2521         * fuse_main() only installs handlers for signals (out of INT, HUP,
2522         TERM, PIPE), for which no handler has yet been installed
2524         * Add module option 'user_allow_other' which if set to non-zero
2525         will allow non root user to specify the 'allow_other' mount option
2526         ('-x' option of fusermount)
2528         * Fix deadlock between page writeback completion and truncate
2529         (bug found by Valient Gough with the fsx-linux utility)
2531 2004-07-01  Miklos Szeredi <miklos@szeredi.hu>
2533         * Change passing fuse include dir to 2.6 kernel make system more
2534         robust (fixes compile problems seen on SuSE 9.1 with updated 2.6
2535         kernel)
2537 2004-06-30  Miklos Szeredi <miklos@szeredi.hu>
2539         * Acquire inode->i_sem before open and release methods to prevent
2540         concurrent rename or unlink operations.
2542         * Make __fuse_read_cmd() read only one command.  This allows
2543         multiplexing the fuse file descriptor with other event sources
2544         using select() or poll() (patch by Jeff Harris)
2546         * Export 'exited' flag with __fuse_exited() (patch by Jeff Harris)
2548 2004-06-27  Miklos Szeredi <miklos@szeredi.hu>
2550         * Fix file offset wrap around at 4G when doing large reads
2552 2004-06-24  Miklos Szeredi <miklos@szeredi.hu>
2554         * Fix memory leak in open (Valient Gough)
2556 2004-06-24  Miklos Szeredi <miklos@szeredi.hu>
2558         * Add "close after delete" support to libfuse (patch by Valient
2559         Gough)
2561         * Cancel all worker threads before exit in multithreaded mode
2563 2004-06-23  Miklos Szeredi <miklos@szeredi.hu>
2565         * Fix locking bugs
2567         * Don't send reply to RELEASE
2569         * Work with newer libtool (1.5a)
2571         * Check for st_atim member of struct stat
2573 2004-06-22  Miklos Szeredi <miklos@szeredi.hu>
2575         * No request allocation needed on inode and file release
2577 2004-06-21  Miklos Szeredi <miklos@szeredi.hu>
2579         * Fix possible inode leak in userspace in case of unfinished
2580         lookup/mknod/mkdir/symlink/link operation.
2582 2004-06-20  Miklos Szeredi <miklos@szeredi.hu>
2584         * Fix some races and cleanups in fuse_read_super()
2586 2004-06-19  Miklos Szeredi <miklos@szeredi.hu>
2588         * Requests are allocated at open time
2590 2004-06-03  Miklos Szeredi <miklos@szeredi.hu>
2592         * Build shared library as well as static (using libtool)
2594         * Change FUSE_MINOR_VERSION from 1 to 0.  I know it's illegal but
2595         there has not been a release with the previous minor number, and I
2596         hope nobody is using it for anything.
2598         * Change fuse_main(), so that default behavior is to go into
2599         background if mount is successful.  '-f' and '-d' options disable
2600         backgrounding.  This fixes the "Why does my FUSE daemon hang?"
2601         newbie complaint.
2603         * Cache ENOSYS (function not implemented) errors on *xattr, flush
2604         and fsync
2606         * Don't call getdir method from open() only from first readdir().
2607         Open is sometimes just used to store the current directory
2608         (e.g. find)
2610 2004-05-18  Miklos Szeredi <miklos@szeredi.hu>
2612         * Added flush() call
2614 2004-05-04  Miklos Szeredi <miklos@szeredi.hu>
2616         * Extended attributes support for 2.4 (patch by Cody Pisto)
2618 2004-04-20  Miklos Szeredi <miklos@szeredi.hu>
2620         * Fixed parser with modversions (Mattias Wadman)
2622 2004-04-19  Miklos Szeredi <miklos@szeredi.hu>
2624         * Added mount option parser to 2.4 build
2626 2004-04-13  Miklos Szeredi <miklos@szeredi.hu>
2628         * Replaced binary mount data with text options
2630         * Show FUSE specific mount options in /proc/mounts
2632         * Check in fuse.h whether _FILE_OFFSET_BITS is set to 64
2634 2004-04-09  Miklos Szeredi <miklos@szeredi.hu>
2636         * Check some limits so userspace won't get too big requests
2638 2004-04-05  Miklos Szeredi <miklos@szeredi.hu>
2640         * Kill compile warning
2642         * Upgraded user-mount patch for 2.6.5
2644 2004-04-02  Miklos Szeredi <miklos@szeredi.hu>
2646         * Add detection of user-mode-linux to configure
2648 2004-03-31  Miklos Szeredi <miklos@szeredi.hu>
2650         * fixed zero size case for getxattr and listxattr
2652 2004-03-30  Miklos Szeredi <miklos@szeredi.hu>
2654         * new fusermount flag '-z': lazy unmount, default is not lazy
2656         * Extended attributes operations added (getxattr, setxattr,
2657         listxattr, removexattr)
2659 2004-03-25  Miklos Szeredi <miklos@szeredi.hu>
2661         * If filesystem doesn't define a statfs operation, then an
2662         all-zero default statfs is returned instead of ENOSYS
2664 2004-03-24  Miklos Szeredi <miklos@szeredi.hu>
2666         * Add FS_BINARY_MOUNTDATA filesystem flag for kernels > 2.6.4
2668 2004-03-09  Miklos Szeredi <miklos@szeredi.hu>
2670         * Fix for uClinux (Christian Magnusson)
2672 2004-03-02  Miklos Szeredi <miklos@szeredi.hu>
2674         * fuse_main() adds "-n progname" to the fusermount command line
2676         * More kernel interface changes:
2678         * Lookup/getattr return cache timeout values
2680 2004-02-25  Miklos Szeredi <miklos@szeredi.hu>
2682         * Clean up option parsing in fuse_main()
2684         * Added fuse_get() function which returns the fuse object created
2685         by fuse_main()
2687 2004-02-20  Miklos Szeredi <miklos@szeredi.hu>
2689         * removed old way of mounting (fusermount mountpoint program)
2691         * more kernel interface changes:
2693         * added nanosecond precision to file times
2695         * removed interface version from mount data
2697         * added /proc/fs/fuse/version which contains MAJOR.MINOR
2699 2004-02-19  Miklos Szeredi <miklos@szeredi.hu>
2701         * statfs library API changed to match other methods.  Since this
2702           is not backward compatible FUSE_MAJOR_VERSION is changed to 2
2704         * kernel interface changes follow:
2706         * statfs changed to 64 bits, added 'bavail' field
2708         * add generation number to lookup result
2710         * optimized mknod/mkdir/symlink/link (no separate lookup is
2711         needed)
2713         * rdev size increased to 32 bits for mknod
2715         * kernel interface version changed to 3.1
2717 2004-02-18  Miklos Szeredi <miklos@szeredi.hu>
2719         * user-mount upgraded for 2.6.3 kernel
2721 2004-02-17  Miklos Szeredi <miklos@szeredi.hu>
2723         * Added user-mount.2.6.2-rc3.patch
2725         * Add FS_SAFE flag to fuse filesystem
2727         * fusermount should allow (un)mounting for non-root even if not
2728         suid-root
2730 2004-02-12  Miklos Szeredi <miklos@szeredi.hu>
2732         * Remove MS_PERMISSION mount flag (that means something else now)
2734 2004-02-10  Miklos Szeredi <miklos@szeredi.hu>
2736         * Added check for i_size_read/write functions to configure.in
2737         (patch by Valient Gough)
2739 2004-02-06  Miklos Szeredi <miklos@szeredi.hu>
2741         * Fixed writing >= 2G files
2743         * Check file size on open (with generic_file_open())
2745         * Readpage calls flush_dcache_page() after storing data
2747         * Use i_size_read/write for accessing inode->i_size
2749         * Make loopback mount of a fuse file work
2751 2004-02-04  Miklos Szeredi <miklos@szeredi.hu>
2753         * Released 1.1
2755 2004-01-29  Miklos Szeredi <miklos@szeredi.hu>
2757         * Properly check if the inode exists in fuse_invalidate
2759 2004-01-27  Miklos Szeredi <miklos@szeredi.hu>
2761         * Added -q option for fusermount
2763         * fuse_unmount() now uses -q option of fusermount, so no error is
2764         printed if the cause of the program exit is that the filesystem
2765         has already been unmounted
2767         * Fix i_nlink correctness after rmdir/unlink
2769 2004-01-26  Miklos Szeredi <miklos@szeredi.hu>
2771         * Released 1.1-pre2
2773 2004-01-26  Miklos Szeredi <miklos@szeredi.hu>
2775         * Fix typo (thanks Marcos Dione)
2777         * Compile fixes for 2.4 kernels
2779 2004-01-23  Miklos Szeredi <miklos@szeredi.hu>
2781         * Fix CONFIG_MODVERSIONS compile on 2.6
2783 2004-01-22  Miklos Szeredi <miklos@szeredi.hu>
2785         * Write all pending data before a RELEASE operation
2787         * Suppress 'Bad file descriptor' warning on exit
2789         * Replaced fusermount option '-d xxx' with '-n xxx' so it doesn't
2790         get confused with '-d' of fuse_main() (sorry about this change)
2792         * New fusermount option '-l' which enables big reads.  Big reads
2793         are now disabled by default.
2795         * fuse_main() can accept fusermount arguments after a '--'
2797 2004-01-19  Miklos Szeredi <miklos@szeredi.hu>
2799         * Support for exporting filesystem over NFS (see README.NFS)
2801 2004-01-14  Miklos Szeredi <miklos@szeredi.hu>
2803         * Support non-blocking writepage on 2.6.  This makes FUSE behave
2804         much more nicely in low-memory situations
2806         * Fix 32-bit dev handling in getattr and mknod for 2.6 kernels.
2807         (Note: the mknod method does not yet use 32bit device number)
2809 2004-01-13  Miklos Szeredi <miklos@szeredi.hu>
2811         * Code cleanups
2813 2004-01-07  Miklos Szeredi <miklos@szeredi.hu>
2815         * Released 1.1-pre1
2817 2004-01-06  Miklos Szeredi <miklos@szeredi.hu>
2819         * Integrated 2.6 kernel support patch by Michael Grigoriev
2821         * Improvements and cleanups for 2.6 kernels
2823 2004-01-05  Miklos Szeredi <miklos@szeredi.hu>
2825         * Added -d option to fusermount
2827 2003-12-15  Miklos Szeredi <miklos@szeredi.hu>
2829         * Added major+minor version to library API, and minor version to
2830           kernel API
2832 2003-12-13  David McNab <david@rebirthing.co.nz>
2834         * Implemented fsync support in examples/example.py
2836         * Implemented 'fsync' and 'statfs' methods in python
2837           interface
2839 2003-12-12  Miklos Szeredi <miklos@szeredi.hu>
2841         * Make it compile on 2.4.19.
2843         * Add fsync operation (write file failed on xemacs & vi)
2845 2003-12-12  David McNab <david@rebirthing.co.nz>
2847         * Added distutils support to the python module, as per standard
2848           python development practice
2850 2003-12-11  Miklos Szeredi <miklos@szeredi.hu>
2852         * Add file locking for mount/unmount (based on patch by Valient
2853         Gough)
2855 2003-12-11  David McNab <david@rebirthing.co.nz>
2857         * Python filesystem - was broken with python2.3, now fixed:
2858            - changed PyTuple_* calls to PySequence_*, because os.lstat
2859              is no longer returning a pure tuple
2860            - changed PyInt_Check() calls to also call PyLong_Check,
2861              to cover for cases (eg os.lstat) where longs are returned
2862            - Added support for file 'release' handling, which IMO is
2863              essential since this signals to a FS that writes to a file
2864              are complete (and therefore the file can now be disposed of
2865              meaningfully at the python filesystem's discretion)
2866            - Added '__init__' handler to base Fuse class, which allows
2867              your Python class to know the mountpoint and mount args,
2868              as attributes myfs.mountpoint, myfs.optlist, myfs.optdict
2870         * General:
2871            - added 'mount.fuse' script (in util/ dir), which is meant to be
2872              symlinked from /sbin, and which allows FUSE filesystems to
2873              be mounted with the 'mount' command, and listed in fstab;
2874              also, mount arguments get passed to your filesystem
2877 2003-11-04  Miklos Szeredi <miklos@szeredi.hu>
2879         * Fix kernel version detection (again).  Bugreport by Peter Levart
2881 2003-11-03  Miklos Szeredi <miklos@szeredi.hu>
2883         * Applied read combining patch by Michael Grigoriev (tested by
2884         Valient Gough and Vincent Wagelaar)
2886 2003-10-22  Miklos Szeredi <miklos@szeredi.hu>
2888         * Mtab handling fix in fusermount by "Valient Gough" (SF patch
2889         #766443)
2891 2003-10-13  Miklos Szeredi <miklos@szeredi.hu>
2893         * Error code fixes in kernel module
2895 2003-10-04  Miklos Szeredi <miklos@szeredi.hu>
2897         * kernel version detection fix
2899         * fusermount now uses "lazy" umount option
2901         * fusermount can use modprobe with module-init-tools
2903 2003-09-08  Miklos Szeredi <miklos@szeredi.hu>
2905         * Integrated caching patch by Michael Grigoriev
2907         * Added "Filesystems" file with descriptions of projects using
2908         FUSE
2910         * Added patch by Michael Grigoriev to allow compliation of FUSE
2911         kernel module for 2.6 kernels
2913 2003-06-02  Miklos Szeredi <miklos@szeredi.hu>
2915         * And another spec-file fix by Achim Settelmeier
2917 2003-05-26  Miklos Szeredi <miklos@szeredi.hu>
2919         * Spec-file fix by Achim Settelmeier
2921 2003-03-10  Miklos Szeredi <miklos@szeredi.hu>
2923         * Fix umount oops (found by Samuli Kärkkäinen)
2925 2003-03-05  Miklos Szeredi <miklos@szeredi.hu>
2927         * Merge of fuse_redhat.spec and fuse.spec by Achim Settelmeier
2929 2003-03-04  Miklos Szeredi <miklos@szeredi.hu>
2931         * Updated fuse.spec file (Achim Settelmeier)
2933 2003-02-19  Miklos Szeredi <miklos@szeredi.hu>
2935         * Version 1.0 released
2937 2003-02-12  Miklos Szeredi <miklos@szeredi.hu>
2939         * SuSE compilation fix by Juan-Mariano de Goyeneche
2941 2002-12-10  Miklos Szeredi <miklos@szeredi.hu>
2943         * The release() VFS call is now exported to the FUSE interface
2945 2002-12-05  Miklos Szeredi <miklos@szeredi.hu>
2947         * 64 bit file offset fixes in the fuse kernel module
2949         * Added function 'fuse_exit()' which can be used to exit the main
2950         loop
2952 2002-12-03  Miklos Szeredi <miklos@szeredi.hu>
2954         * Added _FILE_OFFSET_BITS=64 define to fuse.h.  Note, that this is
2955         an incompatible interface change.
2957 2002-10-28  Miklos Szeredi <miklos@szeredi.hu>
2959         * Portablility fix (bug reported by C. Chris Erway)
2961 2002-10-25  Miklos Szeredi <miklos@szeredi.hu>
2963         * Use Mark Glines' fd passing method for default operation instead
2964         of old reexec
2966 2002-10-22  Miklos Szeredi <miklos@szeredi.hu>
2968         * fix "Stale NFS file handle" bug caused by changes in 2.4.19
2970 2002-10-22  Miklos Szeredi <miklos@szeredi.hu>
2972         * fix incompatiblity with Red Hat kernels, with help from Nathan
2973         Thompson-Amato.
2975 2002-04-18  Mark Glines <mark@glines.org>
2977         * added an alternative to fuse_mount(), called
2978       fuse_mount_ioslave(), which does not need to reexec the
2979       FUSE program.
2980         * added a small helper util needed by fuse_mount_ioslave().
2982 2002-03-16  Mark Glines <mark@glines.org>
2984         * use struct fuse_statfs everywhere possible to avoid problems
2985       with the headerfiles changing struct statfs member sizes
2987 2002-03-01  Miklos Szeredi <miklos@szeredi.hu>
2989         * Another RPM spec file for RedHat >= 7 by Ian Pilcher
2991 2002-01-14  Miklos Szeredi <miklos@szeredi.hu>
2993         * RPM support by Achim Settelmeier
2995 2002-01-09  Miklos Szeredi <miklos@szeredi.hu>
2997         * Version 0.95 released
2999 2002-01-09  Miklos Szeredi <miklos@szeredi.hu>
3001         * Revaidate all path components not just the last, this means a
3002         very small performance penalty for being more up-to-date.
3004 2002-01-08  Miklos Szeredi <miklos@szeredi.hu>
3006         * Update and fix python interface
3008 2002-01-07  Mark Glines <mark@glines.org>
3010         * Added statfs() support to kernel, lib, examples, and perl!
3012 2001-12-26  Miklos Szeredi <miklos@szeredi.hu>
3014         * Better cross compilation support
3016         * Ported to Compaq IPAQ
3018 2001-12-20  Miklos Szeredi <miklos@szeredi.hu>
3020         * Added function fuse_get_context() to library API (inspired by
3021         patch from Matt Ryan)
3023         * Added flags to fusermount and to kernel interface to control
3024         permission checking
3026         * Integrated fuse_set_operations() into fuse_new()
3028 2001-12-08  Miklos Szeredi <miklos@szeredi.hu>
3030         * Applied header protection + extern "C" patch by Roland
3031         Bauerschmidt
3033 2001-12-02  Miklos Szeredi <miklos@szeredi.hu>
3035         * Added perl bindings by Mark Glines
3037 2001-11-21  Miklos Szeredi <miklos@szeredi.hu>
3039         * Cleaned up way of mounting simple filesystems.
3041         * fuse_main() helper function added
3043 2001-11-18  Miklos Szeredi <miklos@szeredi.hu>
3045         * Optimized read/write operations, so that minimal copying of data
3046         is done
3048 2001-11-14  Miklos Szeredi <miklos@szeredi.hu>
3050         * Python bindings by Jeff Epler added
3052 2001-11-13  Miklos Szeredi <miklos@szeredi.hu>
3054         * Fixed vfsmount reference leak in fuse_follow_link
3056         * FS blocksize is set to PAGE_CACHE_SIZE, blksize attribute from
3057         userspace is ignored
3059 2001-11-09  Miklos Szeredi <miklos@szeredi.hu>
3061         * Started ChangeLog