From: Ken Corey - Operator (kenc@sol)
Date: 06/11/92


From: kenc@sol (Ken Corey - Operator)
Subject: Re: mtools question
Date: 12 Jun 1992 04:08:47 GMT

ae007@yfn.ysu.edu (Daniel Newcombe) writes:
> I checked the FAQ list and have mtools almost running..but
>it always says unknown command. The FAQ list says to link
>it with mdir, mcopy, etc... Where is the linker and where are
>the mdir stuff? Thanks...

The link command is:

  ls original copy
or,
  ls -s original copy

This makes another pointer to the original program, so, it's like me calling
you Daniel, or Danny. Same person, different name. (You might even act a
little differently depending on which I used.)

So, mtools is like that, sort of. The commands you're looking for:

ln -s /usr/bin/mtools /usr/bin/mdir
ln -s /usr/bin/mtools /usr/bin/mcopy
 (and so on for mwrite mread mtype mlabel mcd mattrib mdel mren)

Then, you'd be able to use things like mdir under linux basically the same way you
you use them under dos to refer to dos drives and files.

Ah, also, you will need to make a file called /etc/mtools. You describe
what the drives look like.

---between this line and one like it below--------
A /dev/PS0
B /dev/at1
C /dev/hda1 16 0 0 0
----Don't include this line------

This file says that drive A is a PS (3.5" 1.4 MB floppy) on drive 0.
Also, drive b is an at (5.25" 1.2MB floppy) on dribe 1.
Drive C is what Linux calls your Dos partition. If you don't know
how to make this, or which one to use, then it's probably a good idea not to
use this one...just use the floppies.

-Ken
Ken == kenc@sol.acs.unt.edu == kenc@vaxb.acs.unt.edu == MAX_DOUBLE();