inspector: Sort <filesystems> section.
authorRichard Jones <rjones@redhat.com>
Fri, 29 Oct 2010 09:23:28 +0000 (10:23 +0100)
committerRichard Jones <rjones@redhat.com>
Fri, 29 Oct 2010 09:53:43 +0000 (10:53 +0100)
inspector/virt-inspector

index 7f9d220..87da621 100755 (executable)
@@ -305,6 +305,7 @@ sub output_filesystems
     $xml->startTag ("filesystems");
 
     my @fses = $g->inspect_get_filesystems ($root);
+    @fses = sort @fses;
     foreach (@fses) {
         $xml->startTag ("filesystem",
                         dev => canonicalize ($_));