home *** CD-ROM | disk | FTP | other *** search
/ 17 Bit Software 2: Collection B / 17Bit_Collection_B.iso / files / 2255.dms / in.adf / Docs / SCSIMounter.doc.pp / SCSIMounter.doc
Encoding:
Text File  |  1992-03-20  |  15.1 KB  |  471 lines

  1. SCSIMounter 1.2
  2. ===============
  3.  
  4. Removable media partition mounter for Kickstart 2.0 or higher.
  5.  
  6. See file 'SCSIMounter.guide' for an AmigaGuide version of this
  7. document.
  8.  
  9.  
  10. ------------------------------------------------------------------------
  11. Versions
  12. --------
  13.  
  14. 1.30 - MASK tooltype added
  15. 1.20 - Minor changes to the CLI interface. New tool type 'NOUNMOUNT'
  16. 1.10 - ReadArgs() CLI Interface added
  17. 1.04 - Now works with beta kickstarts (V 36)
  18.        Keyboard equivalents for everything (including list view)
  19.        Layout bug fixed
  20.        No funtional changes.
  21. 1.03 - Made more tolerant :-)
  22. 1.02 - Fix for gvpscsi.device (GVP Series II) added.
  23.  
  24.  
  25. ------------------------------------------------------------------------
  26. Disclaimer
  27. ----------
  28.  
  29. SCSIMounter may be freely distributed for non-commercial purposes only. 
  30. The entire risk as to the quality and performance of this program is 
  31. with you. 
  32.  
  33. The author assumes no responsibility or liability whatsoever with
  34. respect to your use or inability to use of this software.
  35.  
  36.  
  37. ------------------------------------------------------------------------
  38. Purpose
  39. -------
  40.  
  41. Most owners of removable media SCSI drives are stuck with the problem
  42. that their software doesn't handle disk changes correctly.
  43. For example, the current Commodore implementation doesn't mount the 
  44. partitions on a removable media SCSI drive (e.g. SyQuest or Ricoh)
  45. when there was no cartridge in the drive at boot time. 
  46.  
  47. Even worse, after another cartridge with a different Rigid Disk Block 
  48. (i.e. a different partition table) has been inserted, the system
  49. gets totally confused and reports read/write errors when trying
  50. to access the device which can lead to loss of important data on 
  51. the cartridge.
  52.  
  53. Until now, the only possibility to work around this problem was to
  54. reboot the system every time a new cartridge has been inserted.
  55.  
  56. SCSIMounter allows you to mount and unmount partitions without rebooting 
  57. the machine. It sports a nice 2.0-style point-and-click user interface
  58. that makes handling removable media a piece of cake.
  59.  
  60.  
  61. ------------------------------------------------------------------------
  62. Secondary use
  63. -------------
  64.  
  65. SCSIMounter can also be used to mount partitions that have intentionally
  66. not been mounted (e.g. the wb_1.3: partition on an A3000 when running 
  67. under 2.0). You don't have to create a mountlist for it! 
  68.  
  69.  
  70. ------------------------------------------------------------------------
  71. Requirements
  72. ------------
  73.  
  74. · Any Amiga with a SCSI host adaptor that supports the Commodore
  75.   RDB (Rigid Disk Block) and 'SCSI Direct' standards.
  76. · Kickstart 2.0 or higher (version 37.175 preferred)
  77.  
  78. The program has been tested on an A3000 with Commodore's scsi.device
  79. and on an A2500 with a Microbotics HardFrame (HardFrame.device) but
  80. I see no reason why it shouldn't work on any other host adaptor. 
  81.  
  82. ! Since there are so many different host adaptors with devices that behave
  83. ! totally different, I need to know your experiences. Please don't hesitate
  84. ! to contact me in case of a problem with your controller card. I'll be 
  85. ! glad to fix the problem and send you a revised version of SCSIMounter.
  86.  
  87. The program may be of no use for owners of certain GVP controllers 
  88. which support removable media correctly (Though not all GVP software 
  89. might do so).
  90.  
  91.  
  92. ------------------------------------------------------------------------
  93. Before you begin
  94. ----------------
  95.  
  96. First, determine the name of the device driver of your hard disk 
  97. controller card. 
  98.  
  99.     Examples of popular controllers and their devices:
  100.  
  101.     manufacturer/controller           device
  102.     --------------------------------------------------
  103.     Commodore A590/A2091/A3000        scsi.device
  104.     Old GVP                           scsidev.device
  105.     GVP Series II                     gvpscsi.device
  106.     Supra SupraDrive                  harddisk.device
  107.     Advanced Storage Systems Nexus    nexus.device
  108.     Microbotics HardFrame             HardFrame.device
  109.     ICD AdSCSI                        icddisk.device
  110.     IVS Trumpcard Professional        ivs_scsi.device
  111.     --------------------------------------------------
  112.  
  113. Click once one the SCSIMounter icon and select 'Information' from the
  114. 'Icons' menu.
  115.  
  116. Add or change the following tool type:
  117.  
  118.     DEVICE=Name_of_your_scsi_device_here
  119.  
  120. for example if you use a HardFrame controller write:
  121.  
  122.     DEVICE=HardFrame.device
  123.  
  124. Don't add path names here, only the name of the device is required.
  125. Take care to capitalize the device name correctly (exec device names 
  126. are case sensitive!)
  127.  
  128. NOTE
  129.  
  130. SCSIMounter will not work with the Commodore A2090(A) controller card
  131. because this product does not support Commodore's own 'SCSI direct' and
  132. 'RDB' standards properly.
  133.  
  134.  
  135. ------------------------------------------------------------------------
  136. Start SCSIMounter
  137. -----------------
  138.  
  139. SCSIMounter can be used either from Workbench or from the CLI.
  140.  
  141.  
  142. * Workbench use
  143.  
  144.   Double click on the SCSIMounter icon. After a short time, a window
  145.   with a listview and three buttons will appear. If the window doesn't
  146.   appear several things could have gone wrong:
  147.  
  148.   · Do you use Kickstart 2.0 or higher?
  149.   · Did you specify and spell the name of your device driver correctly?
  150.   · Does your host adaptor support RDB?
  151.   · Is there any memory left on your system?
  152.  
  153.   Requesters will try to tell you the cause if SCSIMounter fails to run.
  154.  
  155.  
  156. * CLI use
  157.  
  158.   Type 'SCSIMounter gui device Name_of_your_scsi_device'
  159.   example:
  160.  
  161.   1> SCSIMounter gui device HardFrame.device
  162.  
  163.   If the 'gui' argument is not given, SCSIMounter will be started
  164.   in command line mode as described later in this document.
  165.  
  166.  
  167. ------------------------------------------------------------------------
  168. Panels
  169. ------
  170.  
  171. 1) Main panel
  172.  
  173.    The main panels shows all devices connected to the SCSI port with
  174.    information about their capacity and current status. The currently 
  175.    selected unit is higlighted.
  176.  
  177.    UNIT - This is the unit number of a SCSI device.
  178.           Up to seven devices can be connected to the SCSI bus
  179.  
  180.    DRIVE TYPE - Manufacturer and product specification
  181.  
  182.    REV. - Revision of Hardware, Firmware and ROM of device
  183.  
  184.    CAP. - Device capacity in Megabytes or Kilobytes
  185.  
  186.    STATUS - Current Status of device. If the device is busy or
  187.             not accessable due to the lack of media (if it's a
  188.             removable media drive) the status will be set to
  189.             'not ready'
  190.  
  191.    There are three 'action buttons' present:
  192.  
  193.    QUIT - Quit SCSIMounter
  194.  
  195.    UPDATE - Re-scan SCSI bus and update display
  196.  
  197.    MOUNT - Mount partitions on selected drive
  198.  
  199.    For every action buttons there's also a menu item with identical
  200.    function. All buttons have keyboard equivalents (marked with an
  201.    underscore in the label text). The listview can be scrolled using
  202.    the arrow up and arrow down keys on your keyboard rather than using
  203.    the mouse.
  204.  
  205.  
  206. 2) 'Partition Selector' panel
  207.  
  208.    This panel shows all available partitions and allows you to 
  209.    individually mount them.
  210.  
  211.    CHECKGADGETS - Determine if the particular partition should 
  212.                   be mounted or not.
  213.  
  214.                   checked: mount corresponding partition
  215.                   not checked: don't mount specified partition
  216.  
  217.  
  218.    Other partition Information on the partition selector -
  219.  
  220.           Number of Partition == keyboard equivalent
  221.  
  222.           Device name of partitions
  223.  
  224.           Size of partitions
  225.  
  226.           Dostype (FileSystem) of partition
  227.  
  228.              Examples of dostypes:
  229.  
  230.              DOS0 - Old filesystem partition
  231.              DOS1 - FastFileSystem partition
  232.              UNI1 - Unix boot partition
  233.              RESV - Reserved partition
  234.  
  235.    CANCEL - Go back to main panel, don't mount anything
  236.  
  237.    MOUNT - Unmount all currently mounted partitions on the selected
  238.            device and mount the new partitions (if any).
  239.  
  240.    UNMOUNT ALL - If this gadget is checked, SCSIMounter will try
  241.                  to unmount all partitions currently mounted on the
  242.                  selected unit. If there are locks on this device
  243.                  there will be a 'BUSY' icon on your Workbench screen.
  244.  
  245.                  WARNING:
  246.  
  247.                  This option can be dangerous if used with non-removable
  248.                  devices because it will unmount all partitions 
  249.                  including your boot partition (SYS:) forcing you to 
  250.                  reboot your computer. Use it with care!
  251.  
  252.  
  253. ------------------------------------------------------------------------
  254. Operation
  255. ---------
  256.  
  257. SCSIMounter is pretty self-explanatory. Nevertheless, here are some 
  258. basic operation procedures.
  259.  
  260. * Mount a new cartridge
  261.  
  262.   · Click on the listview entry of the desired device. (Make sure its
  263.     status is 'ready')
  264.  
  265.   · Click on the 'Mount' button
  266.  
  267.     The 'select partitions' panel will ask you which partitions to mount
  268.  
  269.   · Chosse the partitions you would like to mount
  270.  
  271.   · Make sure that the 'Unmount all' gadget is checked
  272.  
  273.   · Click on 'Mount' button on the partition selector panel
  274.  
  275.     SCSIMounter will automatically unmount all existing partitions
  276.     on the device and mount the new partitions.
  277.  
  278.  
  279. * Add a SCSI drive that was not present at boot time
  280.  
  281.   · Click on the 'Update' button
  282.  
  283.     The new drive's name and other information should appear in the 
  284.     listview
  285.  
  286.   · Click on the corresponding entry
  287.   · Click on the 'Mount' button
  288.  
  289.     and so on...
  290.  
  291.  
  292. * Mount a partition that has the automount flag not set
  293.  
  294.   · Click on the listview entry of the desired device. (Make sure its
  295.     status is 'ready')
  296.  
  297.   · Click on the 'Mount' button
  298.  
  299.   · On the partition selector panel, make sure the 'unmount all' check
  300.     gadget is *not* checked
  301.  
  302.   · Select 'Unselect All' from the 'Edit' menu or press 'Rt. Amiga-U'
  303.  
  304.   · Click on the check gadget of the partition(s) to mount
  305.  
  306.   · Click on the 'Mount' gadget or press 'Rt. Amiga-M'
  307.  
  308.  
  309. WARNING !!!
  310.  
  311.     Don't unmount your boot partition (where you system files live) or
  312.     you'll soon be forced to reboot you machine...
  313.  
  314.  
  315. ------------------------------------------------------------------------
  316. Keyboard Equivalents
  317. --------------------
  318.  
  319. * Requesters
  320.  
  321.   gadget         keystroke activation     menu shortcut
  322.   -------------------------------------------------------
  323.   OK             O                        Rt. Amiga-O 
  324.   Cancel         C                        Rt. Amiga-C
  325.  
  326.  
  327. * Main window & Project menu
  328.  
  329.   gadget         keystroke activation     menu shortcut
  330.   -------------------------------------------------------
  331.   About          none                     Rt. Amiga-A
  332.   Mount          M                        Rt. Amiga-M
  333.   Update         U                        Rt. Amiga-U
  334.   Quit           Q                        Rt. Amiga-Q
  335.   Listview up    Arrowkey up              none
  336.   Listview dowm  Arrowkey down            none
  337.  
  338.  
  339. * Partition Selector
  340.  
  341.   gadget         keystroke activation     menu shortcut
  342.   -------------------------------------------------------
  343.   Mount          M                        Rt. Amiga-M
  344.   Cancel         C                        Rt. Amiga-C
  345.   Select All     none                     Rt. Amiga-A
  346.   Unselect All   none                     Rt. Amiga-U
  347.   Partitions     0-9                      none
  348.  
  349.  
  350. ------------------------------------------------------------------------
  351. Tool Types
  352. ----------
  353.  
  354. The following three tool types are supported:
  355.  
  356. DEVICE    - See above
  357.  
  358. NOUNMOUNT - If this tool type is set, the 'Unmount All' gadget is not 
  359.             checked by default and other partitions on the same unit are 
  360.             not removed. This option is useful if you don't use
  361.             SCSIMounter with removable media. Dont set this tool type
  362.             for removable media!
  363.  
  364. MASK      - Default Mask. If not specified, the mask in the RDB will be 
  365.             used. 
  366.  
  367. ------------------------------------------------------------------------
  368. Command Line Use
  369. ----------------
  370.  
  371. For the advanced user, SCSIMounter can be used in command line mode 
  372. by specifying all required arguments on the command line. In CLI mode, 
  373. it is not possible to individually select partitions. All partitions on 
  374. the particular unit will be mounted.
  375.  
  376. SCSIMounter supports 2.0-style ReadArgs() CLI options. The command 
  377. template looks like that:
  378.  
  379. D=DEVICE/K,U=UNIT/N,N=NOUNMOUNT/S,GUI/S,QUIET/S
  380.  
  381. DEVICE    - Specifies the device used for you hard drive controller
  382.             e.g. scsi.device.
  383.             If this argument is left out, DEVICE defaults to
  384.             'scsi.device'.
  385.  
  386. UNIT      - Specifies the SCSI unit number of the drive to be mounted.
  387.             e.g. 6
  388.             This argument is not required if the GUI option is used.
  389.  
  390. NOUNMOUNT - If this switch is set, SCSIMounter will not unmount old
  391.             partitions. It basically works the same as the 'Unmount All'
  392.             check gadget in the 'partition selector' panel. If you're
  393.             mounting removable cartridges, use this option with care!
  394.  
  395. GUI       - If this keyword is used, SCSIMounter will open its
  396.             'unit selector' panel as if it was started from Workbench.
  397.             
  398. QUIET     - Don't output information on selected unit and mounted
  399.             partition but output fatal error messages. Ideal for use 
  400.             in shell scripts
  401.  
  402. Examples:
  403.  
  404. 1> scsimounter device HardFrame.device unit 6 quiet
  405.  
  406. (mounts all partitions on SCSI unit 6 connected to a HardFrame 
  407. controller and is quiet about device and partitions)
  408.  
  409. 2> scsimounter d u 3
  410. Unit Drive Type                  Rev.    Cap.  Status
  411. 3    SyQuest   SQ555             FGJ     43 M  ready
  412. Unmounting device: sq0                              
  413. Mounting device  : sq0
  414.  
  415. (mounts all partitions on SCSI unit 3 connected to a Commodore
  416. A590/A2091/A3091 controller and unmounts old partitions on the
  417. same unit. Outputs full device and partition information)
  418.  
  419.  
  420. ------------------------------------------------------------------------
  421. Known Problems
  422. --------------
  423.  
  424. · The program only removes the dos entries for the volumes and devices.
  425.   It doesn't remove the filesystem process and associated memory 
  426.   allocations. Apparently the current FS doesn't support the ACTION_DIE
  427.   packet. I'm still looking for a legal way to solve this problem.
  428.  
  429.  
  430. ------------------------------------------------------------------------
  431. Credits
  432. -------
  433.  
  434. Author: Martin A. Blatter
  435.         Pfaffächerstr. 59
  436.         CH-8913 Ottenbach
  437.         Switzerland
  438.  
  439. Work address: Relog AG
  440.               Attn: Martin A. Blatter
  441.               Bruggerweg 2
  442.               CH-8037 Zurich
  443.               Switzerland
  444.  
  445.               (Relog AG develops high quality software for the
  446.               Amiga computer. Watch out for 'TopScan', 'FontDesigner'
  447.               and 'Amiga Virtual Memory'!)
  448.  
  449. E-Mail: blatter@amiga.physik.unizh.ch
  450.         cbmvax!cbmehq!cbmswi!zethos!blatter
  451.  
  452. Bug reports or suggestions are welcome. If you find this program useful,
  453. feel free to send a donation to the above address.
  454.  
  455. This program uses Relog's ITools(tm), the object-oriented user interface 
  456. system (c) 1991 by Christian A. Weber and Relog AG.
  457.  
  458. Special thanks to  · Christian A. Weber
  459.                    · Peter Simeon for the SCSI inquiry code
  460.                    · Michael-Wolfgang Hohmann for the AmigaGuide
  461.                      version of the manual.
  462.  
  463. ------------------------------------------------------------------------
  464. Trademarks
  465. ----------
  466.  
  467. All trademarked product and company names used herein are used for
  468. identification purposes only. No infringement of trademarks is intended.
  469. Trademarks remain property of the trademark holder.
  470.  
  471.