Age | Commit message (Collapse) | Author |
|
|
|
fix example to compile without warnings and apply style changes;
ok mpi
|
|
value < 0. errno is only updated in this case. Change all (most?)
callers of syscalls to follow this better, and let's see if this strictness
helps us in the future.
|
|
From Edgar Pettijohn.
|
|
Based on a diff from Edgar Pettijohn III.
|
|
from Rian Hunter
|
|
|
|
|
|
|
|
|
|
Currently ignores the a_waitfor argument and always invokes the file
system's fsync implementation synchronously.
ok mpi@
|
|
|
|
|
|
|
|
|
|
not replace any existing signal handlers. This makes it possible for
FUSE file systems to install their own signal handlers. Bug reported
by Bill Zissimopoulos.
ok mpi@
|
|
fuse_remove_signal_handlers(3).
ok mpi@
|
|
|
|
file system can access it unless the allow_other mount options is
specified. The allow_other mount option makes the file system
available to other users just like any other mounted file system.
ok mpi@
|
|
FUSE file system. fuse_get_context(3) will now return the correct
values.
ok mpi@
|
|
ok mpi@
|
|
OK millert@
|
|
system's ino for VOP_GETATTR(9) and VOP_READDIR(9) rather than the
internally generated fuse ino.
ok mpi@
|
|
interpret.
ok mpi@
|
|
VOP_CLOSE(9). The associated FUSE file handle is however not closed at this
time and is instead closed on VOP_RELEASE(9) because that's the only time
it's guaranteed to be no longer used. Directory handles are now only closed
on VOP_RELEASE(9) for the same reason.
ok mpi@
|
|
opened multiple times (either from the same process or different
processes) then FUSE will not reliably return the directory entries to
both file descriptors.
ok mpi@
|
|
recommendation.
|
|
Fixes at least ports/archivers/fuse-zip. ok millert@
|
|
opposite of fuse_setup(3).
ok mpi@
|
|
future. Immediate benefits are that gid, uid and umask are now
supported and max_read is now honoured for all file systems. Mounting
read_only is now possible but requires more thorough testing.
ok mpi@
|
|
While here, use guenther's magic recipe to avoid the PLT when calling
exported symbols from within the library.
ok kettenis@ for v1, ok guenther@ helg@
|
|
ok mpi@
|
|
any file systems that call fuse_setup(3) or fuse_main(3) trap signals
gracefully.
ok mpi@
|
|
ok mpi@ helg@
|
|
Spotted by malloc.conf -> S, ok helg@
|
|
ok mpi@
|
|
file systems that call fuse_parse_cmdline(3), fuse_main(3) or
fuse_setup(3).
ok mpi@, jca@
|
|
the processing function should be called in the same way as if no match
was found.
ok mpi@
|
|
(e.g. %u, %o) other than %s. This aligns libfuse with the Linux reference
implementation.
ok mpi@
|
|
the supplied option. This allows the following templates to be supplied to set
multiple members of a struct at the same time. e.g.
#define FUSE_LIB_OPT(t, p, v) { t, offsetof(struct fuse_config, p), v }
static const struct fuse_opt fuse_lib_opts[] = {
FUSE_LIB_OPT("gid=", set_gid, 1),
FUSE_LIB_OPT("gid=%u", gid, 0),
FUSE_OPT_END
};
If "-ogid=1000" is passed to fuse_opt_parse(3) it will set both:
fuse_config.set_gid=1
fuse_config.gid=1000
ok mpi@
|
|
libfuse supports option templates of the following form that can be used
to automatically parse arguments supplied on the command line.
"-p " argument that takes an option e.g -p 22 or -p22
"-p %x" argument that takes an option parsed like sscanf(3)
"cache=yes" matches -ocache=yes or -o cache=yes
"cache=%s" matches -ocache=<string> or -o cache=<string>
"cache=" matches same as above but value is passed to option proc
"noatime" matches -onoatime or -o atime
For example, it does not match options of the form "-p 22" or
"cache=yes" to the corresponding templates "-p " and "cache=yes". This
patch fixes that and updates the regression tests accordingly.
ok mpi@
|
|
support FBT_CREATE. Fall back to FBT_MKNOD + FBT_OPEN so that a valid
sequence of FUSE messages is sent to the file system when creating files.
input from mpi@, otto@
|
|
running in the foreground.
ok mpi@
|
|
ok mpi@
|
|
Endless loop if directory nested more than one level from root of file system
Current directory not found if the parent directory contains more children than
will fit in the buffer passed to VOP_READDIR(9)
Open and close directory in fusefs_readdir if dir is not already open.
Now behaves as if readdir_ino option was passed to fuse so that directories in
path have a valid ino.
ok mpi@
|
|
multiple options after -o.
arguments that require options e.g. -p 22
%s, %lu, %u option templates
ok mpi@
|
|
From Helg Bredow.
|
|
From Helg Bredow, ok pirofti@
|
|
Delete incorrect "unused" keyword and remove redundant variables due
to missing NULL checks.
From Helg Bredow.
|
|
from Helg Bredow.
|