diff options
-rw-r--r-- | extras/floppy/Makefile | 4 | ||||
-rw-r--r-- | extras/floppy/create_floppy_devices.8 | 35 |
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>. |