home *** CD-ROM | disk | FTP | other *** search
/ rtsi.com / 2014.01.www.rtsi.com.tar / www.rtsi.com / OS9 / OSK / CMDS / mtools_3.6.src.lzh / MTOOLS_3.6 / SCRIPTS / add_disk next >
Text File  |  1997-11-12  |  1KB  |  30 lines

  1. #!/bin/sh
  2. #
  3. # add-disk
  4. # Contributed by Tim Hoogasian (thoogasi@us.oracle.com)
  5. #
  6. #       Runs the commands to make Solaris locate a new disk that
  7. #       has been plugged in after the system was booted.
  8. #
  9.  
  10. # This script can be used on a Solaris system to add a SCSI disk
  11. # without needing to reboot/reconfigure the system.  It's short and
  12. # simple, but it's quite handy -- and it saves you from having to
  13. # remember the individual commands.... :-)
  14.  
  15. # You might also want to use the format.dat file if you don't have one
  16. # yet.  It is in this same mtools/scripts directory, and should be
  17. # stored in /etc, or appended to the existing format.dat file
  18.  
  19. # All you have to do is attach the Jaz drive, check to make sure there
  20. # isn't SCSI address conflict (Zip and Jaz media tend to default to ID
  21. # number 5) power it up, run "add-disk", insert the media, and GO!
  22.  
  23.  
  24. /usr/sbin/drvconfig
  25. /usr/sbin/devlinks
  26. /usr/sbin/disks                 # or /usr/sbin/tapes for tapes
  27. /usr/ucb/ucblinks               # Compatibility links
  28.  
  29. exit 0
  30.