Skip to content
This repository was archived by the owner on Oct 11, 2023. It is now read-only.
This repository was archived by the owner on Oct 11, 2023. It is now read-only.

Verbose output for ramdisk info #2233

@niusmallnan

Description

@niusmallnan

RancherOS Version: (ros os version)
v1.1.3

Where are you running RancherOS? (docker-machine, AWS, GCE, baremetal, etc.)
All

In RancherOS fdisk -l reports 16 ram disks (/dev/ram0 ... /dev/ram15), other Linux distributions do not output ramdisk information.

The RAM disk driver is a way to use main system memory as a block device. It is required for initrd, an initial filesystem used if you need to load modules in order to access the root filesystem (see Documentation/initrd.txt). It can also be used for a temporary filesystem for crypto work, since the contents are erased on reboot.

To do list:

  1. Block RAM disk module (brd, CONFIG_BLK_DEV_RAM) compiled as 'y', that means it is 'built-in' and can not be unloaded or loaded with different parameters. This render module completely useless because user can not anymore change it size. We should change it back to 'm' (module) to allow users use this module.
  2. Turn on and off at the right time.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions