Using removable media (CDs, floppy disks)I don't use removable media that much, and tend to forget the incantations required under various Unices. This is a `cheat sheet'.Floppy disksFormatting a floppy diskYou can't write on a floppy unless it has been low-level formatted.
Making a boot floppyThis is covered in the install pages. Note that the floppy should already be low-level formatted.Making a DOS floppy on LinuxYou can move files from Unix to Windows by putting them on a DOS floppy, using the `mtools' package. If you want to copy 'foo.txt', you might do:% mformat a: # put a DOS filesystem on a low-level-formatted floppy % mcopy foo.txt a: # do the copy % mdir a: # look at what's on the floppy Using a floppy diskOn Solaris, you need to do `volcheck' after you've put in a new floppy (or CD), and `eject' at the end. Doing 'find /vol print' will give you a notion of what it thinks is there.On Solaris, to format a floppy, just do `fdformat' (after the `volcheck'). On Linux, you just pop floppies in and out of the drive (no special commands needed). Ejecting a floppy diskUnder Solaris, you should type `eject'. Under Linux, just eject the thing.CD-ROMsPlaying music off of CDsToDoUsing CD-ROMs (for data)Under HP-UX, it's mostly: `sudo mount /dev/cdrom /cdrom'Under Solaris, you do `volcheck' (to make it search for removable media have come/gone...), then `cd /cdrom/<something>'. Doing 'find /vol -print' will give some notion of what it thinks is around. |