Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
* mtools
@ 1993-12-14 14:07 Joel Rivat
  0 siblings, 0 replies; 10+ messages in thread
From: Joel Rivat @ 1993-12-14 14:07 UTC (permalink / raw)


   Has somebody already ported mtools for the DEC Alpha
under osf1 ? Could you please send the patches for mtools2.0.7,
or a ftp sites with sources or binaries...

   Thanks

    Joel



^ permalink raw reply	[flat|nested] 10+ messages in thread

* mtools
@ 1996-10-01  4:00 birgitt boersch-Pulm
  1996-10-01  4:00 ` mtools Lawrence MacIntyre
  0 siblings, 1 reply; 10+ messages in thread
From: birgitt boersch-Pulm @ 1996-10-01  4:00 UTC (permalink / raw)



Hallo,

I try to install mtools 3.0 on an Alpha workstation under 
DIGITAL UNIX V3.2C

The installation seems to be o.k., but it doesn't work.

error message :

# ./mdir
Drive 'A:' not supported
Cannot initialize 'A:'


when I try to insert in devices.c something like :

#ifdef alpha
#define predefined_devices
struct device devices[] = {
        {"/dev/rfd0c",  'A', GENFD},
        {"/dev/rfd0c", 'A', HD514},
        {"/dev/rfd0c", 'A', DD514},
};
#endif

and restart make, I get the following error message:

Unresolved:
init_geom
*** Exit 1
Stop.

but the routine init_geom exits in devices.c

Sorry for the simple question and the terrible English,

but nevertheless please, please help me.

my mail-adress : acp30@rrz.Uni-Koeln.DE

thanks for all hints

Birgitt Boersch-Pulm



^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: mtools
  1996-10-01  4:00 mtools birgitt boersch-Pulm
@ 1996-10-01  4:00 ` Lawrence MacIntyre
  1996-10-02  4:00   ` mtools Birgitt Boersch-Pulm
  0 siblings, 1 reply; 10+ messages in thread
From: Lawrence MacIntyre @ 1996-10-01  4:00 UTC (permalink / raw)
  To: birgitt boersch-Pulm


birgitt boersch-Pulm wrote:
> 
> Hallo,
> 
> I try to install mtools 3.0 on an Alpha workstation under
> DIGITAL UNIX V3.2C
> 
> The installation seems to be o.k., but it doesn't work.
> 
> error message :
> 
> # ./mdir
> Drive 'A:' not supported
> Cannot initialize 'A:'
> 
> when I try to insert in devices.c something like :
> 
> #ifdef alpha
> #define predefined_devices
> struct device devices[] = {
>         {"/dev/rfd0c",  'A', GENFD},
>         {"/dev/rfd0c", 'A', HD514},
>         {"/dev/rfd0c", 'A', DD514},
> };
> #endif
> 
> and restart make, I get the following error message:
> 
> Unresolved:
> init_geom
> *** Exit 1
> Stop.
> 

Add this to devices.c

< #ifdef ALPHASTATION
< struct device devices[] = {
<       {'A', "/dev/rfd0c", 0L, 12, 0, (int (*) ()) 0, 80, 2, 18},
<       {'A', "/dev/rfd0a", 0L, 12, 0, (int (*) ()) 0, 80, 2, 9},
<       {'\0', (char *) NULL, 0L, 0, 0, (int (*) ()) 0, 0, 0, 0}
< };
< #endif /* ALPHASTATION */

Add this to Makefile

> # for AlphaStation
> CFLAGS = -O -DALPHASTATION -DLOCKF

It works for me on DU 3.2C.
-- 

                                 Lawrence
                                    ~
------------------------------------------------------------------------
Lawrence MacIntyre       Oak Ridge National Laboratory      423.574.8696 
lpz@ornl.gov   http://www.epm.ornl.gov/~lpz    lpz@nautique.epm.ornl.gov



^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: mtools
  1996-10-01  4:00 ` mtools Lawrence MacIntyre
@ 1996-10-02  4:00   ` Birgitt Boersch-Pulm
  1996-10-02  4:00     ` mtools Lawrence MacIntyre
  1996-10-07  4:00     ` mtools Matthew Tovey
  0 siblings, 2 replies; 10+ messages in thread
From: Birgitt Boersch-Pulm @ 1996-10-02  4:00 UTC (permalink / raw)



Lawrence MacIntyre wrote:

> Add this to devices.c
> 
> < #ifdef ALPHASTATION
> < struct device devices[] = {
> <       {'A', "/dev/rfd0c", 0L, 12, 0, (int (*) ()) 0, 80, 2, 18},
> <       {'A', "/dev/rfd0a", 0L, 12, 0, (int (*) ()) 0, 80, 2, 9},
> <       {'\0', (char *) NULL, 0L, 0, 0, (int (*) ()) 0, 0, 0, 0}
> < };
> < #endif /* ALPHASTATION */
> 
> Add this to Makefile
> 
> > # for AlphaStation
> > CFLAGS = -O -DALPHASTATION -DLOCKF
> 
> It works for me on DU 3.2C.
>
Thanks for your hint.

now the compilation is o.k. but Drive A is nevertheless unreachable  :

mdir
Drive 'A:' not supported
Cannot initialize 'A:'

There is the same error message then before

Is there an other hint from you for solving the problem ?

Birgitt Boersch-Pulm



^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: mtools
  1996-10-02  4:00   ` mtools Birgitt Boersch-Pulm
