reassign 398051 fuse stop Am Samstag 11 November 2006 15:25 schrieb Samuel Thibault: > Package: obexfs > Version: 0.10-3 > Severity: normal > > Adding > obexfs#-u1 /media/telephone fuse defaults,user,noauto 0 0 > > to /etc/fstab is not sufficient for letting users umount > /media/telephone: they get the following message: > umount: /media/telephone mount disagrees with the fstab > > That's because what got record in mtab is > obexfs /media/telephone fuse rw,nosuid,nodev,noexec 0 0 > while it should be > obexfs#-u1 /media/telephone fuse rw,nosuid,nodev,noexec 0 0 > > for matching /etc/fstab. obexfs should fix this by automatically giving > -ofsname=obexfs#-u1 option to fuse (like sshfs does).
I discussed it with the obexftp author (CC'ed by this mail) This will eventually get fixed with a different syntax of obexfs. In the meantime, you can solve this by providing the option to fuse yourself (4th field in /etc/fstab). The problem is the following: fuse decomposes the first part into arguments and the application has then to revert that into the same string. I see this as an ugly hack and it will be subject for many new bugs. fuse already _knows_ the fsname argument, it could thus include the necessary option for itself into the argument list. Or it could provide a function in libfuse to reassemble the fsname according to the fuse rules. mount -> mount.fuse This would prevent endless code duplication, else every fuse app would have to provide its own work-around for this which cannot be the point of a framework. I hereby reassign this bug to the fuse package, it is generally better to solve such problems in the central place. And it should be much less effort to do it there. And since /sbin/mount.fuse is a shell script, adding "ofsname=$1" to ${OPTIONS} should be pretty easy. HS -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]