Skip to content

Initialise a Tmpfs superblock for /devices/ before the VFS is even initialised to speedup device initialisation #25

@Dcraftbg

Description

@Dcraftbg

Currently some (if not most) devices require that the VFS is initialised to able to register their devices into /devices. However, if you interact directly and only with the Tmpfs there's nothing wrong with just creating a Devices superblock and when the time comes, mounting it onto root. You can actually do the same with logs (i.e. /logs) that way you can use the logging mechanism and view it inside the OS after it boots instead of what it is currently, where if I wanted to look at the logs on real hardware I'd have to record the screen and go through it frame by frame.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions