Changeset View
Changeset View
Standalone View
Standalone View
head/sbin/fsck_msdosfs/fsck_msdosfs.8
Show All 19 Lines | |||||
.\" NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, | .\" NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, | ||||
.\" DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY | .\" DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY | ||||
.\" THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | .\" THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | ||||
.\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF | .\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF | ||||
.\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | .\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | ||||
.\" | .\" | ||||
.\" $FreeBSD$ | .\" $FreeBSD$ | ||||
.\" | .\" | ||||
.Dd October 3, 2016 | .Dd January 6, 2020 | ||||
.Dt FSCK_MSDOSFS 8 | .Dt FSCK_MSDOSFS 8 | ||||
.Os | .Os | ||||
.Sh NAME | .Sh NAME | ||||
.Nm fsck_msdosfs | .Nm fsck_msdosfs | ||||
.Nd DOS/Windows (FAT) file system consistency checker | .Nd DOS/Windows (FAT) file system consistency checker | ||||
.Sh SYNOPSIS | .Sh SYNOPSIS | ||||
.Nm | .Nm | ||||
.Fl p | .Fl p | ||||
.Op Fl Cf | .Op Fl Cf | ||||
.Ar filesystem ... | .Ar filesystem ... | ||||
.Nm | .Nm | ||||
.Op Fl Cny | .Op Fl CMny | ||||
.Ar filesystem ... | .Ar filesystem ... | ||||
.Sh DESCRIPTION | .Sh DESCRIPTION | ||||
The | The | ||||
.Nm | .Nm | ||||
utility verifies and repairs | utility verifies and repairs | ||||
.Tn FAT | .Tn FAT | ||||
file systems (more commonly known | file systems (more commonly known | ||||
as | as | ||||
Show All 30 Lines | |||||
option (skip check if clean), defined to no-op. | option (skip check if clean), defined to no-op. | ||||
.It Fl F | .It Fl F | ||||
Compatibility with the wrapper | Compatibility with the wrapper | ||||
.Xr fsck 8 | .Xr fsck 8 | ||||
which seeks to determine whether the file system needs to be cleaned | which seeks to determine whether the file system needs to be cleaned | ||||
immediately in foreground, or if its cleaning can be deferred to background. | immediately in foreground, or if its cleaning can be deferred to background. | ||||
FAT (MS-DOS) file systems must always be cleaned in the foreground. | FAT (MS-DOS) file systems must always be cleaned in the foreground. | ||||
A non-zero exit code is always returned for this option. | A non-zero exit code is always returned for this option. | ||||
.It Fl M | |||||
Causes | |||||
.Nm | |||||
to not use | |||||
.Xr mmap 2 | |||||
when checking a FAT32 file system. | |||||
This option is mainly for debugging purposes and is not normally necessary. | |||||
The | |||||
.Nm | |||||
utility will automatically fall back to use a simple LRU cache of 4 MiB | |||||
when it failed to perform | |||||
.Xr mmap 2 , | |||||
or when | |||||
.Fl M | |||||
is specified. | |||||
.It Fl f | .It Fl f | ||||
Force | Force | ||||
.Nm | .Nm | ||||
to check | to check | ||||
.Dq clean | .Dq clean | ||||
file systems when preening. | file systems when preening. | ||||
.It Fl n | .It Fl n | ||||
Causes | Causes | ||||
Show All 32 Lines |