copy files to a DOS floppy ?

I used to be able to use a doscp
command on my old linux box, but
I just installed a minimal RH 6.0
system, and this command is no longer
available.  What one package do I have to install to get this functionality?
doscp, dosdir, etc.
cwillisoAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

billwccCommented:
Hey,

Try this:  Assuming you have kernel or module support for the msdos filesystem,
and assuming that a mount point like
/mnt/floppy/ exists, run as root:

mount -t msdos /dev/fd0 /mnt/floppy

Then, just use the unix cp command to
copy files to /mnt/floppy.  Filenames will be truncated to the DOS "8.3" limit.

Then, get out of /mnt/floppy, and run:

umount /mnt/floppy

You can't umount the current directory,
in other words.  Take out your disk and it will have the files on it.  The mount man page is worth looking at too.
It explains all this in large detail.

Hope this helps :^)

Bill Cunningham
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
dantespCommented:
Assuming that you also installed the msdos compatibility module, test this:

m<doscommand> <source> <destination>

where:
m<doscommand> is any basic dos command. Note that it is preceded (in one word) by the letter "m". For example:

mcopy a:\homepage.html /usr/local/bin/html/afile.html
mdir a:

<source> and <destination> follows the syntax of dos (uses a: b: c: and "\") and unix (directory and file syntax, and "/")

Try them. If these commands do not work, install the dos compatibility module.
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Linux

From novice to tech pro — start learning today.