diff options
author | dzwdz | 2023-08-06 01:16:14 +0200 |
---|---|---|
committer | dzwdz | 2023-08-06 01:16:14 +0200 |
commit | 0ddd4d1dab8dc2ba092c7351cfb2e054fce1f429 (patch) | |
tree | dfa378e88be27c189c739190dc3ec7beb8e26aba /src/user/bootstrap/main.c | |
parent | a71120adf590f699c4b8d6249a340976575ea530 (diff) |
kernel: put every driver in /kdev/
there's no real reason for bootstrap to be doing that, and this brings it closer
to only doing the elf loading
Diffstat (limited to 'src/user/bootstrap/main.c')
-rw-r--r-- | src/user/bootstrap/main.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/src/user/bootstrap/main.c b/src/user/bootstrap/main.c index 4e900f5..348486c 100644 --- a/src/user/bootstrap/main.c +++ b/src/user/bootstrap/main.c @@ -17,16 +17,8 @@ int main(void) { _sys_memflag(_psdata_loc, 1, MEMFLAG_PRESENT); setprogname("bootstrap"); - /* move everything provided by the kernel to /kdev */ - MOUNT_AT("/kdev/") { fs_passthru(NULL); } - MOUNT_AT("/") { - const char *l[] = {"/kdev/", NULL}; - fs_whitelist(l); - } - _sys_mount(HANDLE_PROCFS, "/proc/", strlen("/proc/")); MOUNT_AT("/") { fs_dirinject("/proc/"); } - MOUNT_AT("/init/") { tar_driver(&_initrd); } const char *initpath = "bin/amd64/init"; |