Package: e2fsprogs

Since bug #1098816 is about mke2fs.8 manual page, I want to raise the following 
minor issues, that are not tied to what the bug is about so far.
Qouting mke2fs.8

           -c     Check the device for bad blocks before creating the file 
system.  If this option is speci‐
              fied twice, then a slower read-write test is used instead of a 
fast read-only test.

In my opinion, specifying this option twice is not suggsted by the synopsis. I 
propose the following patch. 

    --- a/mke2fs.8    2025-12-06 03:10:44.658236077 +0000
    +++ b/mke2fs.8    2025-12-06 03:15:57.259009956 +0000
    @@ -8,8 +8,12 @@
     .SH SYNOPSIS
     .B mke2fs
     [
    +[
     .B \-c
     |
    +.B \-cc
    +]
    +|
     .B \-l
     .I filename
     ]

Despite the above patch, I an not sure if the correct option is -cc, or 
-c -c, or both. In the case of -c -c, I am also not sure if the second -c 
should immdeiately follow the first -c, or if the two could be separated 
by other options. According to bug #768113, -c -c is an acceptable form.

I also think that mke2fs.8 should say something about issuing the -c and the 
-l options at the same time. Is it acceptable? What will happen?

I noticed that bug #539318 is also related to the manual page.

Reply via email to