Путеводитель по Руководству Linux

  User  |  Syst  |  Libr  |  Device  |  Files  |  Other  |  Admin  |  Head  |



   xfs_db    ( 8 )

отлаживать файловую систему XFS (debug an XFS filesystem)

  Name  |  Synopsis  |  Description  |    Options    |  Concepts  |  Commands  |  Types  |  Diagnostic  |  See also  |

Параметры (Options)

-c cmd xfs_db commands may be run interactively (the default) or
              as arguments on the command line. Multiple -c arguments
              may be given. The commands are run in the sequence given,
              then the program exits.

-f Specifies that the filesystem image to be processed is stored in a regular file at device (see the mkfs.xfs(8) -d file option). This might happen if an image copy of a filesystem has been made into an ordinary file with xfs_copy(8).

-F Specifies that we want to continue even if the superblock magic is not correct. For use in xfs_metadump.

-i Allows execution on a mounted filesystem, provided it is mounted read-only. Useful for shell scripts which must only operate on filesystems in a guaranteed consistent state (either unmounted or mounted read-only). These semantics are slightly different to that of the -r option.

-l logdev Specifies the device where the filesystems external log resides. Only for those filesystems which use an external log. See the mkfs.xfs(8) -l option, and refer to xfs(5) for a detailed description of the XFS log.

-p progname Set the program name to progname for prompts and some error messages, the default value is xfs_db.

-r Open device or filename read-only. This option is required if the filesystem is mounted. It is only necessary to omit this flag if a command that changes data (write, blocktrash, crc) is to be used.

-x Specifies expert mode. This enables the (write, blocktrash, crc invalidate/revalidate) commands.

-V Prints the version number and exits.