Miklos Szeredi wrote... > > > strace -s1024 -f -o sshfs.log sshfs [EMAIL PROTECTED]: dir/ > > > > and search the mount system call in sshfs.log. Do you find something like > > > > mount("[EMAIL PROTECTED]:", "dir/", "fuse", MS_NOSUID|MS_NODEV,0x804d058) = > > -1 EINVAL (Invalid argument) > > > > Seems like fusermount and 2.6.15.6 (my kernel) don't want to talk to > > each other. > > Hmm, I think this is different problem. Can you also show the "execve > fusermount ..." line in the strace?
execve("/usr/bin/fusermount", ["fusermount", "-o", "fsname=sshfs,max_read=65536,[EMAIL PROTECTED]:", "/path/to/mountpoint" ], [/* 15 vars */]) = 0 "chmod a+s /usr/bin/fusermount" was no help. > It looks as if it's some invalid > option, but strace doesn't show the mount options (the last argument). Is there a way to trick strace into doing so? If I understood ltrace correctly (sorry for long lines): 24757 memcpy(0x804d058, "max_read=65536", 14) = 0x804d058 (...) 24757 strlen("rw") = 2 24757 strlen("nosuid") = 6 (...) 24757 sprintf(",nosuid", ",%s", "nosuid") = 7 24757 strlen("rw,nosuid") = 9 24757 strlen("nodev") = 5 24757 realloc(0x804d008, 16) = 0x804d008 24757 sprintf(",nodev", ",%s", "nodev") = 6 24757 strlen("rw,nosuid,nodev") = 15 24757 strlen("max_read=65536,") = 15 24757 realloc(0x804d008, 32) = 0x804d0f0 24757 sprintf(",max_read=65536,", ",%s", "max_read=65536,") = 16 24757 strlen("rw,nosuid,nodev,max_read=65536,") = 31 24757 getuid() = 0 24757 getuid() = 0 24757 sprintf("fd=5,rootmode=40000,user_id=0", "fd=%i,rootmode=%o,user_id=%i", 5, 040000, 0) = 29 24757 mount(0x804d0d8, 0x804d028, 0x804bcf6, 6, 0x804d058) = -1 the mount option is "rw,nosuid,nodev,max_read=65536,fd=5,rootmode=40000,user_id=0" (Yes, I tried the mount request as root user in order to make sure it's not a permission problem.) > Also, which package versions do you have? Debian stable: ii fuse-utils 2.2.1-4sarge2 Filesystem in USErspace (utilities) ii libfuse2 2.2.1-4sarge2 Filesystem in USErspace library ii sshfs 1.1-1 filesystem client based on SSH File Transfer Kernel is 2.6.15.6 with "CONFIG_FUSE_FS=y". Christoph -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]