If you aren't sure, /dev/cdrom is a
good guess because the install process should have created this symbolic
link on the system. If that fails, try the different IDE devices:
/dev/hdc, etc. You should see a message like this: mount: block device
/dev/hdc is write-protected, mounting read-only.
The -t option specifies the type of the filesystem, in this case iso9660.
Most CDs are iso9660. The next argument is the name of the device to
mount, and the final argument is the mount point. There are many other
arguments for mount; see the manual page for details.
Once a CD is mounted, you may find that your drive tray will not open. You
must unmount the CD before removing it.
ls /cdrom
Confirms that /cdrom now contains whatever is on the CD in your drive.
mount
Displays the list of filesystems again; notice that your CD drive is now
mounted.
umount /cdrom
This unmounts the CD. It's now safe to remove the CD from the drive.
Notice that the command is umount with no ``n,'' even though it's used to
unmount the filesystem.
exit
Don't leave yourself logged on as root.
Pages:
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172