Mounting and Unmounting CD-ROM and Floppy-Based Filesystems

Now that you’ve had some experience mounting different foreign filesystems, it should be a snap moving on to CD-ROMs and floppy drives. CD-ROMs usually are mounted as CD9660 filesystems, but floppies generally are either FFS (the FreeBSD standard) or MSDOS.

Mounting CDs and Floppies

For CD-ROMs, the main trick is to determine the device name. IDE drives will be of the form /dev/acd0c, SCSI drives will be of the form /dev/cd0c, and miscellaneous types of nonstandard drives have other prefixes. As for the suffix, use c to indicate that you are addressing the entire disk in “dedicated” mode. Here’s an example:

# mount_cd9660 /dev/acd0c /cdrom

Get FreeBSD6 Unleashed now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.