From 74ced8c8900991db8650ba7cfaa4a16ee18558ab Mon Sep 17 00:00:00 2001 From: Miklos Vajna Date: Sun, 13 May 2007 00:02:20 +0200 Subject: [PATCH] create_floppy_devices: add man page --- extras/floppy/Makefile | 4 +-- extras/floppy/create_floppy_devices.8 | 35 +++++++++++++++++++++++++++ 2 files changed, 37 insertions(+), 2 deletions(-) create mode 100644 extras/floppy/create_floppy_devices.8 diff --git a/extras/floppy/Makefile b/extras/floppy/Makefile index 2044ac56f..784464a84 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 000000000..8f5f048f6 --- /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 . -- 2.30.2