HOW TO USE A CD-ROM DRIVE WITH FREEBSD
ASSUMPTIONS:
You have already installed FreeBSD. If not, then
click here:
How to Install FreeBSD
NOTE WELL:
If you are coming from a Windows background, it is
important to note that in FreeBSD / Unix / Linux,
a removable drive must be 'mounted' before it can
be accessed. This 'HowTo' explains this
process.
Shortcuts or 'aliases' can be configured so that
the mounting process is streamlined. To find
out more, go to the
CD-ROM
Drive Configuration Section
of the Shell Configuration page.
MOUNTING A CD-ROM DISK
- We need to set up a directory before we
can mount the CD, so let's go to the
OS root directory by entering:
cd /
- Now create the /cdrom directory by entering:
mkdir /cdrom
- This step is optional but helps us know if
a CD-ROM disk is mounted. To create this file,
let's first enter the following:
cd /cdrom
Now enter:
touch CDROM-NOT-mounted-mcd.txt
This creates a file that will show up if the
CD-ROM disk is not mounted.
- Make sure the CD-ROM disk is in
the drive and enter:
mount -t cd9660 /dev/acd0c /cdrom
Note that this is assuming that the disk is
MS-DOS formatted (Windows). For other
formats and options enter:
man mount
READ A DIRECTORY LISTING
- The CD-ROM disk is now mounted.
To test, enter:
ls -lt /cdrom
This should give us a listing of the files
on the CD.
COPY OR MOVE FILES
- If we want to copy files from this CD-ROM,
we could do something like this:
cp -p /cdrom/somefile.conf /some/directory/on/hard/drive/
- For other commands, enter:
man cp
man mv
man rm
UNMOUNT CD-ROM DISK
- Once we are finished using the CD-ROM disk,
before we remove it, enter:
umount /cdrom
Here are some other FreeBSD related links:
How to Install FreeBSD
Shell Configuration
FreeBSD Device List
Hardware
Burn-In Test Using FreeBSD
FreeBSD
Commands Cheat Sheet
'make
install' fails on FreeBSD
The
FreeBSD 'Handbook' online
Search
for Answers to Questions about FreeBSD
How
to Install NTP (Network Time Protocol) software on FreeBSD
How
to Install Samba file server software on FreeBSD
Mounting
and Using the Floppy Drive in FreeBSD
Mounting
and Using the CD-ROM Drive in FreeBSD
How to Find or Search for a Directory or a file
How to Preserve the Date and Time Stamp When Copying Files
How to Copy Files, and Directories recursively in FreeBSD / unix
How To Fix The 'Read Only File System' Problem When rc.conf is Corrupted on Freebsd
Random Passwords Generator
URL Decoder / Link Maker
AT YOUR OWN RISK: These instructions have no guarantee or
warrantee of fitness for any purpose whatsoever--and none
shall be implied or inferred. If you use these
and incur any kind of damage--it is your responsibility.
FreeBSD Mounting CDROM Drive to Read or Copy Files from CD Disk, Configuration, Linux, Unix, Nix, Hard Disks, CD, Keyboard, Cheat Sheet for FreeBSD, Configure, Options, Configuration, Howto, How To, FreeBSD
|
|
|