aboutsummaryrefslogtreecommitdiffstats
path: root/unload.man
diff options
context:
space:
mode:
Diffstat (limited to 'unload.man')
-rw-r--r--unload.man27
1 files changed, 27 insertions, 0 deletions
diff --git a/unload.man b/unload.man
new file mode 100644
index 0000000..ff23984
--- /dev/null
+++ b/unload.man
@@ -0,0 +1,27 @@
+.TH unload 8
+.SH NAME
+unload - load/unload scsi media
+.SH SYNOPSIS
+.B load <device>
+.B unload <device>
+.SH DESCRIPTION
+The unload program can be used to unload (eject) and load any
+removeable SCSI media. It takes a device as argument, unlocks it and
+sends a START STOP command. Without argument it uses the compiled-in
+default device (there is a #define in the source to change this it you
+want). It unloads if the program name is "unload", and loads else.
+.P
+unload can eject everything: CD-ROM, MOD, ZIP, whatelse. Even for tape
+libraries this is useful: Most (all?) of them load the next tape in
+order if you send a unload command to the tape device.
+.P
+It requires root permissions, as the SCSI_IOCTL_SEND_COMMAND ioctl is
+allowed for root only (for obvious reasons).
+.SH WARNING
+It is a quick & dirty hack. It does no sanity checks. It does not ask
+stupid questions. It simply does what you have asked for. You can
+eject mounted media with it, so use it with care. You have been warned!
+.SH AUTHOR
+anonymous :-)
+.SH COPYRIGHT
+This tool is public domain.