OS2 World.Com Forum

Subject  :  Substitutefor Drive A
Author  :  PHE
Date  :  31 May, 2006 on 10:30
Hello,

I've OS2 warp4 running on an actual PC (Floppy drive via USB !)
I've an application in OS2 that needs the use of drives A/B.

I tought to redirect all calls to A/B to a substituded path on an other drive.
In DOS (under OS2) this is possible as :
subst m: e:\ab
assign a=m

But when I enter these commands in an OS/2 window, I get errors (command are only DOS commands).

How can I do this so it will work also in OS2?

regards,


Subject  :  Re:Substitutefor Drive A
Author  :  Stuart srtgray@clara.net
Date  :  02 Jun, 2006 on 12:48
I've had this problem in the past. I'm currently researching whether it cna be done by assigning drive letters to shared directories via some kind of networking, which would also involve disabling the floppy driver in config.sys. I'll let you know!

Stuart


Subject  :  Re:Substitutefor Drive A
Author  :  PHE
Date  :  02 Jun, 2006 on 13:55
Thank in advance.

PHE


Subject  :  Re:Substitutefor Drive A
Author  :  Pete losepete@ntlworld.com
Date  :  03 Jun, 2006 on 00:17
Hi All

I have not tried this myself but the description looks like it may come in handy for a couple of people here:-

The Toronto Virtual File System

Author: Mark D. Leitch
Version: 2.10
Date: November 11, 1996

Abstract:
The TVFS provides a virtual OS/2 file system that combines symbolic links, search paths, and permissions. Through the TVFS, local and remote file systems may be combined into a single, virtual file system.

To be found here (if interested) http://www.tavi.co.uk/os2pages/ews/tvfs.zip

Regards

Pete


Subject  :  Re:Substitutefor Drive A
Author  :  Grimus andi710@web.de
Date  :  03 Jun, 2006 on 18:51
Alternative is NDFS, that can be used for mapping one drive letter to another (among many other things ;o)

http://www.blueprintsoftwareworks.com/netdrive/about.html

Cheers
Andreas


Subject  :  Re:Substitutefor Drive A
Author  :  PHE
Date  :  07 Jun, 2006 on 09:56

Pete (03 Jun, 2006 00:17):
Hi All

I have not tried this myself but the description looks like it may come in handy for a couple of people here:-

The Toronto Virtual File System

Author: Mark D. Leitch
Version: 2.10
Date: November 11, 1996

Abstract:
The TVFS provides a virtual OS/2 file system that combines symbolic links, search paths, and permissions. Through the TVFS, local and remote file systems may be combined into a single, virtual file system.

To be found here (if interested) http://www.tavi.co.uk/os2pages/ews/tvfs.zip

Regards

Pete



I did the test with TVFS.

I does not work.
Refused to mount a: (and b:)


Regards,

PHE


Subject  :  Re:Substitutefor Drive A
Author  :  Fudeba daniel@caetano.eng.br
Date  :  08 Jun, 2006 on 19:33
Had you already tried removing the lines

BASEDEV=IBM1FLPY.ADD
BASEDEV=IBM2FLPY.ADD
BASEDEV=XDFLOPPY.FLT

From your config.sys? I really don't know what happens (since I had never tried myself removing both IBM1FLPY.ADD and IBM2FLPY.ADD), but I believe without those drivers, OS/2 would not use A and B drive letters anymore.


Subject  :  Re:Substitutefor Drive A
Author  :  PHE
Date  :  09 Jun, 2006 on 13:40
>Had you already tried removing the lines
>BASEDEV=IBM1FLPY.ADD
>BASEDEV=IBM2FLPY.ADD
>BASEDEV=XDFLOPPY.FLT


I will give it a try !


Subject  :  Re:Substitutefor Drive A
Author  :  PHE
Date  :  12 Jun, 2006 on 07:11

Fudeba (08 Jun, 2006 19:33):
Had you already tried removing the lines

BASEDEV=IBM1FLPY.ADD
BASEDEV=IBM2FLPY.ADD
BASEDEV=XDFLOPPY.FLT

From your config.sys? I really don't know what happens (since I had never tried myself removing both IBM1FLPY.ADD and IBM2FLPY.ADD), but I believe without those drivers, OS/2 would not use A and B drive letters anymore.


Hello,

I've did the test.
but no success.

I rem'd out these 3 lines.
I started TVFS with the command "tvctl -Dw"
and afterwarts I tried to "tvmount a:"

This gave me the following message :

TVMOUNT: error mounting drive "A:" (rc=85)
For drive B: was this the same result.

Who has other ideas?


Powered by UltraBoard 2000 <www.ub2k.com>