summaryrefslogtreecommitdiff
path: root/sys/fs
AgeCommit message (Collapse)Author
36 hourskernel: fs: Introduce ctlfsIan Moffett
ctlfs (Control FS) is a filesystem aimed to provide configuration of devices separate from their respective devices files. Most UNIX-like systems rely on the ioctl() mechanism for sending commands to device drivers, while this certainly works, it is important to realize how messy it can get having massive switch cases per driver. ctlfs fixes this by giving each device a "node" in ctlfs that contains several control files. For example, imagine we have a SCSI device (/dev/sd1). Its ctlfs counterpart would be a directory at /ctl/sd1/. For an hdd this may contain files such as: /ctl/sd1/bsize # Block size if read (mode [rwx]: -w-) /ctl/sd1/cmd # Command if written, status if read (mode [rwx]: rw-) ... et cetera Signed-off-by: Ian Moffett <ian@osmora.org>
13 dayskernel: initramfs: Add initial OMAR portIan Moffett
CPIO is very outdated and its implementations varies on different hosts, best to use OSMORA Archive Format (OMAR) instead! Signed-off-by: Ian Moffett <ian@osmora.org>
2025-02-22kernel: devfs: Add support for write()Ian Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2025-02-22kernel: vfs: Add support for write()Ian Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2025-02-21kernel: Update kernel log styleIan Moffett
Kernel logs must now all be lowercase for consistency. A new style called Peripheral Description Notation (PDN) has also been introduced to describe devices. Signed-off-by: Ian Moffett <ian@osmora.org>
2025-02-16project: Update copyright date to 2025Ian Moffett
Was supposed to happen on Jan 1, sorry! Happy late new year! Signed-off-by: Ian Moffett <ian@osmora.org>
2024-10-27kernel: devfs: Add getattr vop for device filesIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2024-07-13kernel: dev: Support bdevswIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2024-07-13kernel: devfs: Allocate buffer for name fieldIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2024-07-12kernel: Add support for devfsIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2024-06-25kernel: initramfs: Implement getattr vopIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2024-06-25kernel: initramfs: Fix dangling pointerIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
2024-06-19kernel: Add initramfs and initial VFS codeIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>