chiark / gitweb /
create_floppy_devices: add man page
authorMiklos Vajna <vmiklos@frugalware.org>
Sat, 12 May 2007 22:02:20 +0000 (00:02 +0200)
committerKay Sievers <kay.sievers@vrfy.org>
Sat, 12 May 2007 22:02:20 +0000 (00:02 +0200)
extras/floppy/Makefile
extras/floppy/create_floppy_devices.8 [new file with mode: 0644]

index 2044ac5..784464a 100644 (file)
@@ -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 (file)
index 0000000..8f5f048
--- /dev/null
@@ -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>.