HOW TO USE A FLOPPY 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
Floppy
Drive Configuration Section
of the Shell Configuration page.
MOUNTING A FLOPPY DISK
- We need to set up a directory before we
can mount the floppy, so let's go to the
OS root directory by entering:
cd /
- Now create the /floppy directory by entering:
mkdir /floppy
- This step is optional but helps us know if
the floppy is mounted. To create this file,
let's first enter the following:
cd /floppy
Now enter:
touch Floppy-NOT-mounted-mflop.txt
This creates a file that will show up if the
floppy disk is not mounted.
- Make sure the floppy disk is in
the drive and enter:
mount -t msdos /dev/fd0 /floppy
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 floppy disk is now mounted.
To test, enter:
ls -lt /floppy
This should give us a listing of the files
on the floppy disk.
COPY OR MOVE FILES
- If we want to copy files to this floppy,
we could do something like this:
cp -p /some/directory/on/hard/drive/somefile.conf /floppy
- If we want to move files from the floppy drive
to the hard disk:
mv /floppy/somefile.txt /some/other/hd/dir/
- For other commands, enter:
man cp
man mv
man rm
UNMOUNT FLOPPY DISK
- Once we are finished using the floppy disk,
before we remove it, enter:
umount /floppy
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 Floppy Drive to Read or Copy Files from Floppy Disk, Configuration, Linux, Unix, Nix, Hard Disks, Floppy, Keyboard, Cheat Sheet for FreeBSD, Configure, Options, Configuration, Howto, How To, FreeBSD
|
|
|