University of California at Berkeley Department of Electrical Engineering & Computer Science Instructional Systems Support Group May 1997 /usr/pub/Solaris.drives The PC's running Solaris in 277 Soda and 330 Soda have floppy and CD-ROM drives available for the users. Floppy Disks ------------ The floppy drive uses both double-density (740 KByte) and high-density (1.44 MByte) 3.5" floppy disks; they can be purchased at most computer and electronics stores. The floppy drive reads both Solaris formatted and MS-DOS formatted disks; this document is geared toward MS-DOS users. The drive does not read Macintosh formatted disks. To insert a floppy disk, hold it horizontally with the label side up and place it into the floppy disk drive. You will hear a click and see the eject button pop up. Please do not force your disk into the drive. The drive is now ready to use. Solaris has provided a few simple commands to read, write, and format a floppy disk. To format an MS-DOS floppy under Solaris, type the following command: % fdformat -d /vold/dev/rdiskette0 The fdformat manual page has several other options which may be useful. A floppy can be mounted using the programs 'volcheck' and 'eject'. The following is a sample session to demonstrate the use of floppy drive, please read the 'volcheck' and 'eject' manpages for more information. This sample session uses a diskette has already been formatted and has some MS-DOS files on it. % volcheck % cd /floppy % ls floppy0 no_name % cd no_name % ls atapi_cd.sys command.com mailbox.txt tmp/ autoexec.bat config.sys report.doc % cp report.doc ~/documents/ % rm mailbox.txt % rmdir tmp % eject /vol/dev/rdiskette0/no_name: Device busy % cd / % eject /vol/dev/rdiskette0/no_name can now be manually ejected The 'volcheck' program checks to see if there is a floppy present and mounts it under /floppy/[DOS disk label]. Since the above disk had no label, it mounted it under /floppy/no_name. Once the disk is mounted, it is accessed as a regular UNIX filesystem. Finally, the floppy should be ejected using 'eject' to write any unsaved data on the floppy and prevent data loss. If you get the "Device busy" error, try changing directory to /, closing any programs you left running that were either started while you were accessing the floppy or are reading in files on the floppy, and typing 'eject' again. While the disk drive is being accessed for reading or writing, the light in the lower left-hand corner will flash to signify this. Please do not attempt to eject the floppy disk while this light is flashing; you may damage your disk and the drive itself. Once the disk is ejected using 'eject', press the button on the right-hand side of the floppy drive to manually eject the floppy disk from the drive. CD-ROM drives ------------- To insert a CD-ROM, press the lower right-hand button on the CD drive unit until the CD drawer opens. Place your CD label-up within the CD drawer. Make sure the CD is level and completely within the drawer, then press the left-hand button again to close the drawer. The drive is now ready to use. Once the CD-ROM is inserted, Solaris will automatically mount the cdrom under the directory /cdrom. The contents of the CD-ROM can then be read using regular UNIX commands. Once finished, the CD-ROM can be ejected using the 'eject' command. The following is a short sample session on using a CD-ROM. The session assumes that the CD-ROM has already been inserted into the drive. % cd /cdrom % ls cdrom0@ mech2/ % cd mech2 _setup.001* directx/ instmap1.bwd* mw2help.gid* smackw32.dll* _setup.003* dset.exe* keating/ mw2info.txt* sp16/ _setup.005* dsetup16.dll* license.txt* mw2net.cfg* start.exe* about.fts* en02star.bwd* mech2/ mystique.par* tech.hlp* about.gid* en03star.bwd* mek/ netlayer.dll* tmp.out* archjf.mw2* en06star.bwd* mw2.adv* readme.txt* wail32.dll* button.wav* eregreg2.dll* mw2.phx* setup.bmp* % cp button.wav ~/sounds/ % cd / % eject The last 'eject' command should open the drawer, at which time you can retrieve your CD-ROM. If you get the 'Device busy' error, try following the same steps for solving this error as if you were trying to access a floppy (see the above section on floppy drives). The CD-ROM drive will not eject the CD-ROM in response to pushing the left-hand button if the CD-ROM has not been unmounted by using the 'eject' command. If you have any questions or problems regarding the floppy disk or CD-ROM drive, please send email to root@cory.EECS.Berkeley.EDU with a clear description of your situation. EECS Instructional & Electronics Support Group root@cory.eecs.berkeley.edu