@ 1996-10-02  4:00     ` Lawrence MacIntyre
  1996-10-07  4:00       ` mtools Birgitt Boersch-Pulm
  1996-10-07  4:00     ` mtools Matthew Tovey
  1 sibling, 1 reply; 10+ messages in thread
From: Lawrence MacIntyre @ 1996-10-02  4:00 UTC (permalink / raw)
  To: Birgitt Boersch-Pulm


Birgitt Boersch-Pulm wrote:
> 
> Lawrence MacIntyre wrote:
> 
> > Add this to devices.c
> >
> > < #ifdef ALPHASTATION
> > < struct device devices[] = {
> > <       {'A', "/dev/rfd0c", 0L, 12, 0, (int (*) ()) 0, 80, 2, 18},
> > <       {'A', "/dev/rfd0a", 0L, 12, 0, (int (*) ()) 0, 80, 2, 9},
> > <       {'\0', (char *) NULL, 0L, 0, 0, (int (*) ()) 0, 0, 0, 0}
> > < };
> > < #endif /* ALPHASTATION */
> >
> > Add this to Makefile
> >
> > > # for AlphaStation
> > > CFLAGS = -O -DALPHASTATION -DLOCKF
> >
> > It works for me on DU 3.2C.
> >
> Thanks for your hint.
> 
> now the compilation is o.k. but Drive A is nevertheless unreachable  :
> 
> mdir
> Drive 'A:' not supported
> Cannot initialize 'A:'
> 
> There is the same error message then before
> 
> Is there an other hint from you for solving the problem ?

Bummer.  What is the output from the following command:

ls -l /dev/rf*

If the devices exist, then if the protection doesn't allow world access,
then the mtools need to be owned by root and have the setuid bit set.  

What is the output of ls -l on the directory where the mtools reside
(typically /usr/local/bin)?

Also, this is a silly question, but are you sure you moved the new
binaries over (we've all made that mistake...)?
-- 

                                 Lawrence
                                    ~
------------------------------------------------------------------------
Lawrence MacIntyre       Oak Ridge National Laboratory      423.574.8696 
lpz@ornl.gov   http://www.epm.ornl.gov/~lpz    lpz@nautique.epm.ornl.gov



^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: mtools
  1996-10-02  4:00     ` mtools Lawrence MacIntyre
@ 1996-10-07  4:00       ` Birgitt Boersch-Pulm
  1996-10-10  4:00         ` mtools Matthew Tovey
  0 siblings, 1 reply; 10+ messages in thread
From: Birgitt Boersch-Pulm @ 1996-10-07  4:00 UTC (permalink / raw)



Lawrence MacIntyre wrote> 

Birgitt Boersch-Pulm wrote:

> >
> > mdir
> > Drive 'A:' not supported
> > Cannot initialize 'A:'
 
> Bummer.  What is the output from the following command:
> 
> ls -l /dev/rf*
>

The files exist and they allow world access, 
mtools is owned by root the setuid bit is set.

(for the moment I try mtools only under root UID anyway)
 
> If the devices exist, then if the protection doesn't allow world access,
> then the mtools need to be owned by root and have the setuid bit set.
> 
> What is the output of ls -l on the directory where the mtools reside
> (typically /usr/local/bin)?
What should it? Sorry, I don't understand the question exactly

