2006-09-30 Miklos Szeredi <miklos@szeredi.hu>
+ * fusermount: revert modprobe change (2006-08-18) since it
+ doesn't work reliably with udev
+
* Add support for block device backed filesystems. This mode is
selected with the 'blkdev' option, which is privileged.
static int open_fuse_device(char **devp)
{
- int fd;
-
- if (getuid() == 0) {
- fd = try_open_fuse_device(devp);
- if (fd >= -1)
- return fd;
-
- system("modprobe fuse");
- }
-
- fd = try_open_fuse_device(devp);
+ int fd = try_open_fuse_device(devp);
if (fd >= -1)
return fd;