linux-xfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Why does fsck.xfs not do what xfs_repair -n does?
@ 2017-02-24 20:49 Marcel Partap
  2017-02-27  8:16 ` Carlos Maiolino
  0 siblings, 1 reply; 6+ messages in thread
From: Marcel Partap @ 2017-02-24 20:49 UTC (permalink / raw)
  To: linux-xfs

Dear XFS dev crew,
> fsck.xfs(8)
>         fsck.xfs - do nothing, successfully
>         If you wish to check the consistency of an XFS filesystem, or repair a damaged or corrupt XFS filesystem, see xfs_repair(8).

So there's a FS check command that does not work as with all the other filesystems. Instead of checking the FS, it tells you to use xfs_repair both for - XFS repair.. and XFS check. Whereas in the man page of
> xfs_repair - repair an XFS filesystem
it doesn't tell you right at the top that xfs_repair can check XFS. Instead
> *       -n     No modify mode. Specifies that xfs_repair should […]  *scan  the  filesystem*

Is this imperative? It does not make any sense to me apart from the quirk.

#Best Regards!MPartap

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2017-02-27 20:28 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-02-24 20:49 Why does fsck.xfs not do what xfs_repair -n does? Marcel Partap
2017-02-27  8:16 ` Carlos Maiolino
2017-02-27 15:37   ` Eric Sandeen
2017-02-27 18:26   ` Luis R. Rodriguez
2017-02-27 20:04     ` Eric Sandeen
2017-02-27 20:27     ` Darrick J. Wong

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).