summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard Jones <rjones@redhat.com>2009-06-10 15:31:13 +0100
committerRichard Jones <rjones@redhat.com>2009-06-10 15:31:13 +0100
commitd96554c58fd48db02156044fc15b181e453f0315 (patch)
treedc91f16cfe02e2857dfb669bb006a50b1c367154
parent9cd8ec1f5082791e4d731a66524d101bdee49654 (diff)
downloadlibguestfs-d96554c58fd48db02156044fc15b181e453f0315.tar.gz
libguestfs-d96554c58fd48db02156044fc15b181e453f0315.tar.xz
libguestfs-d96554c58fd48db02156044fc15b181e453f0315.zip
Specify type of squashfs filesystem.
-rwxr-xr-xsrc/generator.ml5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/generator.ml b/src/generator.ml
index c4f28511..27ecb51e 100755
--- a/src/generator.ml
+++ b/src/generator.ml
@@ -1662,7 +1662,10 @@ See also C<guestfs_upload>, C<guestfs_cat>.");
[["write_file"; "/new"; "test\n"; "0"];
["checksum"; "sha512"; "/new"]], "0e3e75234abc68f4378a86b3f4b32a198ba301845b0cd6e50106e874345700cc6663a86c1ea125dc5e92be17c98f9a0f85ca9d5f595db2012f7cc3571945c123");
InitBasicFS, Always, TestOutput (
- [["mount"; "/dev/sdd"; "/"];
+ (* RHEL 5 thinks this is an HFS+ filesystem unless we give
+ * the type explicitly.
+ *)
+ [["mount_vfs"; "ro"; "squashfs"; "/dev/sdd"; "/"];
["checksum"; "md5"; "/known-3"]], "46d6ca27ee07cdc6fa99c2e138cc522c")],
"compute MD5, SHAx or CRC checksum of file",
"\