mirror of
https://github.com/libguestfs/libguestfs.git
synced 2026-03-22 07:03:38 +00:00
examples: Add mount options "acl,user_xattr" to mount-local example.
This fixes commit 46b6766156.
This commit is contained in:
@@ -83,7 +83,7 @@ main (int argc, char *argv[])
|
||||
exit (EXIT_FAILURE);
|
||||
|
||||
/* Mount the empty filesystem. */
|
||||
if (guestfs_mount (g, "/dev/sda1", "/") == -1)
|
||||
if (guestfs_mount_options (g, "acl,user_xattr", "/dev/sda1", "/") == -1)
|
||||
exit (EXIT_FAILURE);
|
||||
|
||||
/* Create a temporary mount directory. */
|
||||
|
||||
Reference in New Issue
Block a user