disk.info (ram disk) - directory?!?
1 Attachment(s)
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. |
Try to delete the file Disk.info from the Ram Disk, it may be that you have associated directory icon.
|
if i delete it, it's back after reboot. same problem, disk.info as directory.
|
Maybe you have a buggy link instruction in your startup-sequence for Ram Disk?
|
Quote:
|
Or maybe the icon type has changed for some reason. Check the type of the original icon.
|
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? |
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. |
Quote:
Quote:
I am attaching one Def_RAM.info copy it into"SYS:Prefs/Env-Archive/Sys/Def_Ram.info" |
1 Attachment(s)
Quote:
Better try the Ram Disk icon designed by Ken Lester :) (the tooltype "noghost" is already added). |
Quote:
I have created two hours I hope you enjoy it :agree |
Yes, I enjoy it! :)
Ram3 is a good choice for OS4, but Ram4 and Ram5 need a heat sink! :D |
Quote:
The link allows just that. The icon behaves like a normal icon and all changes are saved to harddisk. |
@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. |
Aren't soft links too buggy to be useful?
|
Quote:
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. |
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 |
Quote:
|
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? |
Quote:
|
All times are GMT +2. The time now is 03:02. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.