Problem
I would like to create a ramdisk(HW) or ramdisks on my system where the sum total of all the ramdisks will exceed 104Mb in size.
The ramdisk(ADM) documentation indicates that I can create a single ramdisk(ADM) of up to 512Mb in size.
I have used mknod(ADM) to create the ramdisk device as follows:
mknod /dev/ram512 b 31 248where /dev/ram512 is a block device, 31 is the major number of the ram device driver, and the minor number 248 represents a permanent 512Mb ramdisk.
When I use mkfs(ADM) to create a 1Mbyte filesystem on the device using this command:
mkfs /dev/ram512 2048I get this error:mkfs: default type (AFS) used
/dev/ram512: cannot open Cause
There is an internal limitation in the SCO UNIX Operating System Version 4.2 kernel that will prevent more that 104Mb being allocated for use with the ramdisk(ADM) driver.
Furthermore, this memory must be available in one contiguous fragment for the ramdisk driver to function correctly.
Solution
This has been reported to SCO Engineering. Currently, there
is no workaround for SCO UNIX Version 4.2 based systems.