search for: tmp_disk

Displaying 2 results from an estimated 2 matches for "tmp_disk".

Did you mean: tap_disk
2007 Apr 04
1
Unable to distribute file image
Hi, I created a 100 MB file image using dd: dd if=/dev/zero of=/xen/tmp_disk bs=1024k count=100 Then i created a file system in it: mkfs -t ext3 /xen/tmp_disk I mounted the disk and copied a file on it, which I would like to access: mount -o loop /xen/tmp_disk /mnt/tmp cp test_file.cfg /mnt/tmp umount /mnt/tmp Then I tried to distribute the disk to the hvm machine. With...
2023 Feb 14
1
Issue with downloading files whose path contains multi-byte utf-8 characters
...irt-top > > > import guestfs > from guestfs import GuestFS > > g = GuestFS(python_return_dict=True) > def callback(event, _event_handle, buf: str, array): > pass > > g.set_event_callback(callback, guestfs.EVENT_ALL) > g.set_verbose(True) > path = '/tmp/tmp_disk' > g.disk_create(path, format='raw', size=32*1024*1024) > g.add_drive(path) > g.launch() > g.mkfs('ext4', '/dev/sda') > g.mount('/dev/sda', '/') > for _ in range(20000): > try: > g.download ('/??', '/tmp/1...