Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

How can I make a ramdisk?

ramdisk
0
Posted

How can I make a ramdisk?

0

THIS IS UNSUPPORTED. Make sure ‘ram’ is configured into your kernel, and then make device files with major 9 (both blcok and char), minor 0xVSSSSS, where V is the volume number, SSSSS is the number of sectors in the ram disk, and a sector is 256 bytes. For example, mknod /dev/ram1m c 9 0x101000 makes a 1 meg ram disk. Of course, you have to make a file system on it and mount it to make it useful: mkfs /dev/ram1m 1024 Note that you will have to make a block device also. This works for all 9.x systems.

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123