[CS3190unix-list] reading diskettes / CDs
Berna Massingill
bmassing at cs.trinity.edu
Fri Apr 23 23:09:34 CDT 2004
To get access to a removable-medium device, you "mount" it. The
lab machines are set up so that regular (non-root) users can do
this for diskettes and CDs.
To access a diskette, put it in the drive and type "mount /mnt/floppy".
You then have access to the diskette through directory /mnt/floppy.
(E.g., "ls /mnt/floppy" will list the files/directories.) When you're
done, cd out of the /mnt/floppy directory and type "umount /mnt/floppy".
To access a CD, follow the same procedure but with directory /mnt/cdrom.
The names /mnt/floppy and /mnt/cdrom are defined in /etc/fstab. (So
they might be different on someone else's system, but you can look in
/etc/fstab to see what names to use.)
-- blm
More information about the CS3190unix-list
mailing list