diff options
author | Richard W.M. Jones <rjones@redhat.com> | 2009-06-30 14:01:40 +0100 |
---|---|---|
committer | Richard W.M. Jones <rjones@redhat.com> | 2009-07-01 15:40:13 +0100 |
commit | 896079e29b4d49c6c18ac3316a94bfbe2f307648 (patch) | |
tree | f1151bf3085ab574501f91d4d88d3bce31a93402 /python | |
parent | 4513f2ec7b6aa843005ba886cdd1747b6ff00915 (diff) | |
download | libguestfs-896079e29b4d49c6c18ac3316a94bfbe2f307648.tar.gz libguestfs-896079e29b4d49c6c18ac3316a94bfbe2f307648.tar.xz libguestfs-896079e29b4d49c6c18ac3316a94bfbe2f307648.zip |
Generated code for the virtio_blk change.
Diffstat (limited to 'python')
-rw-r--r-- | python/guestfs.py | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/python/guestfs.py b/python/guestfs.py index bb9bc087..ad44df7f 100644 --- a/python/guestfs.py +++ b/python/guestfs.py @@ -197,7 +197,7 @@ class GuestFS: to modify the image). This is equivalent to the qemu parameter "-drive - file=filename,cache=off". + file=filename,cache=off,if=virtio". Note that this call checks for the existence of "filename". This stops you from specifying other types @@ -234,7 +234,7 @@ class GuestFS: although qemu can support this. This is equivalent to the qemu parameter "-drive - file=filename,snapshot=on". + file=filename,snapshot=on,if=virtio". Note that this call checks for the existence of "filename". This stops you from specifying other types @@ -1948,6 +1948,10 @@ class GuestFS: "-rwxr-xr-x", and 002 which creates new files with permissions like "-rw-rw-r--" or "-rwxrwxr-x". + The default umask is 022. This is important because it + means that directories and device nodes will be created + with 0644 or 0755 mode even if you specify 0777. + See also umask(2), "g.mknod", "g.mkdir". This call returns the previous umask. |