예제 #1
0
파일: models.py 프로젝트: Gabba82/freenas
 def mount(self):
     mntopts = None
     if self.readonly:
         mntopts = 'ro'
     mount(
         self.source,
         self.destination_jail,
         fstype=self.fstype,  
         mntopts=mntopts,
     )
     return self.mounted
예제 #2
0
파일: models.py 프로젝트: jceel/freenas
 def mount(self):
     mntopts = None
     if self.readonly:
         mntopts = 'ro'
     mount(
         self.source,
         self.destination_jail,
         fstype="nullfs",
         mntopts=mntopts,
     )
     return self.mounted
예제 #3
0
파일: models.py 프로젝트: anilh889/freenas
 def mount(self):
     mntopts = None
     if self.readonly:
         mntopts = 'ro'
     return mount(
         self.source,
         self.destination_jail,
         fstype="nullfs",
         mntopts=mntopts,
     )
예제 #4
0
 def mount(self):
     mount(self.source, self.destination_jail, fstype="nullfs")
     return self.mounted
예제 #5
0
파일: models.py 프로젝트: func09/freenas
 def mount(self):
     mount(self.source, self.destination_jail, fstype="nullfs")
     return self.mounted