]> git.ipfire.org Git - thirdparty/dracut.git/commitdiff
add man pages for dracut-catimages and dracut-gencmdline
authorHarald Hoyer <harald@redhat.com>
Tue, 12 Jan 2010 13:51:17 +0000 (14:51 +0100)
committerHarald Hoyer <harald@redhat.com>
Tue, 12 Jan 2010 13:51:17 +0000 (14:51 +0100)
Makefile
dracut-catimages.8 [new file with mode: 0644]
dracut-gencmdline.8 [new file with mode: 0644]
dracut.spec

index c9ee29b21c11677bc33d2e1c7dc5c43085ef975e..b02a5fb58a27e27e52b088c364ebdbb86e382338 100644 (file)
--- 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 (file)
index 0000000..b7d703e
--- /dev/null
@@ -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<initramfs base image>\fR \fI[<image>...]\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 <harald@redhat.com>
+.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 (file)
index 0000000..2f2ece7
--- /dev/null
@@ -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 <harald@redhat.com>
+.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)
index b3f6a82704164cd2830c74051816ee9a94edb553..c528e47ada9d430fe753f000eb400e2c1cd0f867 100644 (file)
@@ -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