Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 20 Aug 2014 16:01:54 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 192852] sysutils/fusefs-libs: ignore |automounted| option used by autofs
Message-ID:  <bug-192852-13-8cfYXhQD3V@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-192852-13@https.bugs.freebsd.org/bugzilla/>
References:  <bug-192852-13@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=192852

--- Comment #4 from Jan Beich <jbeich@vfemail.net> ---
(In reply to Edward Tomasz Napierala from comment #2)
> With the patch applied, are automounted FUSE filesystems properly marked
> with "automounted" in mount(8) output?

No, |automounted| isn't propagated to the mountpoint unlike, say, |union|
option. This severely reduces the usefulness of autofs + fuse. I'm currently
trying to debug.

And a .conf file under /etc/devd/ may still be required to handle device
reattach. Not sure how to map devices back to $cdev and mountpoint on detach.

(In reply to Edward Tomasz Napierala from comment #3)
> One more thing: is there any mechanism to enumerate connected MTP devices?

mtp-detect (from libmtp) or provided by implementation. mtp-* commands are very
slow here. Here's what I use.

$ simple-mtpfs --help |& fgrep device
    -l   --list-devices    print available devices
         --device          select a device number to mount

$ simple-mtpfs --list-devices
1: PhoneA MTP
2: PhoneB MTP+ADB

$ simple-mtpfs --device 2 -o allow_other /mnt
$ ls -F /mnt
Internal storage/ SD card/

> Would be nice to have a special mtpfs map, allowing to automatically mount
> whatever MTP devices are available.

Yes, implementing /etc/autofs/special_simple-mtpfs shouldn't be hard. 

> I'm working with Vermaden to do something like that for removable media.

A few network filesystems may benefit from special maps as well e.g.,
curlftpfs, sshfs, smbnetfs.

-- 
You are receiving this mail because:
You are the assignee for the bug.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-192852-13-8cfYXhQD3V>