Path: utzoo!news-server.csri.toronto.edu!cs.utexas.edu!sun-barr!lll-winken!uunet!mcsun!ukc!mucs!p4.cs.man.ac.uk!gilbertd From: gilbertd@p4.cs.man.ac.uk (Dave Gilbert) Newsgroups: comp.sys.acorn Subject: Re: MemAlloc, RamDisc and the DeskTop Message-ID: Date: 15 Mar 91 17:36:03 GMT References: <91.073.18:54:03@ira.uka.de> Sender: news@cs.man.ac.uk Lines: 44 In <91.073.18:54:03@ira.uka.de> S_JEKUTSCH@iravcl.ira.uka.de (|S| Sebastian Jek) writes: >I have a small problem and I hope someone can solve it: >I want to install a Ramdisc automatically from within the desktop. So I load >MemAlloc and then do RAMFSSIZE 512. The memory was allocated in the expected >way but no RAMFiler_icon appears (only after I (tried to) alter the size of the >RAM Disc with the Task-Display)! It only works right when the desktop wasn't >already started (1. MemAlloc, 2. RAMFSSIZE 512, 3. desktop). Why does RiscOs >behave in this way and how can I get the icon on the icon-bar? >Please post it or mail me: S_JEKUTSCH@irav1.ira.uka.de Does the ram filing system become available - or is it that the icon just doesn't appear? The thing is that the filers will only start up when the desktop command is given, because this calls a service call to be sent to all the modules which says something like 'the desktop is starting up - do you want to do anything?'. What I would do is (I havent tried it!) 1) Memalloc 2) RAMFSSIZE 512 3) rmreinit ramfs 4) rmreinit ramfsfiler 5) send a service call to the filer pretending to be the desktop asking if it wants to start up You never know - it might work - the other way may be to find out what the task manager does - although I think this may be somewhat difficult. Dave Gilbert -- ------------------------------------------------------------------------------- - Dave Gilbert - gilbertd@p4.cs.man.ac.uk - The MTBF of a piece of equipment - - G7FHJ@GB7NWP - is inversly proportional to its - ------------------------------------------- importance -