We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4ee6afd commit 2d62f48Copy full SHA for 2d62f48
init/do_mounts.c
@@ -372,7 +372,8 @@ void __init prepare_namespace(void)
372
373
if (saved_root_name[0]) {
374
root_device_name = saved_root_name;
375
- if (!strncmp(root_device_name, "mtd", 3)) {
+ if (!strncmp(root_device_name, "mtd", 3) ||
376
+ !strncmp(root_device_name, "ubi", 3)) {
377
mount_block_root(root_device_name, root_mountflags);
378
goto out;
379
}
0 commit comments