diff options
| author | salmonik <salmonik@tuta.io> | 2026-07-31 16:31:34 +0200 |
|---|---|---|
| committer | salmonik <salmonik@tuta.io> | 2026-07-31 16:31:34 +0200 |
| commit | 6767d96e8ed5049af7b551b00d6320fbfb5dcd05 (patch) | |
| tree | 118e6b52d75684e52f96b923e773a1100c02c5cb /scripts/lib-boot-args.sh | |
| parent | rtc + pci: CMOS clock with date command, PCI bus enumeration (diff) | |
| download | rs-dos-6767d96e8ed5049af7b551b00d6320fbfb5dcd05.tar.gz rs-dos-6767d96e8ed5049af7b551b00d6320fbfb5dcd05.zip | |
vfs: everything is a file — dirs, ramfs, character devices
- fs.rs: node-table VFS (root /dev /tmp /etc). Regular files are
in-memory ramfs; char devices regenerate content on every read so
'cat /dev/rtc' shows the live time. Nodes are stable handles with
tombstone removal; . and .. path resolution.
- /dev devices: mem (raw physical RAM, offset = address), rtc, pci,
version, meminfo, null, zero, console (write prints to screen+serial),
serial. /etc/motd static file.
- shell: ls, cat, hexdump (hexdump -C style), mkdir, touch, rm; echo
gains '>' overwrite and '>>' append redirection (append bug fixed:
first '>' in '>>' was parsed as overwrite)
- boot: fs init + self-test (create/read/write/remove) before the shell
- QEMU verified: file lifecycle, redirection, console/null writes,
mkdir/touch/rm, hexdump /dev/mem and /tmp/x byte-exact
Diffstat (limited to 'scripts/lib-boot-args.sh')
0 files changed, 0 insertions, 0 deletions
