summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiklos Vajna <vmiklos@frugalware.org>2007-05-13 00:02:20 +0200
committerKay Sievers <kay.sievers@vrfy.org>2007-05-13 00:02:20 +0200
commit74ced8c8900991db8650ba7cfaa4a16ee18558ab (patch)
tree30579771e49318a00c6ec05ef9b2669016d7c8e1
parentfdc9a0b52a03e632f7bfde13d3e1c9e1ca94c757 (diff)
create_floppy_devices: add man page
-rw-r--r--extras/floppy/Makefile4
-rw-r--r--extras/floppy/create_floppy_devices.835
2 files changed, 37 insertions, 2 deletions
diff --git a/extras/floppy/Makefile b/extras/floppy/Makefile
index 2044ac56fd..784464a843 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 0000000000..8f5f048f6a
--- /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 <number>
+Set major number.
+.TP
+\fB\-U\fR <owner>
+Set user ownership.
+.TP
+\fB\-G\fR <owner>
+Set group ownership.
+.TP
+\fB\-M\fR <mode>
+Set device node mode.
+.TP
+\fB\-t\fR <number>
+Sed floppy type number.
+.SH SEE ALSO
+.BR udev (7)
+.SH AUTHORS
+Developed by Hannes Reinecke <hare@suse.de>.