English Amiga Board


Go Back   English Amiga Board > Support > support.Apps

 
 
Thread Tools
Old 15 January 2018, 20:00   #1
honx
Registered User
 
honx's Avatar
 
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.
Attached Thumbnails
Click image for larger version

Name:	dir.PNG
Views:	278
Size:	15.0 KB
ID:	56217  

Last edited by honx; 05 February 2018 at 09:16.
honx is offline  
Old 15 January 2018, 20:23   #2
AMIGASYSTEM
Registered User
 
AMIGASYSTEM's Avatar
 
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.
AMIGASYSTEM is offline  
Old 15 January 2018, 20:35   #3
honx
Registered User
 
honx's Avatar
 
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.
honx is offline  
Old 15 January 2018, 21:11   #4
PeterK
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?
PeterK is offline  
Old 15 January 2018, 21:17   #5
AMIGASYSTEM
Registered User
 
AMIGASYSTEM's Avatar
 
Join Date: Aug 2014
Location: Brindisi (Italy)
Age: 70
Posts: 8,248
Quote:
Originally Posted by honx View Post
if i delete it, it's back after reboot. same problem, disk.info as directory.
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.
AMIGASYSTEM is offline  
Old 15 January 2018, 21:28   #6
daxb
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.
daxb is offline  
Old 15 January 2018, 21:33   #7
honx
Registered User
 
honx's Avatar
 
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.
honx is offline  
Old 15 January 2018, 22:37   #8
PeterK
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.
PeterK is offline  
Old 16 January 2018, 00:44   #9
AMIGASYSTEM
Registered User
 
AMIGASYSTEM's Avatar
 
Join Date: Aug 2014
Location: Brindisi (Italy)
Age: 70
Posts: 8,248
Quote:
Originally Posted by honx View Post
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.
Disable startup-sequence: "SYS:C/MakeLink Ram:disk.info ENVARC:SYS/def_RAM.info SOFT" and leave def_RAM.info in "SYS:Prefs/Env-Archive/Sys/Def_Ram.info"

Quote:
made new drawer, moved def_RAM.info there. on workbench drawer is shown empty.
This is normal, the icon "disk" from the Workbench it is not visible in the folder, you can only see Project, Program and Folder icons.

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.
AMIGASYSTEM is offline  
Old 16 January 2018, 01:31   #10
PeterK
Registered User
 
Join Date: Apr 2005
Location: digital hell, Germany, after 1984, but worse
Posts: 3,365
Quote:
Originally Posted by AMIGASYSTEM View Post
I am attaching one Def_RAM.info copy it into"SYS:Prefs/Env-Archive/Sys/Def_Ram.info"
Thanks AMIGASYSTEM, but why is that Ram Disk icon sooo ugly ?

Better try the Ram Disk icon designed by Ken Lester (the tooltype "noghost" is already added).
Attached Files
File Type: lha def_RAM.info.lha (2.9 KB, 72 views)
PeterK is offline  
Old 16 January 2018, 03:02   #11
AMIGASYSTEM
Registered User
 
AMIGASYSTEM's Avatar
 
Join Date: Aug 2014
Location: Brindisi (Italy)
Age: 70
Posts: 8,248
Quote:
Originally Posted by PeterK View Post
Thanks AMIGASYSTEM, but why is that Ram Disk icon sooo ugly ?
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.
AMIGASYSTEM is offline  
Old 16 January 2018, 05:51   #12
PeterK
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!
PeterK is offline  
Old 16 January 2018, 08:54   #13
thomas
Registered User
 
thomas's Avatar
 
Join Date: Jan 2002
Location: Germany
Posts: 6,985
Quote:
Originally Posted by PeterK View Post
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.
What happens if the user drags the icon somewhere or resizes the window and tries to snapshot it? Does your library save the changes to the def icon?

The link allows just that. The icon behaves like a normal icon and all changes are saved to harddisk.
thomas is offline  
Old 16 January 2018, 09:41   #14
PeterK
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.
PeterK is offline  
Old 16 January 2018, 10:04   #15
idrougge
Registered User
 
Join Date: Sep 2007
Location: Stockholm
Posts: 4,332
Aren't soft links too buggy to be useful?
idrougge is offline  
Old 16 January 2018, 10:13   #16
AMIGASYSTEM
Registered User
 
AMIGASYSTEM's Avatar
 
Join Date: Aug 2014
Location: Brindisi (Italy)
Age: 70
Posts: 8,248
Quote:
Originally Posted by PeterK View Post
but Ram4 and Ram5 need a heat sink!
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.
AMIGASYSTEM is offline  
Old 16 January 2018, 12:48   #17
mark_k
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
mark_k is online now  
Old 16 January 2018, 14:55   #18
AMIGASYSTEM
Registered User
 
AMIGASYSTEM's Avatar
 
Join Date: Aug 2014
Location: Brindisi (Italy)
Age: 70
Posts: 8,248
Quote:
Originally Posted by mark_k View Post
Rather than use MakeLink, maybe use a command like this instead?
Copy ENVARC:SYS/def_RAM.info RAMisk.info
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
AMIGASYSTEM is offline  
Old 16 January 2018, 15:02   #19
PeterK
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?
PeterK is offline  
Old 16 January 2018, 15:52   #20
AMIGASYSTEM
Registered User
 
AMIGASYSTEM's Avatar
 
Join Date: Aug 2014
Location: Brindisi (Italy)
Age: 70
Posts: 8,248
Quote:
Originally Posted by PeterK View Post
If you are so happy with MakeLink is there a disk.info directory shown with dir or list on your system, too?
Yes also tried other versions, MakeLink WB OS2/OS3 it works for this command
AMIGASYSTEM is offline  
 


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

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 23:27.

Top

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Page generated in 0.09749 seconds with 14 queries