From: Miklos Vajna Date: Sat, 12 May 2007 22:02:20 +0000 (+0200) Subject: create_floppy_devices: add man page X-Git-Tag: 174~1951 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=74ced8c8900991db8650ba7cfaa4a16ee18558ab;p=systemd create_floppy_devices: add man page --- diff --git a/extras/floppy/Makefile b/extras/floppy/Makefile index 2044ac56..784464a8 100644 --- a/extras/floppy/Makefile +++ b/extras/floppy/Makefile @@ -57,11 +57,11 @@ uninstall-bin: .PHONY: uninstall-bin install-man: - @echo "Please create a man page for this tool." + $(INSTALL_DATA) -D $(PROG).8 $(DESTDIR)$(mandir)/man8/$(PROG).8 .PHONY: install-man uninstall-man: - @echo "Please create a man page for this tool." + -rm -f $(DESTDIR)$(mandir)/man8/$(PROG).8 .PHONY: uninstall-man install-config: diff --git a/extras/floppy/create_floppy_devices.8 b/extras/floppy/create_floppy_devices.8 new file mode 100644 index 00000000..8f5f048f --- /dev/null +++ b/extras/floppy/create_floppy_devices.8 @@ -0,0 +1,35 @@ +.TH CREATE_FLOPPY_DEVICES 8 "May 2007" "" "Linux Administrator's Manual" +.SH NAME +create_floppy_devices \- udev callout to create all possible floppy device +based on the CMOS type. +.SH SYNOPSIS +create_floppy_devices [options] device +.SH OPTIONS +.TP +\fB\-c\fR +Create nodes. +.TP +\fB\-u\fR +Unlink nodes. +.TP +\fB\-d\fR +Print nodes. +.TP +\fB\-m\fR +Set major number. +.TP +\fB\-U\fR +Set user ownership. +.TP +\fB\-G\fR +Set group ownership. +.TP +\fB\-M\fR +Set device node mode. +.TP +\fB\-t\fR +Sed floppy type number. +.SH SEE ALSO +.BR udev (7) +.SH AUTHORS +Developed by Hannes Reinecke .