next up previous contents
Next: About this document ... Up: Transferring files Previous: ftp: File Transfer Protocol   Contents

Floppy, Zip and CD-ROM disks

MS-DOS formatted floppy disks can be read on our Linux workstations using the mtools package, a set of commands which include mcopy, mcd, mdir, and mdel. These commands work much like the MS-DOS filesystem commands; mcopy a:/biblio.tgz biblio.tgz copies the file biblio.tgz from the ``A:'' floppy drive to your current directory. A Zip drive, if present, can be accessed with mtools as if it were the ``Z:'' drive. Note that ASCII-encoded files from any MSDOS machine have both a carriage return and a linefeed at the end of every line, instead of just a linefeed. mcopy will not remove (or add) this extra carriage return by default, which can confuse programs that deal with text files (such as TEX). If you are transferring purely text files, you should use the -t option to translate CR-LF to LF: mcopy -t a:/biblio.tex biblio.tex.

User also can mount /floppy, /zip, and/or /cdrom. Using this method, insert the floppy, the zip, or the CD-ROM into the Linux workstation and mount /floppy, /zip, or /cdrom. You should be able to use Unix commands to copy, delete, and read those files.

MacOS HFS (but not HFS+) disks can also be read on the Linux workstations. disks using the hfsutils package. The hfsutils package has two different means of operation. One is similar to the way mtools works; there is a set of commands which include hcopy, hdir, and hcd. The easier way to use hfsutils, however, is to use the xhfs client for X windows. Unlike mtools, the disk that you are operating on needs to be mounted using xhfs or hmount first; for a floppy, the device is /dev/fd0. For the most part, the xhfs controls should be self-explanatory, but if you become confused, man pages are installed on the system for both xhfs, the whole hfsutils package, and the individual command-line programs such as hcopy.

We also have a number of Macintoshes and Windows 2000/XP workstations available which can read 3.5" floppies and Zip disks. For further information on selected topics, we recommend the following books to learn more about Unix and some of the common packages available. If you have suggestions for additional books that should be on this list, please contact the system administrators.

Abrahams, Paul W. and Bruce R. Larson. 1997. Unix for the Impatient, 2nd. Ed. Reading: Addison-Wesley.

Hekman, Jessica, et al. 1999. Linux in a Nutshell, 2nd. Ed. Sebastopol, CA: O'Reilly and Associates.

Both these books are good general introductions to Unix. While the second book is written specifically for Linux, most of the material in it is applicable to other Unix operating systems.

Quercia, Valerie and Tim O'Reilly. 1993. Volume 3: X Window System User's Guide. Sebastopol, CA: O'Reilly and Associates.

This volume is the basic user guide for the X Window System. While written for X11R5, almost all of the material is still valid for later revisions of X.

Knuth, Donald E. 1989. The TEXbook. Reading: Addison-Wesley.

Lamport, Leslie. 1994. LATEX: A Document Preparation System, 2nd Ed. Reading: Addison-Wesley.

Donald Knuth is the inventor of the TEX typesetting system, which he wrote to typeset his magnum opus, The Art of Computer Programming. Leslie Lamport then developed LATEX as a higher-level command set for use with TEX. This document was typeset using LATEX2e.

Kernighan, Brian W. and Dennis M. Ritchie. 1988. The C Programming Language, 2nd Ed. Englewood Cliffs: Prentice-Hall.

Stroustrup, Bjarne. 1997. The C++ Programming Language, 3rd Ed. Reading: Addison-Wesley.

These two texts are the definitive references for the C and C++ programming languages. Be sure to get the editions listed for each of these books, since there are many important changes from prior editions.

DuBois, Paul. 1995. Using csh and tcsh. Sebastopol, CA: O'Reilly and Associates.

Wall, Larry, Tom Christiansen, and Randall L. Schwartz. 1996. Programming Perl, 2nd Ed. Sebastopol, CA: O'Reilly and Associates.

The IMA uses tcsh as our standard interactive shell, and small scripts may be written with it. However, if you plan to write scripts of any length, we suggest you check out the Berkeley shell (sh or bash), or Perl, both of which are superior scripting languages to tcsh.

Geist, Al, Adam Beguelin, Jack Dongarra, Weiching Jiang, Robert Manchek, and Vaidy Sunderam. 1994. PVM: Parallel Virtual Machine -- A User's Guide and Tutorial for Networked Parallel Computing. Cambridge, MA: MIT Press.

Gropp, William, Ewing Lusk, and Anthony Skjellum. 1996. Using MPI: Portable Parallel Programming with the Message Passing Interface. Cambridge, MA: MIT Press.

MPI and PVM are packages to make portable parallel programming possible. MPI is the newer and currently more popular system, but there is still a lot of code in existence which uses PVM. Both packages work with Fortran or C/C++.


next up previous contents
Next: About this document ... Up: Transferring files Previous: ftp: File Transfer Protocol   Contents
Kumsup Lee 2005-07-08