Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F112571281
D48132.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
1 KB
Referenced Files
None
Subscribers
None
D48132.diff
View Options
diff --git a/sbin/fsck_msdosfs/fsck_msdosfs.8 b/sbin/fsck_msdosfs/fsck_msdosfs.8
--- a/sbin/fsck_msdosfs/fsck_msdosfs.8
+++ b/sbin/fsck_msdosfs/fsck_msdosfs.8
@@ -23,7 +23,7 @@
.\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
.\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
.\"
-.Dd January 6, 2020
+.Dd December 18, 2024
.Dt FSCK_MSDOSFS 8
.Os
.Sh NAME
@@ -32,10 +32,10 @@
.Sh SYNOPSIS
.Nm
.Fl p
-.Op Fl Cf
+.Op Fl BCf
.Ar filesystem ...
.Nm
-.Op Fl CMny
+.Op Fl BCMny
.Ar filesystem ...
.Sh DESCRIPTION
The
@@ -71,10 +71,14 @@
.Pp
The options are as follows:
.Bl -tag -width indent
+.It Fl B
+Ignored for
+.Xr fsck 8
+compatibility.
.It Fl C
-Compatibility with the corresponding
+Ignored for
.Xr fsck 8
-option (skip check if clean), defined to no-op.
+compatibility.
.It Fl F
Compatibility with the wrapper
.Xr fsck 8
diff --git a/sbin/fsck_msdosfs/main.c b/sbin/fsck_msdosfs/main.c
--- a/sbin/fsck_msdosfs/main.c
+++ b/sbin/fsck_msdosfs/main.c
@@ -68,9 +68,10 @@
skipclean = 1;
allow_mmap = 1;
- while ((ch = getopt(argc, argv, "CfFnpyM")) != -1) {
+ while ((ch = getopt(argc, argv, "BCfFnpyM")) != -1) {
switch (ch) {
- case 'C': /* for fsck_ffs compatibility */
+ case 'B': /* for fsck_ffs compatibility */
+ case 'C':
break;
case 'f':
skipclean = 0;
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Thu, Mar 20, 11:58 PM (16 h, 52 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
17236293
Default Alt Text
D48132.diff (1 KB)
Attached To
Mode
D48132: fsck_msdosfs(8): Introduce -B option as no-op
Attached
Detach File
Event Timeline
Log In to Comment