summaryrefslogtreecommitdiffstats
path: root/guestfish-actions.pod
diff options
context:
space:
mode:
Diffstat (limited to 'guestfish-actions.pod')
-rw-r--r--guestfish-actions.pod30
1 files changed, 30 insertions, 0 deletions
diff --git a/guestfish-actions.pod b/guestfish-actions.pod
index fbf2f97c..e240f499 100644
--- a/guestfish-actions.pod
+++ b/guestfish-actions.pod
@@ -377,6 +377,18 @@ hidden files are shown.
This command is mostly useful for interactive sessions. Programs
should probably use C<readdir> instead.
+=head2 lstat
+
+ lstat path
+
+Returns file information for the given C<path>.
+
+This is the same as C<stat> except that if C<path>
+is a symbolic link, then the link is stat-ed, not the file it
+refers to.
+
+This is the same as the C<lstat(2)> system call.
+
=head2 lvcreate
lvcreate logvol volgroup mbytes
@@ -583,6 +595,24 @@ the string C<,> (comma).
B<This command is dangerous. Without careful use you
can easily destroy all your data>.
+=head2 stat
+
+ stat path
+
+Returns file information for the given C<path>.
+
+This is the same as the C<stat(2)> system call.
+
+=head2 statvfs
+
+ statvfs path
+
+Returns file system statistics for any mounted file system.
+C<path> should be a file or directory in the mounted file system
+(typically it is the mount point itself, but it doesn't need to be).
+
+This is the same as the C<statvfs(2)> system call.
+
=head2 sync
sync