> 
> Also, this is a silly question, but are you sure you moved the new
> binaries over (we've all made that mistake...)?
> --
There are no silly questions, only stupid answers, but I'm so sorry,
I do not understand this question too.

This is my first try of installing mtools and I got them from 
gatekeeper.dec.com

unpacked and installed them following the instructions the files
contain.

Sorry, but can you help me anyway ?

Thanks for all your hints

Birgitt
boersch-Pulm                                                                  
~
> ------------------------------------------------------------------------
> Lawrence MacIntyre       Oak Ridge National Laboratory      423.574.8696
> lpz@ornl.gov   http://www.epm.ornl.gov/~lpz    lpz@nautique.epm.ornl.gov



^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: mtools
  1996-10-02  4:00   ` mtools Birgitt Boersch-Pulm
  1996-10-02  4:00     ` mtools Lawrence MacIntyre
@ 1996-10-07  4:00     ` Matthew Tovey
  1 sibling, 0 replies; 10+ messages in thread
From: Matthew Tovey @ 1996-10-07  4:00 UTC (permalink / raw)



Birgitt Boersch-Pulm wrote:
> 
> Lawrence MacIntyre wrote:
> 
> > Add this to devices.c
> >
> > < #ifdef ALPHASTATION
> > < struct device devices[] = {
> > <       {'A', "/dev/rfd0c", 0L, 12, 0, (int (*) ()) 0, 80, 2, 18},
> > <       {'A', "/dev/rfd0a", 0L, 12, 0, (int (*) ()) 0, 80, 2, 9},
> > <       {'\0', (char *) NULL, 0L, 0, 0, (int (*) ()) 0, 0, 0, 0}
> > < };
> > < #endif /* ALPHASTATION */
> >
> > Add this to Makefile
> >
> > > # for AlphaStation
> > > CFLAGS = -O -DALPHASTATION -DLOCKF
> >
> > It works for me on DU 3.2C.
> >
> Thanks for your hint.
> 
> now the compilation is o.k. but Drive A is nevertheless unreachable  :
> 
> mdir
> Drive 'A:' not supported
> Cannot initialize 'A:'
> 
> There is the same error message then before
> 
> Is there an other hint from you for solving the problem ?

Hmm. When I compiled mtools for Alphastations, I only had to tweak the
config file, /etc/mtools.conf
Here's mine:
--
drive a: file="/dev/fd0c"
        fat_bits=12
        tracks=80 heads=2 sectors=18
        nodelay
--
And the device file, /dev/fd0c, has to be accessible to people other
than root if you want them to able to use it.

Cheers,

Matt
-- 
Matt Tovey 				http://wwwcn.cern.ch/~mtovey

Linux is okay, but the boxes it comes in are too small.



^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: mtools
  1996-10-07  4:00       ` mtools Birgitt Boersch-Pulm
@ 1996-10-10  4:00         ` Matthew Tovey
  0 siblings, 0 replies; 10+ messages in thread
From: Matthew Tovey @ 1996-10-10  4:00 UTC (permalink / raw)
  To: Birgitt Boersch-Pulm


> This is my first try of installing mtools and I got them from
> gatekeeper.dec.com
> 
> unpacked and installed them following the instructions the files
> contain.

Whoah! Installing mtools should not involve so many problems!
It does not have to be setuid root (and should not)!

The device file which must have world access if people other than root
will use the floppy drive is /dev/fd0c. Use the command:
--
chmod 666 /dev/fd0c
--
After doing the basic make and install, with no modifications required,
you should install the configuration file, /etc/mtools.conf
All of my machines with floppy drives, Alphastation 200's, uses the
following mtools.conf:
--
drive a: file="/dev/fd0c"
        fat_bits=12
        tracks=80 heads=2 sectors=18
        nodelay
--
The man pages which are automatically installed, describe the
configuration file: use 'man 5 mtools'.
If it's useful to you, I can repeat these instructions in German.

Cheers,

Matt
-- 
Matt Tovey 				http://wwwcn.cern.ch/~mtovey

Linux is okay, but the boxes it comes in are too small.



^ permalink raw reply	[flat|nested] 10+ messages in thread

* mtools
@ 1996-10-14  4:00 Birgitt Boersch-Pulm
  0 siblings, 0 replies; 10+ messages in thread
From: Birgitt Boersch-Pulm @ 1996-10-14  4:00 UTC (permalink / raw)



> After doing the basic make and install, with no modifications required,
> you should install the configuration file, /etc/mtools.conf
> All of my machines with floppy drives, Alphastation 200's, uses the
>following mtools.conf:
 --
> drive a: file="/dev/fd0c"
>         fat_bits=12
>         tracks=80 heads=2 sectors=18
>         nodelay

Thanks a lot for your mail and your reply to my questions in the
news.That was the hint I needed, to copy mtools.conf to /etc.
Now it works.

> If it's useful to you, I can repeat these instructions in German.
woh, it's so terrible my English ?, sorry, but understanding is much
easier
then writing

thanks

Birgitt Boersch-Pulm



^ permalink raw reply	[flat|nested] 10+ messages in thread

* mtools
@ 2002-05-10  3:13 David Lee
  0 siblings, 0 replies; 10+ messages in thread
From: David Lee @ 2002-05-10  3:13 UTC (permalink / raw)


I am trying to copy a driver from a floppy to my local directory using
mtools utility but unable to use mcopy.  It kept saying "not match" or "file
not found".  I was able to do the mdir and see the files listed.  It lost
the characteristic of a file.  It displayed
as LS120~ Z
Here is what I tried
/usr/bin/mtools/mcopy a:LS12* /home/mydirectory
What did I do wrong?  How can I copy a file over to my local directory.
Thanks for any help





^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2002-05-10  3:13 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1996-10-14  4:00 mtools Birgitt Boersch-Pulm
  -- strict thread matches above, loose matches on Subject: below --
2002-05-10  3:13 mtools David Lee
1996-10-01  4:00 mtools birgitt boersch-Pulm
1996-10-01  4:00 ` mtools Lawrence MacIntyre
1996-10-02  4:00   ` mtools Birgitt Boersch-Pulm
1996-10-02  4:00     ` mtools Lawrence MacIntyre
1996-10-07  4:00       ` mtools Birgitt Boersch-Pulm
1996-10-10  4:00         ` mtools Matthew Tovey
1996-10-07  4:00     ` mtools Matthew Tovey
1993-12-14 14:07 mtools Joel Rivat

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox