Amiga.org

Amiga computer related discussion => Amiga Software Issues and Discussion => Topic started by: orange on April 29, 2006, 10:24:31 PM

Title: assign sys:
Post by: orange on April 29, 2006, 10:24:31 PM
would there be any problem if I use this:

assign sys: dh1:system2 ADD

I plan to put in dh1:system2/ some small, usefull programs and I'd like to leave real sys: unchanged as much as possible.
Title: Re: assign sys:
Post by: Piru on April 30, 2006, 12:02:53 AM
It won't hurt.

Then again, it won't do anything useful, either.


Hint: SYS: is not in path, nor is SYS: used to search any system components such as libraries or devices.
Title: Re: assign sys:
Post by: odin on April 30, 2006, 12:15:42 AM
Small useful progams? Perhaps you could drop them in c: ?
Title: Re: assign sys:
Post by: orange on April 30, 2006, 12:59:51 AM
but Piru, I have managed to copy FILE0: from xfs into

dh1:system2/storage/DOSDrivers

and now I can just type "mount file0:" and it works!
(my sys: is practically unchanged from clean install except for user-startup, of course..)
Title: Re: assign sys:
Post by: Piru on April 30, 2006, 01:27:00 AM
If it works it is not due to this SYS:-assign.

I repeat: SYS:-assign is not used to locate any system components or files.
Title: Re: assign sys:
Post by: uncharted on April 30, 2006, 09:01:28 AM
What is the purpose of SYS: then?
Title: Re: assign sys:
Post by: motorollin on April 30, 2006, 09:17:09 AM
If you have a mounlist in SYS:Storage/DOSDrivers, then mount the mountlist using for example mount cd0: without specifying the path, then it will find the mountlist in SYS:Storage/DOSDrivers.

If you add an Assign to SYS to another volume which also contains a Storage/DOSDrivers drawer with mountlists in it, then these will also be found by the mount command.

So I have to disagree Piru - I think it is working because of the added SYS: assign.

--
moto
Title: Re: assign sys:
Post by: _yak_ on April 30, 2006, 12:05:26 PM
Yes, it isn't used for things that have specific assign's for them like C:, LIBS:, DEVS:, L:, but there is no assign for storage, therefore SYS:Storage is used. I think this is the only exception.
Title: Re: assign sys:
Post by: Piru on April 30, 2006, 12:54:20 PM
Hmm indeed, SYS:Storage/DOSDrivers/ is the only location that actually uses SYS:. I never actually realized this before...

Everything else uses the assigns, for example FONTS:, DEVS:, LOCALE:, KEYMAPS:, PRINTERS:, HELP:, LIBS:, L:, S: and C:

So basically what you need to do is:

Assign FONTS: Somewhere:else/my/Fonts ADD
Assign C: Somewhere:else/my/C ADD
Assign DEVS: Somewhere:else/my/Devs ADD
Assign LIBS: Somewhere:else/my/Libs ADD
Assign LOCALE: Somewhere:else/my/Locale ADD
Assign HELP: Somewhere:else/my/Locale/Help ADD
Assign L: Somewhere:else/my/L ADD
Assign KEYMAPS: Somewhere:else/my/Devs/Keymaps ADD
Assign PRINTERS: Somewhere:else/my/Devs/Printers ADD
Assign S: Somewhere:else/my/S ADD

*and*

If you want C:Mount to find Somewhere:else/my/Storage/DOSDrivers/ aswell, then:
Assign SYS: Somewhere:else/my/ ADD
Title: Re: assign sys:
Post by: Framiga on April 30, 2006, 02:07:22 PM
"Hmm indeed, SYS:Storage/DOSDrivers/ is the only location that actually uses SYS:. I never actually realized this before..."

noooo! :-( Piru! ... the first mistake i get from you! :-( so your "human" like us! the end of one of my personal mith!..

....joking Piru :-)

Title: Re: assign sys:
Post by: Piru on April 30, 2006, 02:12:24 PM
@Framiga

Actually it's second within couple of days. See KS 3.0 vs 3.1 thread (http://www.amiga.org/forums/showthread.php?t=22117).

Errare humanum est.
Title: Re: assign sys:
Post by: Framiga on April 30, 2006, 02:20:09 PM
ahhh great... suspended for 2 days ;-)

Title: Re: assign sys:
Post by: amigagr on April 30, 2006, 02:27:24 PM
actualy, he is half human and half volcanius, an unknown brother of Mr.Spock maybe?
(just kiding Piru, you got all of my respect.)
Title: Re: assign sys:
Post by: Piru on April 30, 2006, 02:33:46 PM
Live long and prosper. \\//
Title: Re: assign sys:
Post by: amigagr on April 30, 2006, 02:41:24 PM
i knew it, i knew it :-)  :-)  :-)  :-)  :-)  :-)
Title: Re: assign sys:
Post by: tomswift on April 30, 2006, 11:35:59 PM
I remember a command called "defdisk" which did all the system directory reassigns all with one command.  When Aminet is back up and running might be worth a look. :idea: