Comment 0 for bug 65491

Revision history for this message
Rumpeltux (rumpeltux) wrote :

Well, the script reads mount-options from commandline and saves them in __init__() in an array optlist and dictionary optdict.

But when setting the kopts and forwarding them to fuse, these options are ignored. But at least two options can be specified for the class-instance.

        k=[]
        if hasattr(self,'allow_other'):
                k.append('allow_other')

        if hasattr(self,'kernel_cache'):
                k.append('kernel_cache')

This should be changed to something like:
  k = self.optlist
  for opt in self.optdict:
    k.append('%s=%s' % (opt, self.optdict[opt]))