Skip to contentSkip to conversation

gfs2_edit.8: Fix man page warning

PATCH In review Valentin Vidic 2 participants 3 messages Feb 26, 2025 – Feb 27, 2025

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 gfs2_edit.8: Fix man page warning

W: gfs2-utils: groff-message troff:<standard input>:124: warning: cannot select font 's' [usr/share/man/man8/gfs2_edit.8.gz:1]

---
 gfs2/man/gfs2_edit.8 | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
gfs2/man/gfs2_edit.8 +1 -1
index 1a5ccacc..1e9a11c2 100644
@@ -121,7 +121,7 @@ for example, to artificially change the di_size field for an inode
 in order to test fsck.gfs2's ability to detect and fix the problem.
 
 .TP
-\fB-s\fs [\fIstructure\fR | \fIblock\fR]
+\fB-s\fP [\fIstructure\fR | \fIblock\fR]
 Specify a starting block for interactive mode.  Any of the well-known
 locations found in the -p option may be specified.  If you want to start
 on a particular resource group, specify it in quotes, e.g. -s "rg 3"
Signature · 1 line
2.39.5
#1 lore raw
Quoted 2 lines · Valentin Vidic

W: gfs2-utils: groff-message troff:<standard input>:124: warning: cannot select font 's' [usr/share/man/man8/gfs2_edit.8.gz:1]

Applied, thanks. Which checker provides these warnings? We might be able to add it to our CI tests.

Andy

Quoted 17 lines
---
  gfs2/man/gfs2_edit.8 | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)
gfs2/man/gfs2_edit.8 +1 -1
index 1a5ccacc..1e9a11c2 100644
@@ -121,7 +121,7 @@ for example, to artificially change the di_size field for an inode
  in order to test fsck.gfs2's ability to detect and fix the problem.
 
  .TP
-\fB-s\fs [\fIstructure\fR | \fIblock\fR]
+\fB-s\fP [\fIstructure\fR | \fIblock\fR]
  Specify a starting block for interactive mode.  Any of the well-known
  locations found in the -p option may be specified.  If you want to start
  on a particular resource group, specify it in quotes, e.g. -s "rg 3"
#2 lore raw
Quoted 6 lines · Andrew Price
Quoted 2 lines · Valentin Vidic

W: gfs2-utils: groff-message troff:<standard input>:124: warning: cannot select font 's' [usr/share/man/man8/gfs2_edit.8.gz:1]

Applied, thanks. Which checker provides these warnings? We might be able to add it to our CI tests.

Lintian is the tool that checks the Debian package after it is built. So one of the tests there is to check if man pages produce any warnings like that one:

https://salsa.debian.org/lintian/lintian/-/blob/master/lib/Lintian/Check/Documentation/Manual.pm?ref_type=heads#L328

Signature · 1 line
Valentin