Welcome, Guest. Please login or register.

Author Topic: Assigning Devs: etc.  (Read 2149 times)

Description:

0 Members and 1 Guest are viewing this topic.

Offline mactoTopic starter

  • Full Member
  • ***
  • Join Date: Apr 2004
  • Posts: 111
    • Show only replies by macto
Assigning Devs: etc.
« on: July 30, 2004, 03:41:49 PM »
I'm trying to setup user Devs:, C:, etc. assigns.  To do so, I've added lines like:

ASSIGN Devs: WB2:MyDevs ADD

To my user-startup file.  According to the manual and various websites (such as this one: http://www.amigarealm.com/archives/thisoldworkbench/html/towb23.html) this should be possible.  Then I do:

ASSIGN

And surely enough the expected paths are displayed.  Then I do:

DIR Devs:

or

LIST Devs:

And I only see the files in one of the paths (namely WB2:Devs, which was assigned by the system.)  I go through the same thing for C: and have the same symptoms.  Fine.

Now I try to do something with these new paths.  Stuff in the system and user C: assign seem to work.  The stuff in the Devs: assign doesn't seem to work.  Is there anything unique about Devs: which would explain why this doesn't work, or should I be looking for the problem elsewhere.
 

Offline Piru

  • \' union select name,pwd--
  • Hero Member
  • *****
  • Join Date: Aug 2002
  • Posts: 6946
    • Show only replies by Piru
    • http://www.iki.fi/sintonen/
Re: Assigning Devs: etc.
« Reply #1 on: July 30, 2004, 03:57:54 PM »
@macto

Applications need to support multiassigns to take advantage of other than the first assign destination. Shell does this for C:, ramlib does this for DEVS: (OpenDevice) and LIBS: (OpenLibrary).

Dir, List etc don't support multiassigns, only the first assign destination is listed.
 

Offline mactoTopic starter

  • Full Member
  • ***
  • Join Date: Apr 2004
  • Posts: 111
    • Show only replies by macto
Re: Assigning Devs: etc.
« Reply #2 on: July 30, 2004, 04:14:17 PM »
Quote

Piru wrote:
Applications need to support multiassigns to take advantage of other than the first assign destination. Shell does this for C:, ramlib does this for DEVS: (OpenDevice) and LIBS: (OpenLibrary).


Thank-you for that bit.  Now was there any point in the past when ramlib didn't support multiple assigns for Devs: (eg. I'm using Workbench 2.04)?
 

Offline Daedalus

  • Hero Member
  • *****
  • Join Date: Feb 2002
  • Posts: 893
    • Show only replies by Daedalus
    • http://www.robthenerd.com
Re: Assigning Devs: etc.
« Reply #3 on: July 30, 2004, 04:19:51 PM »
Yes, the Assign command with the ADD keyword will work in this case, but as Piru said, it needs to be supported by the application trying to access devs:whatever. IIRC VNC supports this as an option you can enable (TrueMultiAssigns I think), then typing dir devs: will list all the files. But as ramlib supports multiassigns, it will search all assigned paths when any application actually tries to open a file in DEVS: through the normal methods. Beware though, it will stop looking when it finds the first version, not the newest version, so if you have a copy in both locations, it'll only use the one in SYS:Devs/ and not the one in SYS:MyDevs/.

If you only want to use SYS:MyDevs/ as your Devs drawer (though I can't think why you'd do that), you can use "Assign DEVS: DISMOUNT" and then "Assign DEVS: WB2:MyDevs" to reassign it.
Engineers do it with precision
--
http://www.robthenerd.com
 

Offline Piru

  • \' union select name,pwd--
  • Hero Member
  • *****
  • Join Date: Aug 2002
  • Posts: 6946
    • Show only replies by Piru
    • http://www.iki.fi/sintonen/
Re: Assigning Devs: etc.
« Reply #4 on: July 30, 2004, 05:05:54 PM »
Quote
If you only want to use SYS:MyDevs/ as your Devs drawer (though I can't think why you'd do that), you can use "Assign DEVS: DISMOUNT" and then "Assign DEVS: WB2:MyDevs" to reassign it.

That would be "Assign DEVS: REMOVE" not "Assign DEVS: DISMOUNT".
 

Offline Piru

  • \' union select name,pwd--
  • Hero Member
  • *****
  • Join Date: Aug 2002
  • Posts: 6946
    • Show only replies by Piru
    • http://www.iki.fi/sintonen/
Re: Assigning Devs: etc.
« Reply #5 on: July 30, 2004, 05:06:55 PM »
Quote
Thank-you for that bit. Now was there any point in the past when ramlib didn't support multiple assigns for Devs: (eg. I'm using Workbench 2.04)?

AmigaOS 2.x supports multiassigns for ramlib.
 

Offline Daedalus

  • Hero Member
  • *****
  • Join Date: Feb 2002
  • Posts: 893
    • Show only replies by Daedalus
    • http://www.robthenerd.com
Re: Assigning Devs: etc.
« Reply #6 on: August 01, 2004, 11:13:31 PM »
Quote
That would be "Assign DEVS: REMOVE" not "Assign DEVS: DISMOUNT".


Oops, Apologies, that is indeed correct. Be careful with the Dismount option, it's for removing actual devices or volumes, not assigns...

/me goes back to sleep...
Engineers do it with precision
--
http://www.robthenerd.com