[dosfstools] Fixed fsck.vfat manpage to be consistent with the tool options

Jaroslav Škarvada jskarvad at fedoraproject.org
Tue Jun 25 12:43:06 UTC 2013


commit aa2cbc65fab1d304de12ae0f4b955a0a7d5476e9
Author: Jaroslav Škarvada <jskarvad at redhat.com>
Date:   Tue Jun 25 14:42:50 2013 +0200

    Fixed fsck.vfat manpage to be consistent with the tool options

 dosfstools-3.0.20-manpage-fix.patch |   21 +++++++++++++++++++++
 dosfstools.spec                     |    7 ++++++-
 2 files changed, 27 insertions(+), 1 deletions(-)
---
diff --git a/dosfstools-3.0.20-manpage-fix.patch b/dosfstools-3.0.20-manpage-fix.patch
new file mode 100644
index 0000000..004b5d6
--- /dev/null
+++ b/dosfstools-3.0.20-manpage-fix.patch
@@ -0,0 +1,21 @@
+diff -up dosfstools-3.0.20/manpages/en/fsck.fat.8.orig dosfstools-3.0.20/manpages/en/fsck.fat.8
+--- dosfstools-3.0.20/manpages/en/fsck.fat.8.orig	2013-06-12 11:30:18.000000000 +0200
++++ dosfstools-3.0.20/manpages/en/fsck.fat.8	2013-06-25 14:28:51.000000000 +0200
+@@ -25,7 +25,7 @@
+ \fBfsck.fat\fR \- check and repair MS\-DOS filesystems
+ 
+ .SH SYNOPSIS
+-\fBfsck.fat\fR|\fBfsck.msdos\fR|\fBfsck.vfat\fR [\-aAflnrtvVwy] [\-d \fIPATH\fR \-d\ \fI...\fR] [\-u\ \fIPATH\fR \-u \fI...\fR] \fIDEVICE\fR
++\fBfsck.fat\fR|\fBfsck.msdos\fR|\fBfsck.vfat\fR [\-aAflnprtvVwy] [\-d \fIPATH\fR \-d\ \fI...\fR] [\-u\ \fIPATH\fR \-u \fI...\fR] \fIDEVICE\fR
+ 
+ .SH DESCRIPTION
+ \fBfsck.fat\fR verifies the consistency of MS\-DOS filesystems and optionally tries to repair them.
+@@ -90,6 +90,8 @@ List path names of files being processed
+ .IP "\fB\-n\fR" 4
+ No\-operation mode: non\-interactively check for errors, but don't write
+ anything to the filesystem.
++.IP "\fB\-p\fR" 4
++Same as (\fB\-a\fR), for compatibility with other *fsck.
+ .IP "\fB\-r\fR" 4
+ Interactively repair the filesystem. The user is asked for advice whenever
+ there is more than one approach to fix an inconsistency.
diff --git a/dosfstools.spec b/dosfstools.spec
index 4dcb542..df7a2e3 100644
--- a/dosfstools.spec
+++ b/dosfstools.spec
@@ -1,12 +1,13 @@
 Name: dosfstools
 Summary: Utilities for making and checking MS-DOS FAT filesystems on Linux
 Version: 3.0.20
-Release: 2%{?dist}
+Release: 3%{?dist}
 License: GPLv3+
 Group: Applications/System
 Source0: http://www.daniel-baumann.ch/software/dosfstools/%{name}-%{version}.tar.xz
 URL: http://www.daniel-baumann.ch/software/dosfstools/
 # Sent upstream
+Patch0: dosfstools-3.0.20-manpage-fix.patch
 Buildroot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
 %description
@@ -16,6 +17,7 @@ drives or on floppies.
 
 %prep
 %setup -q
+%patch0 -p1 -b .manpage-fix
 
 %build
 make %{?_smp_mflags} CFLAGS="$RPM_OPT_FLAGS -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -fno-strict-aliasing"
@@ -34,6 +36,9 @@ rm -rf %{buildroot}
 %{_mandir}/*
 
 %changelog
+* Tue Jun 25 2013 Jaroslav Škarvada <jskarvad at redhat.com> - 3.0.20-3
+- Fixed fsck.vfat manpage to be consistent with the tool options
+
 * Fri Jun 14 2013 Jaroslav Škarvada <jskarvad at redhat.com> - 3.0.20-2
 - Installed compatibility symlinks
 


More information about the scm-commits mailing list