2020-07-09 18:28:17 +00:00
|
|
|
|
!! ------ THIS FILE IS AUTO_GENERATED! DO NOT MANUALLY UPDATE!!!
|
|
|
|
|
!! ------ The native file is rasctl.1. Re-run 'make docs' after updating
|
|
|
|
|
|
|
|
|
|
|
2021-06-23 00:30:33 +00:00
|
|
|
|
rascsi(1) General Commands Manual rascsi(1)
|
2020-07-09 18:21:15 +00:00
|
|
|
|
|
|
|
|
|
NAME
|
|
|
|
|
rasctl - Sends management commands to the rascsi process
|
|
|
|
|
|
|
|
|
|
SYNOPSIS
|
|
|
|
|
rasctl -l | -i ID [-u UNIT] [-c CMD] [-t TYPE] [-f FILE]
|
|
|
|
|
|
|
|
|
|
DESCRIPTION
|
2021-06-23 00:30:33 +00:00
|
|
|
|
rasctl Sends commands to the rascsi process to make configuration ad‐
|
|
|
|
|
justments at runtime or to check the status of the devices.
|
2020-07-09 18:21:15 +00:00
|
|
|
|
|
|
|
|
|
Either the -i or -l option should be specified at one time. Not both.
|
|
|
|
|
|
|
|
|
|
You do NOT need root privileges to use rasctl.
|
|
|
|
|
|
2021-06-23 00:30:33 +00:00
|
|
|
|
Note: The command and type arguments are case insensitive. Only the
|
|
|
|
|
first letter of the command/type is evaluated by the tool.
|
2020-07-09 18:21:15 +00:00
|
|
|
|
|
|
|
|
|
OPTIONS
|
2021-06-23 00:30:33 +00:00
|
|
|
|
-l List all of the devices that are currently being emulated by
|
|
|
|
|
RaSCSI, as well as their current status.
|
2020-07-09 18:21:15 +00:00
|
|
|
|
|
|
|
|
|
-i ID ID is the SCSI ID that you want to control. (0-7)
|
|
|
|
|
|
|
|
|
|
-u UNIT
|
2021-06-23 00:30:33 +00:00
|
|
|
|
Unit number (0 or 1). This will default to 0. This option is
|
|
|
|
|
only used when there are multiple SCSI devices on a shared SCSI
|
|
|
|
|
controller. (This is not common)
|
2020-07-09 18:21:15 +00:00
|
|
|
|
|
|
|
|
|
-c CMD Command is the operation being requested. options are:
|
|
|
|
|
attach: attach disk
|
|
|
|
|
detach: detach disk
|
|
|
|
|
insert: insert media (Magneto-Optical and CD only)
|
|
|
|
|
eject: eject media (Magneto-Optical and CD only)
|
|
|
|
|
protect: Write protect the media (Magneto-Optical only)
|
|
|
|
|
|
2021-06-23 00:30:33 +00:00
|
|
|
|
When the command is omitted, rasctl will default to the 'attach'
|
|
|
|
|
command.
|
2020-07-09 18:21:15 +00:00
|
|
|
|
|
|
|
|
|
-t TYPE
|
2021-06-23 00:30:33 +00:00
|
|
|
|
Specifies the type of disk. If this disagrees with the file ex‐
|
|
|
|
|
tension of the specified image, the TYPE argument is ignored.
|
|
|
|
|
Available drive types are:
|
2020-07-09 18:21:15 +00:00
|
|
|
|
hd: Hard disk (SCSI or SASI)
|
|
|
|
|
mo: Magneto-Optical disk)
|
|
|
|
|
cd: CD-ROM
|
2021-06-23 00:30:33 +00:00
|
|
|
|
bridge: Bridge device (This is only applicable to the Sharp
|
|
|
|
|
X68000)
|
2020-07-09 18:21:15 +00:00
|
|
|
|
|
|
|
|
|
-f FILE
|
2021-06-23 00:30:33 +00:00
|
|
|
|
Path to the disk image file. See the rascsi(1) man page for al‐
|
|
|
|
|
lowable file types.
|
2020-07-09 18:21:15 +00:00
|
|
|
|
|
|
|
|
|
EXAMPLES
|
2021-06-23 00:30:33 +00:00
|
|
|
|
Show a listing of all of the SCSI devices and their current status.
|
2020-07-09 18:21:15 +00:00
|
|
|
|
rasctl -l
|
|
|
|
|
|
|
|
|
|
Example output:
|
|
|
|
|
+----+----+------+-------------------------------------
|
|
|
|
|
| ID | UN | TYPE | DEVICE STATUS
|
|
|
|
|
+----+----+------+-------------------------------------
|
|
|
|
|
| 0 | 1 | SCHD | /home/pi/harddisk.hda
|
|
|
|
|
+----+----+------+-------------------------------------
|
|
|
|
|
|
2021-06-23 00:30:33 +00:00
|
|
|
|
Request the RaSCSI process to attach a disk (assumed) to SCSI ID 0 with
|
|
|
|
|
the contents of the file system image "HDIIMAGE0.HDS".
|
2020-07-09 18:21:15 +00:00
|
|
|
|
rasctl -i 0 -f HDIIMAGE0.HDS
|
|
|
|
|
|
|
|
|
|
SEE ALSO
|
2020-10-19 12:31:06 +00:00
|
|
|
|
rascsi(1) scsimon(1)
|
2020-07-09 18:21:15 +00:00
|
|
|
|
|
2021-06-23 00:30:33 +00:00
|
|
|
|
Full documentation is available at:
|
|
|
|
|
<https://www.github.com/akuker/RASCSI/wiki/>
|
2020-07-09 18:21:15 +00:00
|
|
|
|
|
2021-06-23 00:30:33 +00:00
|
|
|
|
rascsi(1)
|