SkillAgentSearch skills...

Ramfs

Package ramfs implements a 9P2000 file server keeping all files in memory.

Install / Use

/learn @mars9/Ramfs
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

RAMFS

Ramfs starts a 9P2000 file server keeping all files in memory. The filesystem is entirely maintained in memory, no external storage is used. File data is allocated in 2 MiB blocks.

The root of the filesystem is owned by the user who invoked ramfs and is created with Read, Write and Execute permissions for the owner and Read and Execute permissions for everyone else (0755). Ramfs create the necessary directories and files in /adm/ctl, /adm/group and /<hostowner>.

9P2000

A 9P2000 server is an agent that provides one or more hierarchical file systems -- file trees -- that may be accessed by processes. A server responds to requests by clients to navigate the hierarchy, and to create, remove, read, and write files.

References

Usage

To add a new user with name and id gnot and create his home directory:

echo uname gnot gnot | racon write /adm/group

To create a new group sys (with no home directory) and add gnot to it:

echo uname sys :sys | racon write /adm/group
echo uname sys +gnot | racon write /adm/group

Listen manages the network addresses at which ramfs is listening.

echo listen tcp localhost:5641 | racon write /adm/ctl
View on GitHub
GitHub Stars15
CategoryDevelopment
Updated1mo ago
Forks2

Languages

Go

Security Score

90/100

Audited on Feb 8, 2026

No findings