- Timestamp:
- Mar 30, 2008, 4:48:19 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/packages/sipb-xen-guest-installer/files/usr/sbin/sipb-xen-lvcopy
r338 r343 7 7 import time 8 8 from subprocess import call, check_call, Popen, PIPE 9 10 # TODO:11 # . pick a loop device sanely12 # x adapt size of partition to fit volume13 # . fix hostname, root password14 # - (once debugging diminishes) umount, losetup -d, maybe rm -r15 # - avoid race conditions with other loop-device users, too (somehow)16 # - get numbers from actual source partition table rather than17 # as magic numbers based on what sipb-xen-make-iso does with etch.18 9 19 10 def losetup(source, offset=0):
Note: See TracChangeset
for help on using the changeset viewer.