[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: file systems

On 4/26/2011 8:19 PM, PMA wrote:
But just in point of fact if possible: What *is* XFS's position
re FSCK -- just that it is excluded from the boot process,
or that it can never be run? And for whichever, does XFS
documentation offer a reason?

I suggest executing 'man fsck'.  Here's a relevant snippet from such:

In actuality, fsck is simply a front-end for the various file system checkers (fsck.fstype) available under Linux. The file system-specific checker is searched for in /sbin first, then in /etc/fs and /etc, and finally in the directories listed in the PATH environment variable. Please see the file system-specific checker manual pages for further details.

Relevant text from 'man fsck.xfs':

fsck.xfs is called by the generic Linux fsck(8) program at startup to check and repair an XFS filesystem. XFS is a jour- naling filesystem and performs recovery at mount(8) time if necessary, so fsck.xfs simply exits with a zero exit status.

If you wish to check the consistency of an XFS filesystem, or repair a damaged or corrupt XFS filesystem, see
       xfs_check(8) and xfs_repair(8).


Reply to: