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]))
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=[] self,'allow_ other') :
k.append( 'allow_ other')
if hasattr(
if hasattr( self,'kernel_ cache') :
k.append( 'kernel_ cache')
This should be changed to something like: '%s=%s' % (opt, self.optdict[opt]))
k = self.optlist
for opt in self.optdict:
k.append(