Deleted Added
full compact
fsck_msdosfs.8 (101791) fsck_msdosfs.8 (102231)
1.\" $NetBSD: fsck_msdos.8,v 1.9 1997/10/17 11:19:58 ws Exp $
1.\" $NetBSD: fsck_msdos.8,v 1.9 1997/10/17 11:19:58 ws Exp $
2.\" $FreeBSD: head/sbin/fsck_msdosfs/fsck_msdosfs.8 101791 2002-08-13 11:47:56Z ru $
2.\" $FreeBSD: head/sbin/fsck_msdosfs/fsck_msdosfs.8 102231 2002-08-21 18:11:48Z trhodes $
3.\"
4.\" Copyright (C) 1995 Wolfgang Solfrank
5.\" Copyright (c) 1995 Martin Husemann
6.\"
7.\" Redistribution and use in source and binary forms, with or without
8.\" modification, are permitted provided that the following conditions
9.\" are met:
10.\" 1. Redistributions of source code must retain the above copyright

--- 21 unchanged lines hidden (view full) ---

32.\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
33.\"
34.\"
35.Dd August 13, 1995
36.Dt FSCK_MSDOSFS 8
37.Os
38.Sh NAME
39.Nm fsck_msdosfs
3.\"
4.\" Copyright (C) 1995 Wolfgang Solfrank
5.\" Copyright (c) 1995 Martin Husemann
6.\"
7.\" Redistribution and use in source and binary forms, with or without
8.\" modification, are permitted provided that the following conditions
9.\" are met:
10.\" 1. Redistributions of source code must retain the above copyright

--- 21 unchanged lines hidden (view full) ---

32.\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
33.\"
34.\"
35.Dd August 13, 1995
36.Dt FSCK_MSDOSFS 8
37.Os
38.Sh NAME
39.Nm fsck_msdosfs
40.Nd DOS/Windows (FAT) filesystem consistency checker
40.Nd DOS/Windows (FAT) file system consistency checker
41.Sh SYNOPSIS
42.Nm
43.Fl p
44.Op Fl f
41.Sh SYNOPSIS
42.Nm
43.Fl p
44.Op Fl f
45.Ar filesystem ...
45.Ar file system ...
46.Nm
47.Op Fl fny
46.Nm
47.Op Fl fny
48.Ar filesystem ...
48.Ar file system ...
49.Sh DESCRIPTION
50The
51.Nm
52utility verifies and repairs
53.Tn FAT
49.Sh DESCRIPTION
50The
51.Nm
52utility verifies and repairs
53.Tn FAT
54filesystems (more commonly known
54file systems (more commonly known
55as
56.Tn DOS
55as
56.Tn DOS
57filesystems).
57file systems).
58.Pp
59The first form of
60.Nm
58.Pp
59The first form of
60.Nm
61preens the specified filesystems.
61preens the specified file systems.
62It is normally started by
63.Xr fsck 8
64run from
65.Pa /etc/rc
62It is normally started by
63.Xr fsck 8
64run from
65.Pa /etc/rc
66during automatic reboot, when a FAT filesystem is detected.
67When preening filesystems,
66during automatic reboot, when a FAT file system is detected.
67When preening file systems,
68.Nm
69will fix common inconsistencies non-interactively.
70If more serious problems are found,
71.Nm
72does not try to fix them, indicates that it was not
73successful, and exits.
74.Pp
75The second form of
76.Nm
68.Nm
69will fix common inconsistencies non-interactively.
70If more serious problems are found,
71.Nm
72does not try to fix them, indicates that it was not
73successful, and exits.
74.Pp
75The second form of
76.Nm
77checks the specified filesystems and tries to repair all
77checks the specified file systems and tries to repair all
78detected inconsistencies, requesting confirmation before
79making any changes.
80.Pp
81The options are as follows:
82.Bl -tag -width indent
83.It Fl F
84Compatibility with the wrapper
85.Xr fsck 8
78detected inconsistencies, requesting confirmation before
79making any changes.
80.Pp
81The options are as follows:
82.Bl -tag -width indent
83.It Fl F
84Compatibility with the wrapper
85.Xr fsck 8
86which seeks to determine whether the filesystem needs to be cleaned
86which seeks to determine whether the file system needs to be cleaned
87immediately in foreground, or if its cleaning can be deferred to background.
87immediately in foreground, or if its cleaning can be deferred to background.
88FAT (MS-DOS) filesystems must always be cleaned in the foreground.
88FAT (MS-DOS) file systems must always be cleaned in the foreground.
89A non-zero exit code is always returned for this option.
90.It Fl f
91This option is ignored by
92.Nm ,
93and is present only for compatibility with programs that
89A non-zero exit code is always returned for this option.
90.It Fl f
91This option is ignored by
92.Nm ,
93and is present only for compatibility with programs that
94check other filesystem types for consistency, such as
94check other file system types for consistency, such as
95.Xr fsck_ffs 8 .
96.It Fl n
97Causes
98.Nm
99to assume
100.Dq Li no
101as the answer to all operator
102questions, except
103.Dq Li CONTINUE? .
104.It Fl p
95.Xr fsck_ffs 8 .
96.It Fl n
97Causes
98.Nm
99to assume
100.Dq Li no
101as the answer to all operator
102questions, except
103.Dq Li CONTINUE? .
104.It Fl p
105Preen the specified filesystems.
105Preen the specified file systems.
106.It Fl y
107Causes
108.Nm
109to assume
110.Dq Li yes
111as the answer to all operator questions.
112.El
113.Sh SEE ALSO

--- 13 unchanged lines hidden ---
106.It Fl y
107Causes
108.Nm
109to assume
110.Dq Li yes
111as the answer to all operator questions.
112.El
113.Sh SEE ALSO

--- 13 unchanged lines hidden ---