Example #1
0
 def mount(self):
     mntopts = None
     if self.readonly:
         mntopts = 'ro'
     mount(
         self.source,
         self.destination_jail,
         fstype=self.fstype,  
         mntopts=mntopts,
     )
     return self.mounted
Example #2
0
 def mount(self):
     mntopts = None
     if self.readonly:
         mntopts = 'ro'
     mount(
         self.source,
         self.destination_jail,
         fstype="nullfs",
         mntopts=mntopts,
     )
     return self.mounted
Example #3
0
 def mount(self):
     mntopts = None
     if self.readonly:
         mntopts = 'ro'
     return mount(
         self.source,
         self.destination_jail,
         fstype="nullfs",
         mntopts=mntopts,
     )
Example #4
0
 def mount(self):
     mount(self.source, self.destination_jail, fstype="nullfs")
     return self.mounted
Example #5
0
 def mount(self):
     mount(self.source, self.destination_jail, fstype="nullfs")
     return self.mounted