Skip to content

Don't automatically mount root file system before init #103

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
lutoma opened this issue Feb 20, 2023 · 0 comments
Open

Don't automatically mount root file system before init #103

lutoma opened this issue Feb 20, 2023 · 0 comments
Labels
fs File system and block devices improvement land Userland

Comments

@lutoma
Copy link
Owner

lutoma commented Feb 20, 2023

Currently, the root filesystem (/) is automatically mounted before init is run. This is problematic because it means we cannot run fsck from init in case the file system is not clean. Instead, it should only load the init file and necessary support stuff and let init try to handle the mount.

This is not currently possible because the ext2 code expects the file sytem to always be mounted first.

@lutoma lutoma added fs File system and block devices improvement land Userland labels Feb 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
fs File system and block devices improvement land Userland
Projects
None yet
Development

No branches or pull requests

1 participant