X-Git-Url: http://git.annexia.org/?p=libguestfs.git;a=blobdiff_plain;f=guestfish-actions.pod;h=e240f4994df79e85efdd6c9b45d30f896bb4ff9f;hp=2d0a0453663df2090c6559f72ad54db7d983a98d;hb=6bcbe54b5785cb8c911ccf4b724ae6abfdf53ce4;hpb=5365ebd501850ea10d9a5b28fc6480ea34dbe16d diff --git a/guestfish-actions.pod b/guestfish-actions.pod index 2d0a045..e240f49 100644 --- a/guestfish-actions.pod +++ b/guestfish-actions.pod @@ -218,7 +218,7 @@ yourself (Augeas support makes this relatively easy). command arguments,... -This calls runs a command from the guest filesystem. The +This call runs a command from the guest filesystem. The filesystem must be mounted, and must contain a compatible operating system (ie. something Linux, with the same or compatible processor architecture). @@ -377,6 +377,18 @@ hidden files are shown. This command is mostly useful for interactive sessions. Programs should probably use C instead. +=head2 lstat + + lstat path + +Returns file information for the given C. + +This is the same as C except that if C +is a symbolic link, then the link is stat-ed, not the file it +refers to. + +This is the same as the C system call. + =head2 lvcreate lvcreate logvol volgroup mbytes @@ -583,6 +595,24 @@ the string C<,> (comma). B. +=head2 stat + + stat path + +Returns file information for the given C. + +This is the same as the C system call. + +=head2 statvfs + + statvfs path + +Returns file system statistics for any mounted file system. +C 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 system call. + =head2 sync sync