15 January 2018, 20:00 | #1 |
Registered User
Join Date: Oct 2014
Location: Klagenfurt / Austria
Posts: 1,559
|
disk.info (ram disk) - directory?!?
today i encountered something very strange on amigaos 3.9, boingbag 2 and inofficial bb3/4:
ramdisk in shell shows disk.info as directory. why, what's wrong? see attached image. Last edited by honx; 05 February 2018 at 09:16. |
15 January 2018, 20:23 | #2 |
Registered User
Join Date: Aug 2014
Location: Brindisi (Italy)
Age: 70
Posts: 8,248
|
Try to delete the file Disk.info from the Ram Disk, it may be that you have associated directory icon.
|
15 January 2018, 20:35 | #3 |
Registered User
Join Date: Oct 2014
Location: Klagenfurt / Austria
Posts: 1,559
|
if i delete it, it's back after reboot. same problem, disk.info as directory.
|
15 January 2018, 21:11 | #4 |
Registered User
Join Date: Apr 2005
Location: digital hell, Germany, after 1984, but worse
Posts: 3,365
|
Maybe you have a buggy link instruction in your startup-sequence for Ram Disk?
|
15 January 2018, 21:17 | #5 |
Registered User
Join Date: Aug 2014
Location: Brindisi (Italy)
Age: 70
Posts: 8,248
|
You must delete or replace the icon that the system copies into Ram Disk, es. "SYS:Prefs/Env-Archive/Sys/Def_Ram.info", or "S:disk.info" (depending on your method)
Last edited by AMIGASYSTEM; 15 January 2018 at 21:25. |
15 January 2018, 21:28 | #6 |
Registered User
Join Date: Oct 2009
Location: Germany
Posts: 3,303
|
Or maybe the icon type has changed for some reason. Check the type of the original icon.
|
15 January 2018, 21:33 | #7 |
Registered User
Join Date: Oct 2014
Location: Klagenfurt / Austria
Posts: 1,559
|
startup-sequence: "SYS:C/MakeLink Ram:disk.info ENVARC:SYS/def_RAM.info SOFT"
despite being an icon file (.info) def_RAM.info icon is only listed in cli but not as icon. made new drawer, moved def_RAM.info there. on workbench drawer is shown empty. even when listed as filename instead of icons. of course, all files shown is activated. this leads to the next problem that i am not able to check any tooltypes on this icon. a file must be shown in order to being able to highlight a file for amiga+i or rightclick. if i move it somewhere else, problem gone. but ramdisk has no ramdisk icon anymore. so how can i fix this problem and keep ramdisk icon? Last edited by honx; 15 January 2018 at 21:44. |
15 January 2018, 22:37 | #8 |
Registered User
Join Date: Apr 2005
Location: digital hell, Germany, after 1984, but worse
Posts: 3,365
|
As I already said, the directory RAM:disk.info is probably created by the MakeLink instruction. I don't remember if this is a bug of only some MakeLink instructions or happens only with softlinks. Check the version of the MakeLink command. I don't know which versions are working correctly, because I never use MakeLink, since Amber-Ram-handler doesn't support links.
In case you have my icon.library installed you would not need that MakeLink instruction in your startup-sequence at all. You just need ENVARC:Sys/def_RAM.info. If you don't like ghosted Ram Disk icons, there is a short guide in my readme file how to disable the ghosting. Last edited by PeterK; 15 January 2018 at 22:49. |
16 January 2018, 00:44 | #9 | ||
Registered User
Join Date: Aug 2014
Location: Brindisi (Italy)
Age: 70
Posts: 8,248
|
Quote:
Quote:
I am attaching one Def_RAM.info copy it into"SYS:Prefs/Env-Archive/Sys/Def_Ram.info" Last edited by AMIGASYSTEM; 17 January 2018 at 14:18. |
||
16 January 2018, 01:31 | #10 | |
Registered User
Join Date: Apr 2005
Location: digital hell, Germany, after 1984, but worse
Posts: 3,365
|
Quote:
Better try the Ram Disk icon designed by Ken Lester (the tooltype "noghost" is already added). |
|
16 January 2018, 03:02 | #11 |
Registered User
Join Date: Aug 2014
Location: Brindisi (Italy)
Age: 70
Posts: 8,248
|
I have attached something simple
I have created two hours I hope you enjoy it Last edited by AMIGASYSTEM; 17 January 2018 at 14:18. |
16 January 2018, 05:51 | #12 |
Registered User
Join Date: Apr 2005
Location: digital hell, Germany, after 1984, but worse
Posts: 3,365
|
Yes, I enjoy it!
Ram3 is a good choice for OS4, but Ram4 and Ram5 need a heat sink! |
16 January 2018, 08:54 | #13 | |
Registered User
Join Date: Jan 2002
Location: Germany
Posts: 6,985
|
Quote:
The link allows just that. The icon behaves like a normal icon and all changes are saved to harddisk. |
|
16 January 2018, 09:41 | #14 |
Registered User
Join Date: Apr 2005
Location: digital hell, Germany, after 1984, but worse
Posts: 3,365
|
@thomas
Yes, you're right, my library won't save the position and window settings to the def icon. You would have to copy RAM:disk.info ENVARC:Sys/def_RAM.info manually. But honx wanted to get rid of this annoying disk.info directory, and that is probably a side effect of the soft link. I'm not sure if every MakeLink command causes this effect? With RAWBInfo installed you can use "save as ... (def icon)". That's easier than copying by hand. Ok, one small "problem" remains: icon.library always removes the icon position when loading def icons. Last edited by PeterK; 16 January 2018 at 10:07. |
16 January 2018, 10:04 | #15 |
Registered User
Join Date: Sep 2007
Location: Stockholm
Posts: 4,332
|
Aren't soft links too buggy to be useful?
|
16 January 2018, 10:13 | #16 |
Registered User
Join Date: Aug 2014
Location: Brindisi (Italy)
Age: 70
Posts: 8,248
|
From the translation i do not understand
The command "SYS:C/MakeLink Ram:disk.info ENVARC:SYS/def_RAM.info SOFT" it is very useful for snapshot icon, i first in the startup-sequence i used the command "Copy" but you could not snapshot the icons you had to do it first. |
16 January 2018, 12:48 | #17 |
Registered User
Join Date: Aug 2004
Location:
Posts: 3,334
|
Soft links are a bit weird in AmigaDOS. Some programs which weren't designed to handle them think they are directories. I guess that includes C:Dir!
Rather than use MakeLink, maybe use a command like this instead? Copy ENVARC:SYS/def_RAM.info RAM:Disk.info |
16 January 2018, 14:55 | #18 |
Registered User
Join Date: Aug 2014
Location: Brindisi (Italy)
Age: 70
Posts: 8,248
|
Even I used many years ago "Copy ENVARC:SYS/def_RAM.info RAM:disk.info", but this method does not allow automatic snapshot icon you do with normal icons method MakeLink yes
|
16 January 2018, 15:02 | #19 |
Registered User
Join Date: Apr 2005
Location: digital hell, Germany, after 1984, but worse
Posts: 3,365
|
If you are so happy with MakeLink is there a disk.info directory shown with dir or list on your system, too?
And if not, which version is your MakeLink command then? |
16 January 2018, 15:52 | #20 |
Registered User
Join Date: Aug 2014
Location: Brindisi (Italy)
Age: 70
Posts: 8,248
|
|
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Disable RAM: disk? | Sinphaltimus | support.Other | 29 | 20 July 2019 01:43 |
why cannot I boot hard drive directory or hard disk image | jotd | support.WinUAE | 2 | 31 October 2017 18:00 |
Sensi Disk Directory | bloodline | Coders. Asm / Hardware | 7 | 09 March 2017 11:48 |
Changing .info to different types (Project, Tool, Disk etc) | Bloodwych | support.Apps | 1 | 12 January 2012 20:05 |
Ram Disk. | whiteb | support.Hardware | 3 | 19 April 2006 04:09 |
|
|