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

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

            Bug ID: 192852
           Summary: sysutils/fusefs-libs: ignore |automounted| option used
                    by autofs
           Product: Ports Tree
           Version: Latest
          Hardware: Any
                OS: Any
            Status: Needs Triage
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: freebsd-ports-bugs@FreeBSD.org
          Reporter: jbeich@vfemail.net
                CC: trasz@FreeBSD.org

Created attachment 146067
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=146067&action=edit
fix

|automounted| mount option was added in /head@270096 and is passed by
automountd(8) without a way to opt-out. But fusefs chokes on it or any other
unknown option.

$ cat /etc/auto_master
/media        auto_media

$ cat /etc/auto_media
android    -intr,fstype=mtpfs,allow_other,mountprog=/usr/local/bin/simple-mtpfs
:nil

$ ls /media/android/SD\ card
load: 0.10  cmd: ls 1643 [autofs] 4.52r 0.00u 0.00s 0% 2832k

$ automountd -d
automountd: waiting for request from the kernel
automountd: not forking due to -d flag; will exit after servicing a single
request
automountd: got request 2: from map auto_media, path /media/android/, prefix
"/media", key "android", options ""
automountd: parsing map "auto_media"
automountd: map "auto_media" maps to "/etc/auto_media"
automountd: done parsing map "auto_media"
automountd: found node defined at auto_media:7; it is a mountpoint
automountd: executing "mount -t mtpfs -o
intr,allow_other,mountprog=/usr/local/bin/simple-mtpfs,automounted nil
/media/android/" as pid 1644
fuse: unknown option `automounted'
load: 0.06  cmd: simple-mtpfs 1645 [fu_ini] 28.84r 0.00u 0.00s 0% 4164k
^C

simple-mtpfs command is from bug 192552 + bug 192851 hack.

-- 
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>