Welcome, Guest. Please login or register.

Author Topic: Some questions about RAM disk  (Read 3323 times)

Description:

0 Members and 1 Guest are viewing this topic.

Offline Piru

  • \' union select name,pwd--
  • Hero Member
  • *****
  • Join Date: Aug 2002
  • Posts: 6946
    • Show all replies
    • http://www.iki.fi/sintonen/
Re: Some questions about RAM disk
« on: February 22, 2008, 11:01:24 PM »
Quote
1) What filesystem does "Ram Disk" use, aka RAM:

Ram Disk has a custom filesystem. In fact, Ram Disk is the filesystem. It doesn't have a device at all. IIRC at least AmigaOS 1.x-3.x had filename/dirname length limit of 30 chars.

Quote
2) ) What size does "Ram Disk" have?
2: I assume that it grows dynamically? That it eats chunks of Ram, and frees RAM as it needs to store it's contents. And that it uses FAST RAM first, then Chip?

Ram Disk allocates memory in 1KB chunks, and it grows/shrinks dynamically. Memory type is MEMF_ANY, so highest priority memory is used first (fast > chip and so on).

Quote
3) How is "Ram Disk" created?

KS 2.0+: System initialization adds Ram Drive to the system automagically. First use of it starts the handler. The handler is located inside the kickstart ROM.

KS 1.x: ram-handler was on floppy disk (L:), and if it didn't exist accessing RAM: would fail.

[EDIT] Fixed my 1.x nonsense [/EDIT]
 

Offline Piru

  • \' union select name,pwd--
  • Hero Member
  • *****
  • Join Date: Aug 2002
  • Posts: 6946
    • Show all replies
    • http://www.iki.fi/sintonen/
Re: Some questions about RAM disk
« Reply #1 on: February 26, 2008, 12:23:31 AM »
@Thomas

Ah, true.

I think I mixed it with shell-seg or something. :-)
 

Offline Piru

  • \' union select name,pwd--
  • Hero Member
  • *****
  • Join Date: Aug 2002
  • Posts: 6946
    • Show all replies
    • http://www.iki.fi/sintonen/
Re: Some questions about RAM disk
« Reply #2 on: February 26, 2008, 03:39:58 AM »
@smerf

That picture is something like 23 years old :-)