From 66e45737e1ef9a52d6aecb6e6484c5f37f5c2566 Mon Sep 17 00:00:00 2001 From: Harald Hoyer Date: Tue, 12 Jan 2010 14:51:17 +0100 Subject: [PATCH] add man pages for dracut-catimages and dracut-gencmdline --- Makefile | 2 ++ dracut-catimages.8 | 52 ++++++++++++++++++++++++++++++++++++++++++++++++++++ dracut-gencmdline.8 | 20 ++++++++++++++++++++ dracut.spec | 2 ++ 4 files changed, 76 insertions(+) create mode 100644 dracut-catimages.8 create mode 100644 dracut-gencmdline.8 diff --git a/Makefile b/Makefile index c9ee29b..b02a5fb 100644 --- a/Makefile +++ b/Makefile @@ -38,6 +38,8 @@ endif install -m 0755 dracut-functions $(DESTDIR)$(pkglibdir)/dracut-functions cp -arx modules.d $(DESTDIR)$(pkglibdir) install -m 0644 dracut.8 $(DESTDIR)$(mandir)/man8 + install -m 0644 dracut-catimages.8 $(DESTDIR)$(mandir)/man8 + install -m 0644 dracut-gencmdline.8 $(DESTDIR)$(mandir)/man8 install -m 0644 dracut.conf.5 $(DESTDIR)$(mandir)/man5 ifeq (1,${WITH_SWITCH_ROOT}) rm $(DESTDIR)$(pkglibdir)/modules.d/99base/switch_root diff --git a/dracut-catimages.8 b/dracut-catimages.8 new file mode 100644 index 0000000..b7d703e --- /dev/null +++ b/dracut-catimages.8 @@ -0,0 +1,52 @@ +.TH DRACUT-CATIMAGES 8 "June 2009" "Linux" +.SH NAME +dracut-catimages \- creates initial ramdisk image by concatenating images +.SH SYNOPSIS +\fBdracut-catimages\fR [\fIOPTION\fR]... \fI\fR \fI[...]\fR + +.SH DESCRIPTION +.B dracut-catimages +creates an initial ramdisk image by concatenating several images from the command +line and /boot/dracut/*.img + +.SH OPTIONS +.TP +.BR \-f ", " \-\-force +overwrite existing initramfs file. +.TP +.BR \-i ", " \-\-imagedir +Directory with additional images to add (default: /boot/dracut/) +.TP +.BR \-o ", " \-\-overlaydir +Overlay directory, which contains additional files that will be used to create an additional image +.TP +.BR \-\-nooverlay +Do not use the overlay directory +.TP +.BR \-\-noimagedir +Do not use the additional image directory +.TP +.BR \-h ", " \-\-help +display help text and exit. +.TP +.B \-\-debug +output debug information of the build process +.TP +.BR \-v ", " \-\-verbose +verbose output during the build process + +.SH FILES +.TP +.B /boot/dracut/*.img +.TP +.B +.SH AUTHORS +.nf +Harald Hoyer +.fi +.SH AVAILABILITY +The dracut-catimages command is part of the dracut package and is available from +http://sourceforge.net/apps/trac/dracut/wiki + +.SH SEE ALSO +.BR dracut (8) diff --git a/dracut-gencmdline.8 b/dracut-gencmdline.8 new file mode 100644 index 0000000..2f2ece7 --- /dev/null +++ b/dracut-gencmdline.8 @@ -0,0 +1,20 @@ +.TH DRACUT-GENCMDLINE 8 "June 2009" "Linux" +.SH NAME +dracut-gencmdline \- generates kernel command line parameters for the dracut generated initramfs +.SH SYNOPSIS +.BR dracut-gencmdline + +.SH DESCRIPTION +.B dracut-gencmdline +generates kernel command line parameters for the dracut generated initramfs, which are very specific to the host system. + +.SH AUTHORS +.nf +Harald Hoyer +.fi +.SH AVAILABILITY +The dracut-gencmdline command is part of the dracut package and is available from +http://sourceforge.net/apps/trac/dracut/wiki + +.SH SEE ALSO +.BR dracut (8) diff --git a/dracut.spec b/dracut.spec index b3f6a82..c528e47 100644 --- a/dracut.spec +++ b/dracut.spec @@ -209,6 +209,8 @@ rm -rf $RPM_BUILD_ROOT %files tools %defattr(-,root,root,0755) %doc COPYING NEWS +%{_mandir}/man8/dracut-gencmdline.8* +%{_mandir}/man8/dracut-catimages.8* /sbin/dracut-gencmdline /sbin/dracut-catimages %dir /boot/dracut -- 2.7.4