summaryrefslogtreecommitdiffstats
path: root/perl/lib
diff options
context:
space:
mode:
authorRichard Jones <rjones@redhat.com>2009-04-15 13:59:07 +0100
committerRichard Jones <rjones@redhat.com>2009-04-15 13:59:07 +0100
commitad5abc8d367c9c410051062cae066b1b141b4c76 (patch)
tree9b22bc0900d83ac5a79a8bed7c3283f2fc742536 /perl/lib
parentd5ae4a54e83018687ec05255bc39e7f5ab71a453 (diff)
downloadlibguestfs-ad5abc8d367c9c410051062cae066b1b141b4c76.tar.gz
libguestfs-ad5abc8d367c9c410051062cae066b1b141b4c76.tar.xz
libguestfs-ad5abc8d367c9c410051062cae066b1b141b4c76.zip
Generated code for tune2fs-l command and RHashtable return type.
Diffstat (limited to 'perl/lib')
-rw-r--r--perl/lib/Sys/Guestfs.pm10
1 files changed, 10 insertions, 0 deletions
diff --git a/perl/lib/Sys/Guestfs.pm b/perl/lib/Sys/Guestfs.pm
index 09663bc5..36bedd5e 100644
--- a/perl/lib/Sys/Guestfs.pm
+++ b/perl/lib/Sys/Guestfs.pm
@@ -606,6 +606,16 @@ Touch acts like the L<touch(1)> command. It can be used to
update the timestamps on a file, or, if the file does not exist,
to create a new zero-length file.
+=item %superblock = $h->tune2fs_l ($device);
+
+This returns the contents of the ext2 or ext3 filesystem superblock
+on C<device>.
+
+It is the same as running C<tune2fs -l device>. See L<tune2fs(8)>
+manpage for more details. The list of fields returned isn't
+clearly defined, and depends on both the version of C<tune2fs>
+that libguestfs was built against, and the filesystem itself.
+
=item $h->umount ($pathordevice);
This unmounts the given filesystem. The filesystem may be