Welcome, Guest. Please login or register.

Author Topic: assign sys:  (Read 2728 times)

Description:

0 Members and 1 Guest are viewing this topic.

Offline orangeTopic starter

  • Hero Member
  • *****
  • Join Date: Dec 2003
  • Posts: 2796
    • Show only replies by orange
assign sys:
« 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.
Better sorry than worry.
 

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: assign sys:
« Reply #1 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.
 

Offline odin

  • Colonization had Galleons
  • Hero Member
  • *****
  • Join Date: Feb 2002
  • Posts: 6796
    • Show only replies by odin
Re: assign sys:
« Reply #2 on: April 30, 2006, 12:15:42 AM »
Small useful progams? Perhaps you could drop them in c: ?

Offline orangeTopic starter

  • Hero Member
  • *****
  • Join Date: Dec 2003
  • Posts: 2796
    • Show only replies by orange
Re: assign sys:
« Reply #3 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..)
Better sorry than worry.
 

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: assign sys:
« Reply #4 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.
 

Offline uncharted

  • Hero Member
  • *****
  • Join Date: Mar 2002
  • Posts: 1520
    • Show only replies by uncharted
Re: assign sys:
« Reply #5 on: April 30, 2006, 09:01:28 AM »
What is the purpose of SYS: then?
 

Offline motorollin

  • Hero Member
  • *****
  • Join Date: Nov 2005
  • Posts: 8669
    • Show only replies by motorollin
Re: assign sys:
« Reply #6 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
Code: [Select]
10  IT\'S THE FINAL COUNTDOWN
20  FOR C = 1 TO 2
30     DA-NA-NAAAA-NAAAA DA-NA-NA-NA-NAAAA
40     DA-NA-NAAAA-NAAAA DA-NA-NA-NA-NA-NA-NAAAAA
50  NEXT C
60  NA-NA-NAAAA
70  NA-NA NA-NA-NA-NA-NAAAA NAAA-NAAAAAAAAAAA
80  GOTO 10
 

Offline _yak_

  • Full Member
  • ***
  • Join Date: Mar 2006
  • Posts: 227
    • Show only replies by _yak_
Re: assign sys:
« Reply #7 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.
 

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: assign sys:
« Reply #8 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
 

Offline Framiga

  • Hero Member
  • *****
  • Join Date: May 2003
  • Posts: 4096
    • Show only replies by Framiga
Re: assign sys:
« Reply #9 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 :-)

 

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: assign sys:
« Reply #10 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.

Errare humanum est.
 

Offline Framiga

  • Hero Member
  • *****
  • Join Date: May 2003
  • Posts: 4096
    • Show only replies by Framiga
Re: assign sys:
« Reply #11 on: April 30, 2006, 02:20:09 PM »
ahhh great... suspended for 2 days ;-)

 

Offline amigagr

  • Hero Member
  • *****
  • Join Date: Feb 2002
  • Posts: 1454
    • Show only replies by amigagr
    • http://www.amigahellas.gr
Re: assign sys:
« Reply #12 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.)
A3040/25 AmigaOS 3.9
A1260BPPC AmigaOS 3.9/4.0
Sam440ep AmigaOS 4.1.2
PegasosII/G3 AmigaOS 4.1.2/MorphOS 2.7/Debian 5.0.7/SUSE 11.1
MacMini/G4 1.5 MorphOS 2.7/OSX 10.5.8
Long Live Amiga

If i am going to have bugs on my system,
at least let me keep the latest versions.
Neil Bothwick
 

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: assign sys:
« Reply #13 on: April 30, 2006, 02:33:46 PM »
Live long and prosper. \\//
 

Offline amigagr

  • Hero Member
  • *****
  • Join Date: Feb 2002
  • Posts: 1454
    • Show only replies by amigagr
    • http://www.amigahellas.gr
Re: assign sys:
« Reply #14 on: April 30, 2006, 02:41:24 PM »
i knew it, i knew it :-)  :-)  :-)  :-)  :-)  :-)
A3040/25 AmigaOS 3.9
A1260BPPC AmigaOS 3.9/4.0
Sam440ep AmigaOS 4.1.2
PegasosII/G3 AmigaOS 4.1.2/MorphOS 2.7/Debian 5.0.7/SUSE 11.1
MacMini/G4 1.5 MorphOS 2.7/OSX 10.5.8
Long Live Amiga

If i am going to have bugs on my system,
at least let me keep the latest versions.
Neil Bothwick