Author Topic: warp 4.52 how to exclude drives from the available list  (Read 6008 times)

mauro

  • Sr. Member
  • ****
  • Posts: 406
  • Karma: +3/-0
    • View Profile
warp 4.52 how to exclude drives from the available list
« on: March 05, 2023, 01:46:10 pm »
Hi all, I'm having issues with Avxcat when trying to open a multimedia file.  Since it begins to scan for all available drives in the system, it closes the selection window with a system error alert as some drives are inoperative (not ready) like in my case D and F  but however present in the drives list.  I wish to exclude them from the list so that Avxcat can go on to target a multimedia file.
Can you suggest how to ?
Thank you
« Last Edit: March 05, 2023, 05:49:06 pm by mauro »

ivan

  • Hero Member
  • *****
  • Posts: 1551
  • Karma: +17/-0
    • View Profile
Re: warp 4.52 how to exclude drives from the available list
« Reply #1 on: March 05, 2023, 11:09:01 pm »
First observations. 

Do you have three physical floppy drives and why is the CD drive listed in the middle of that list since it is usually at the end, at least it is on on all the OS/2 installs I have here.

I think you need to get out your copy of DFSee and sort the drive letters into a logical order.

Pete

  • Hero Member
  • *****
  • Posts: 1280
  • Karma: +9/-0
    • View Profile
Re: warp 4.52 how to exclude drives from the available list
« Reply #2 on: March 06, 2023, 02:07:22 am »
Hi mauro

I do not use Avxcat myself but would expect some sort of "exclude drive(s)" setting within the app to avoid the problem or, possibly, an entry in an ini file that could be changed...


Floppy drive D: is possibly a USB Floppy - if I am right you can get rid of this, if not needed, by changing the config.sys entry to
BASEDEV=USBMSD.ADD /REMOVABLES:8 /FLOPPIES:0

You could also REM cd related drivers in the config.sys to "lose" drive F:

@ivan
Drive order looks OK to me - fixed drives above removable drives


Regards

Pete

Remy

  • Hero Member
  • *****
  • Posts: 642
  • Karma: +9/-1
    • View Profile
Re: warp 4.52 how to exclude drives from the available list
« Reply #3 on: March 06, 2023, 11:50:43 am »
Hi mauro

I do not use Avxcat myself but would expect some sort of "exclude drive(s)" setting within the app to avoid the problem or, possibly, an entry in an ini file that could be changed...


Floppy drive D: is possibly a USB Floppy - if I am right you can get rid of this, if not needed, by changing the config.sys entry to
BASEDEV=USBMSD.ADD /REMOVABLES:8 /FLOPPIES:0

You could also REM cd related drivers in the config.sys to "lose" drive F:

@ivan
Drive order looks OK to me - fixed drives above removable drives


Regards

Pete

USB floppy seems to be the problem !  (I don't have)
VFDISK or CDROM READY or NOREADY are of course supported under AVXCAT and it open/close CD to load a CD if needed
note: VFDISK with its small size has no interest to be used.

AVxCAT uses USED drives list by default
It can be changed to LOCAL drives as follow:
avxcat --locald
( to get back to used drives  avxcat --usedd )

Remy

  • Hero Member
  • *****
  • Posts: 642
  • Karma: +9/-1
    • View Profile
Re: warp 4.52 how to exclude drives from the available list
« Reply #4 on: March 06, 2023, 04:18:34 pm »
I updated avxcat to allow you set an exclude drive list from a command line.
fixpack 00006

You can get the avxcat_rep.zip file or the wpi
 
cmd:   avxcat --xdrive list    list is one or more drive letter without blanks   e.g.    def    (will exclude D: E: F:)
                                                ( to reset =>  avxcat --xdrive 0 )

note: to use only one time, setting is saved into ini file   
 

mauro

  • Sr. Member
  • ****
  • Posts: 406
  • Karma: +3/-0
    • View Profile
Re: warp 4.52 how to exclude drives from the available list
« Reply #5 on: March 06, 2023, 08:06:59 pm »
Hi mauro

I do not use Avxcat myself but would expect some sort of "exclude drive(s)" setting within the app to avoid the problem or, possibly, an entry in an ini file that could be changed...


Floppy drive D: is possibly a USB Floppy - if I am right you can get rid of this, if not needed, by changing the config.sys entry to
BASEDEV=USBMSD.ADD /REMOVABLES:8 /FLOPPIES:0

You could also REM cd related drivers in the config.sys to "lose" drive F:

@ivan
Drive order looks OK to me - fixed drives above removable drives


Regards

Pete

Ok Pete, following your suggestion I obtained the exclusion of floppy drives and usb CD by REMMING the line

REM BASEDEV=USBCDROM.ADD

and also

BASEDEV=USBMSD.ADD  was remmed and replaced with the indicated string

BASEDEV=USBMSD.ADD /REMOVABLES:8 /FLOPPIES:0

this fixed the "not ready" drive alert when browsing the drives/volumes, and AVXCAT now let the folder been opened for files selection.

I thank you much

Thank you


Remy

  • Hero Member
  • *****
  • Posts: 642
  • Karma: +9/-1
    • View Profile
Re: warp 4.52 how to exclude drives from the available list
« Reply #6 on: March 06, 2023, 08:37:46 pm »
I'm curious to know why you've got a SYS0039 not ready message (for COMn !) instead the more expected SYS0021 not ready message ?
« Last Edit: March 06, 2023, 10:51:29 pm by Remy »

mauro

  • Sr. Member
  • ****
  • Posts: 406
  • Karma: +3/-0
    • View Profile
Re: warp 4.52 how to exclude drives from the available list
« Reply #7 on: March 07, 2023, 08:41:40 am »
I'm curious to know why you've got a SYS0039 not ready message (for COMn !) instead the more expected SYS0021 not ready message ?

cannot directly give an answer but maybe my config.sys can tell why, I can provide it if useful to clarify

Pete

  • Hero Member
  • *****
  • Posts: 1280
  • Karma: +9/-0
    • View Profile
Re: warp 4.52 how to exclude drives from the available list
« Reply #8 on: March 07, 2023, 06:15:29 pm »
Hi

Probably got a sys0039 due to a lack of usb floppy drive.

Regards

Pete

Remy

  • Hero Member
  • *****
  • Posts: 642
  • Karma: +9/-1
    • View Profile
Re: warp 4.52 how to exclude drives from the available list
« Reply #9 on: March 07, 2023, 06:43:14 pm »
Hi

Probably got a sys0039 due to a lack of usb floppy drive.

Regards

Pete

But why not the SYS0021 !

Pete

  • Hero Member
  • *****
  • Posts: 1280
  • Karma: +9/-0
    • View Profile
Re: warp 4.52 how to exclude drives from the available list
« Reply #10 on: March 07, 2023, 08:55:51 pm »
Hi Remy

Probably device (usb floppy) not ready rather than disk (or cd) not ready - must admit I am guessing though...


Regards

Pete

Lars

  • Hero Member
  • *****
  • Posts: 1263
  • Karma: +65/-0
    • View Profile
Re: warp 4.52 how to exclude drives from the available list
« Reply #11 on: March 08, 2023, 07:40:45 am »
You always have to be careful about interpreting error codes as OS/2 can be ambigious about what exactly an error code means.
The help text displayed by help sysXXXX can consequently also be ambigious.

Error 39 = ERROR_HANDLE_DISK_FULL : "disk is full"
Error 21 = ERROR_NOT_READY: "drive not ready"

I don't know why "help sys39" returns such a misleading error explanation. There must be some OS component that, for one reason or the other, returns error ERROR_HANDLE_DISK_FULL.