Ejemplo n.º 1
0
def setup_target(target='/tmp/target', device='/dev/ubda', fstype='ext2'):
    mount_tmpfs(target='/tmp')
    make_filesystem(device, fstype)
    mount_target(target, device)
Ejemplo n.º 2
0
def setup_target(target='/tmp/target', device='/dev/ubda', fstype='ext2'):
    mount_tmpfs(target='/tmp')
    make_filesystem(device, fstype)
    mount_target(target, device)
Ejemplo n.º 3
0
 def make_filesystem(self):
     import warnings
     warnings.warn('UmlChroot.make_filesystem hardcoded')
     make_filesystem('/dev/ubda', 'ext2')
Ejemplo n.º 4
0
 def make_filesystem(self):
     import warnings
     warnings.warn('UmlChroot.make_filesystem hardcoded')
     make_filesystem('/dev/ubda', 'ext2')