16 January 2018, 19:23 | #21 |
Registered User
Join Date: Jan 2002
Location: Germany
Posts: 6,987
|
I once made a program which makes a real disk.info in RAM and maintains a copy of it on harddisk: http://aminet.net/util/misc/snapvol.lha
With this you don't have an object which is listed as a dicrectory and it also works on RAM disks below 3.9. |
16 January 2018, 20:58 | #22 |
Registered User
Join Date: Aug 2014
Location: Brindisi (Italy)
Age: 70
Posts: 8,248
|
Thomas Thank you, your application works perfectly on my AFA OS (see video attached)
The link you have attached does not work, this of your site works instead: http://thomas-rapp.homepage.t-online...ds/snapvol.lha Last edited by AMIGASYSTEM; 23 January 2018 at 00:01. |
16 January 2018, 22:26 | #23 |
Registered User
Join Date: Jan 2002
Location: Germany
Posts: 6,987
|
The link does work. But indeed it is not the one I intended to post. I hate it if people post direct download links. This is the link to the description: http://aminet.net/package/util/misc/snapvol
|
16 January 2018, 23:18 | #24 |
Registered User
Join Date: Oct 2014
Location: Klagenfurt / Austria
Posts: 1,569
|
giving snapvol a try as all other suggestions were a bit too complicated for me.
replaced makelink line in startup-sequence with snapvol (#1) looks much better (#2)! readme states that on os3.9 systems >bb2 it would be better using makelink instead. but this "solution" produced that bug/error, so snapvol is also best choice for >bb2! Last edited by honx; 16 January 2018 at 23:26. |
17 January 2018, 01:02 | #25 |
Registered User
Join Date: Aug 2014
Location: Brindisi (Italy)
Age: 70
Posts: 8,248
|
|
17 January 2018, 02:07 | #26 | |
Registered User
Join Date: Mar 2010
Location: Beckenham/England
Posts: 795
|
Quote:
We should be looking to replace the inadequate software instead. Newdir has no problem recognising the softlink: I've been using the makelink method for almost 20 years, and would require evidence of much more serious problems than this to convince me to stop using it. |
|
17 January 2018, 02:23 | #27 |
Registered User
Join Date: Oct 2014
Location: Klagenfurt / Austria
Posts: 1,569
|
how do i get such a colourful shell like shown in your attachment?
|
17 January 2018, 03:30 | #28 |
Registered User
Join Date: Mar 2010
Location: Beckenham/England
Posts: 795
|
It doesn't look that colourful most of the time, my default look is white text on a black background. Some commands use their own colour hi-lighting. The fact that the text has stayed red after the newdir command was run proves that newdir also has it's problems.
The list command that comes with PFS doesn't report softlinks, but doesn't misreport them as directories either: Here is my VNC prefs: VNCPrefs.lha S:Shell-Startup can also affect how your shell looks. |
17 January 2018, 06:18 | #29 | |||
Registered User
Join Date: Apr 2005
Location: digital hell, Germany, after 1984, but worse
Posts: 3,366
|
Quote:
Code:
dos.library/MakeLink NAME MakeLink -- Creates a filesystem link (V36) SYNOPSIS success = MakeLink( name, dest, soft ) D0 D1 D2 D3 BOOL MakeLink( STRPTR, LONG, LONG ) FUNCTION Create a filesystem link from 'name' to dest. For "soft-links", dest is a pointer to a null-terminated path string. For "hard- links", dest is a lock (BPTR). 'soft' is FALSE for hard-links, non-zero otherwise. Soft-links are resolved at access time by a combination of the filesystem (by returning ERROR_IS_SOFT_LINK to dos), and by Dos (using ReadLink() to resolve any links that are hit). ... BUGS In V36, soft-links didn't work in the ROM filesystem. This was fixed for V37. Quote:
Quote:
Code:
_MakeLink: move.l #ACTION_MAKE_LINK,d0 ; works by luck - common saves d2/d3!! bra.s obj_common Last edited by PeterK; 17 January 2018 at 07:02. |
|||
17 January 2018, 15:04 | #30 |
Registered User
Join Date: Oct 2009
Location: Germany
Posts: 3,303
|
Filesystems also need to support links. SFS docs say it doesn't support hardlinks, only softlinks. PFS comes with his own Makelink command because it says the WB Makelink has problems with softlinks. It seems it all depends on (luck).
|
17 January 2018, 19:22 | #31 | |
Registered User
Join Date: Aug 2014
Location: Brindisi (Italy)
Age: 70
Posts: 8,248
|
Quote:
|
|
18 January 2018, 02:20 | #32 |
Registered User
Join Date: Apr 2005
Location: digital hell, Germany, after 1984, but worse
Posts: 3,366
|
Just thought about your question again, and I couldn't find a good reason why my icon.library should stay compatible to v45.1 in case of Ram Disk or trashcan icons. Both exist only once on Workbench (unlike disk, drawer, project or tool), so why deleting their position and not writing the window settings back to their def icons in ENVARC:Sys ? I will try that soon ...
|
18 January 2018, 16:53 | #33 | ||||
Registered User
Join Date: Mar 2010
Location: Beckenham/England
Posts: 795
|
Quote:
Quote:
Still not seen any real problems in this one use case (have not used makelink for anything else). Quote:
Quote:
|
||||
18 January 2018, 17:13 | #34 | |
Registered User
Join Date: Apr 2005
Location: digital hell, Germany, after 1984, but worse
Posts: 3,366
|
But not good enough for amber-ram-handler...
Quote:
|
|
18 January 2018, 19:12 | #35 |
Registered User
Join Date: Aug 2014
Location: Brindisi (Italy)
Age: 70
Posts: 8,248
|
|
20 January 2018, 23:17 | #36 |
Registered User
Join Date: Apr 2005
Location: digital hell, Germany, after 1984, but worse
Posts: 3,366
|
Ok, done. But it works on OS 3.5/3.9 only. And I didn't make any changes for the trashcan. Never use it and not sure if there are any problems with the trashcan, too?
|
20 January 2018, 23:24 | #37 |
Registered User
Join Date: Aug 2004
Location:
Posts: 3,337
|
There is more than one trashcan icon (one on each drive/partition) so it wouldn't be appropriate to link all drives' trashcan icons to the same file.
|
20 January 2018, 23:35 | #38 |
Registered User
Join Date: Apr 2005
Location: digital hell, Germany, after 1984, but worse
Posts: 3,366
|
Yes, that's one reason why I didn't change anything for trashcans. And usually they have real icons anyway.
|
21 January 2018, 00:06 | #39 |
Registered User
Join Date: Aug 2014
Location: Brindisi (Italy)
Age: 70
Posts: 8,248
|
Furthermore Peter "GlobalTrash" use two Icons "def_Trashcan.info and def_TrashcanFull.info"
[ Show youtube player ] |
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 |
|
|