diff options
author | Richard Jones <rjones@redhat.com> | 2009-04-30 18:57:07 +0100 |
---|---|---|
committer | Richard Jones <rjones@redhat.com> | 2009-04-30 18:57:07 +0100 |
commit | 0703248d233744047515418893dac05ce013a642 (patch) | |
tree | ead0b718136e64b179b9d46f3fc314cdd49f2149 /guestfish-actions.pod | |
parent | c69c3695303d5a660ad093a076c2e364ae6061de (diff) | |
download | libguestfs-0703248d233744047515418893dac05ce013a642.tar.gz libguestfs-0703248d233744047515418893dac05ce013a642.tar.xz libguestfs-0703248d233744047515418893dac05ce013a642.zip |
Add generated code for 'fsck' command.
Diffstat (limited to 'guestfish-actions.pod')
-rw-r--r-- | guestfish-actions.pod | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/guestfish-actions.pod b/guestfish-actions.pod index fce1b319..c1981c5e 100644 --- a/guestfish-actions.pod +++ b/guestfish-actions.pod @@ -449,6 +449,21 @@ The exact command which runs is C<file -bsL path>. Note in particular that the filename is not prepended to the output (the C<-b> option). +=head2 fsck + + fsck fstype device + +This runs the filesystem checker (fsck) on C<device> which +should have filesystem type C<fstype>. + +The returned integer is the status. See L<fsck(8)> for the +list of status codes from C<fsck>, and note that multiple +status codes can be summed together. + +It is entirely equivalent to running C<fsck -a -t fstype device>. +Note that checking or repairing NTFS volumes is not supported +(by linux-ntfs). + =head2 get-autosync get-autosync |