- Modify parted man page to indicate which flags are valid for which disk

labels (#242711)
This commit is contained in:
David Cantrell 2007-12-14 03:34:30 +00:00
parent f6ed55a348
commit 69fc523eb4
2 changed files with 40 additions and 13 deletions

View File

@ -0,0 +1,14 @@
diff -up parted-1.8.6/doc/C/parted.8.label-types parted-1.8.6/doc/C/parted.8
--- parted-1.8.6/doc/C/parted.8.label-types 2007-12-13 17:13:24.000000000 -1000
+++ parted-1.8.6/doc/C/parted.8 2007-12-13 17:14:41.000000000 -1000
@@ -104,8 +104,8 @@ a LVM logical volume if that is necessar
.TP
.B set \fIpartition\fP \fIflag\fP \fIstate\fP
change the state of the \fIflag\fP on \fIpartition\fP to \fIstate\fP. Flags
-supported are: "boot", "root", "swap", "hidden", "raid", "lvm", "lba" and
-"palo".
+supported are: "boot"(Mac, MS-DOS, PC98), "root"(Mac), "swap"(Mac), "hidden"(MS-DOS, PC98), "raid"(MS-DOS), "lvm"(MS-DOS), "lba"(MS-DOS) and
+"palo"(MS-DOS).
\fIstate\fP should be either "on" or "off"
.RE
.SH KNOWN ISSUES

View File

@ -4,25 +4,31 @@
Summary: The GNU disk partition manipulation program Summary: The GNU disk partition manipulation program
Name: parted Name: parted
Version: 1.8.6 Version: 1.8.6
Release: 12%{?dist} Release: 13%{?dist}
License: GPLv2+ License: GPLv2+
Group: Applications/System Group: Applications/System
URL: http://www.gnu.org/software/parted URL: http://www.gnu.org/software/parted
Source: ftp://ftp.gnu.org/gnu/%{name}/%{name}-%{version}.tar.bz2 Source: ftp://ftp.gnu.org/gnu/%{name}/%{name}-%{version}.tar.bz2
Patch0: %{name}-1.8.6-warnings.patch Patch0: %{name}-1.8.6-warnings.patch
Patch1: %{name}-1.8.6-notransname.patch Patch1: %{name}-1.8.6-notransname.patch
Patch2: %{name}-1.8.6-off-by-one.patch Patch2: %{name}-1.8.6-off-by-one.patch
Patch3: %{name}-1.8.6-primary-boundary.patch Patch3: %{name}-1.8.6-primary-boundary.patch
Patch4: %{name}-1.8.6-xvd.patch Patch4: %{name}-1.8.6-xvd.patch
Patch5: %{name}-1.8.6-devmapper-header.patch Patch5: %{name}-1.8.6-devmapper-header.patch
Patch6: %{name}-1.8.6-noinst-headers.patch Patch6: %{name}-1.8.6-noinst-headers.patch
Patch7: %{name}-1.8.6-manpage.patch Patch7: %{name}-1.8.6-manpage.patch
Patch8: %{name}-1.8.6-label-types.patch
Buildroot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) Buildroot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: e2fsprogs-devel readline-devel ncurses-devel BuildRequires: e2fsprogs-devel
BuildRequires: libtool gettext-devel texinfo BuildRequires: readline-devel
BuildRequires: device-mapper-devel libselinux-devel BuildRequires: ncurses-devel
BuildRequires: libtool
BuildRequires: gettext-devel
BuildRequires: texinfo
BuildRequires: device-mapper-devel
BuildRequires: libselinux-devel
Requires(post): /sbin/ldconfig Requires(post): /sbin/ldconfig
Requires(post): /sbin/install-info Requires(post): /sbin/install-info
@ -38,7 +44,9 @@ to new hard disks.
%package devel %package devel
Summary: Files for developing apps which will manipulate disk partitions Summary: Files for developing apps which will manipulate disk partitions
Group: Development/Libraries Group: Development/Libraries
Requires: %{name} = %{version}-%{release} pkgconfig Requires: %{name} = %{version}-%{release}
Requires: pkgconfig
%description devel %description devel
The GNU Parted library is a set of routines for hard disk partition The GNU Parted library is a set of routines for hard disk partition
manipulation. If you want to develop programs that manipulate disk manipulation. If you want to develop programs that manipulate disk
@ -55,6 +63,7 @@ Parted library, you need to install this package.
%patch5 -p1 -b .devmapper %patch5 -p1 -b .devmapper
%patch6 -p1 -b .noinst %patch6 -p1 -b .noinst
%patch7 -p1 -b .manpage %patch7 -p1 -b .manpage
%patch8 -p1 -b .label-types
%build %build
%configure --enable-device-mapper --enable-selinux --disable-static %configure --enable-device-mapper --enable-selinux --disable-static
@ -100,6 +109,10 @@ fi
%{_libdir}/pkgconfig/libparted.pc %{_libdir}/pkgconfig/libparted.pc
%changelog %changelog
* Thu Dec 13 2007 David Cantrell <dcantrell@redhat.com> - 1.8.6-13
- Modify parted man page to indicate which flags are valid for which
disk labels (#242711)
* Mon Nov 05 2007 David Cantrell <dcantrell@redhat.com> - 1.8.6-12 * Mon Nov 05 2007 David Cantrell <dcantrell@redhat.com> - 1.8.6-12
- Add KNOWN ISSUES section to parted(8) man page explaining that we cannot - Add KNOWN ISSUES section to parted(8) man page explaining that we cannot
currently do ext3 resizing inside parted (#367101) currently do ext3 resizing inside parted (#367101)