+2006-07-05 Miklos Szeredi <miklos@szeredi.hu>
+
+ * fusermount: if /dev/fuse doesn't exist, suggest moddprobing
+ fuse; this makes sense on systems using udev. Reported by
+ Szakacsits Szabolcs
+
2006-06-29 Miklos Szeredi <miklos@szeredi.hu>
* Released 2.6.0-pre3
- Support for aborting filesystem connection
+ - POSIX file locking support
+
+ - Request interruption support
+
What is new in 2.5
- Merge library part of FreeBSD port
/*
* Add a connection to the control filesystem (if it exists). Caller
- * must host fuse_mutex
+ * must hold fuse_mutex
*/
int fuse_ctl_add_conn(struct fuse_conn *fc)
{
/*
* Remove a connection from the control filesystem (if it exists).
- * Caller must host fuse_mutex
+ * Caller must hold fuse_mutex
*/
void fuse_ctl_remove_conn(struct fuse_conn *fc)
{
struct iovec iov;
char buf[1];
int rv;
- int connfd = -1;
- char ccmsg[CMSG_SPACE(sizeof(connfd))];
+ char ccmsg[CMSG_SPACE(sizeof(int))];
struct cmsghdr *cmsg;
iov.iov_base = buf;
close(fd);
fd = -1;
}
- } else if (errno == ENODEV)
+ } else if (errno == ENODEV ||
+ errno == ENOENT) /* check for ENOENT too, for the udev case */
return -2;
else if (!silent) {
fprintf(stderr, "%s: failed to open %s: %s\n", progname, dev,