2006-10-11 14:36:55 |
Rumpeltux |
description |
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=[]
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]))
-- as found in current dapper release of python2.4-fuse |
|