Jump to content
Wikipedia The Free Encyclopedia

Romfs

From Wikipedia, the free encyclopedia
Simple read-only file system used chiefly for early boot and embedded systems
It is proposed that this article be deleted because of the following concern:

Lack of notability. Lack of non-primary sources. WP:GNG, WP:RS. (proposed by NoahSPARC)

If you can address this concern by improving, copyediting, sourcing, renaming, redirecting, or merging the page, please edit this page and do so. You may remove this message if you improve the article or otherwise object to deletion for any reason. Although not required, you are encouraged to explain why you object to the deletion, either in your edit summary or on the talk page. If this template is removed, do not replace it .

The article may be deleted if this message remains in place for seven days, i.e., after 09:17, 12 June 2026 (UTC).

If you created the article, please don't be offended. Instead, consider improving the article so that it is acceptable according to the deletion policy.
Find sources: "Romfs" – news · newspapers · books · scholar · JSTOR
PROD
Expired+%5B%5BWP%3APROD%7CPROD%5D%5D%2C+concern+was%3A+Lack+of+notability.+Lack+of+non-primary+sources.+%5B%5BWP%3AGNG%5D%5D%2C+%5B%5BWP%3ARS%5D%5D.
Expired [[WP:PROD|prod]], concern was: Lack of notability. Lack of non-primary sources. WP:GNG, WP:RS.

Nominator: Please consider notifying the author/project: {{subst:proposed deletion notify|Romfs|concern=Lack of notability. Lack of non-primary sources. [[WP:GNG]], [[WP:RS]].}} ~~~~
romfs
Other
Supported
operating systems
Unix-like systems

ROMFS (Read-Only Memory File System) is a minimal, read-only computing file system designed for storing files in read-only memory, particularly in Electrically Erasable Programmable Read-Only Memory (EEPROM) or similar ROM media. Due to its small size and straightforward design, it's commonly used in devices where system resources are limited. It's a part of the Linux Kernel since version 2.1.21[1] and can be implemented on other Unix-like systems with appropriate support.[2]

Usage

[edit ]

ROMFS is often used as an initial ROM or initial RAM disk containing kernel modules or essential system files that can be loaded during the boot process.[3] Its implementation requires minimal code, making it suitable for embedded systems and boot floppies.[4] The primary advantage of ROMFS is the ability to decrease the size of a kernel. (excluding modules) [5]

Technical details

[edit ]

ROMFS stores files sequentially in contiguous blocks. The description of the filesystem layout is documented in the Linux kernel source tree and can be accessed through the LXR romfs.rst.[6] ROMFS does not store modification dates or UNIX-like permissions.[7]

Limitations

[edit ]

ROMFS works on data aligned to 16 byte boundaries, yet most hardware works on data aligned to 1024 byte boundaries.[8] As a result, the file system must be padded.

Platform Support and Tools

[edit ]

Apart from support in the Linux Kernel Nikolay Aleksandrov developed romfser (ROMFS Extractor/Reader), an open-source tool to extract and manipulate ROMFS images, which primarily intended for the BSD family of operating systems, which do not include native ROMFS support.[9] Another tool is genromfs, which is a user program for creating a romfs filesystem.[10]

References

[edit ]
  1. ^ "romfs information".
  2. ^ "ROMFS - ROM File System". Linux Kernel Documentation. Retrieved 14 August 2025.
  3. ^ "Is this exactly what RomFS in the Linux kernel does?". Stack Overflow. Retrieved 14 August 2025.
  4. ^ Yaghmour, Karim (2003). Building Embedded Linux Systems. O'Reilly Media. ISBN 978-0596002220.
  5. ^ "ROMFS - ROM File System".
  6. ^ "ROMFS filesystem layout". LXR Cross Referencer. Retrieved 14 August 2025.
  7. ^ "romfs information".
  8. ^ "ROMFS - ROM File System".
  9. ^ "romfser GitHub repository" . Retrieved 14 August 2025.
  10. ^ "ROMFS - ROM File System".
[edit ]
Stub icon

This Linux-related article is a stub. You can help Wikipedia by adding missing information.

AltStyle によって変換されたページ (->オリジナル) /