|
PatchworkOS
|
RAM filesystem. More...
Data Structures | |
| struct | ramfs_superblock_data_t |
| Superblock private data for ramfs. More... | |
| struct | ramfs_dentry_data_t |
| Dentry private data for ramfs. More... | |
Macros | |
| #define | RAMFS_NAME "ramfs" |
| The name of the ramfs filesystem. | |
Functions | |
| void | ramfs_init (const boot_disk_t *disk) |
| Registers the ramfs filesystem and mounts it as the root filesystem. | |
RAM filesystem.
A simple in-memory filesystem thats loaded from the bootloader. All data is lost when the system is powered off or rebooted.
| void ramfs_init | ( | const boot_disk_t * | disk | ) |
Registers the ramfs filesystem and mounts it as the root filesystem.
| disk | The boot disk from the bootloader. |
Definition at line 385 of file ramfs.c.
References ERR, LOG_INFO, mount, namespace_mount(), NULL, panic(), ramfs, RAMFS_NAME, VFS_DEVICE_NAME_NONE, and vfs_register_fs().
Referenced by init_finalize().