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

This commit is contained in:
Jaroslav Škarvada 2013-06-25 14:42:50 +02:00
parent 7df4d4f639
commit aa2cbc65fa
2 changed files with 27 additions and 1 deletions

View File

@ -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.

View File

@ -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@redhat.com> - 3.0.20-3
- Fixed fsck.vfat manpage to be consistent with the tool options
* Fri Jun 14 2013 Jaroslav Škarvada <jskarvad@redhat.com> - 3.0.20-2
- Installed compatibility symlinks