search for: c935493

Displaying 1 result from an estimated 1 matches for "c935493".

Did you mean: 935493
2010 Feb 09
1
[PATCH] Use mount-options instead of mount to avoid implicit -o sync.
..."LIBGUESTFS GOTCHAS". + */ + const char *options = !read_only ? "" : "ro"; + r = guestfs_mount_options (g, options, mp->device, mp->mountpoint); if (r == -1) exit (EXIT_FAILURE); } diff --git a/fuse/guestmount.c b/fuse/guestmount.c index c935493..cbd39f2 100644 --- a/fuse/guestmount.c +++ b/fuse/guestmount.c @@ -1160,10 +1160,13 @@ mount_mps (struct mp *mp) if (mp) { mount_mps (mp->next); - if (!read_only) - r = guestfs_mount (g, mp->device, mp->mountpoint); - else - r = guestfs_mount_ro (g, mp->device...