mirror of
https://github.com/sigmasternchen/Wish
synced 2025-03-15 15:38:54 +00:00
fs modules modify fs-init-method
This commit is contained in:
parent
59e0308d56
commit
ec3d14d411
3 changed files with 17 additions and 11 deletions
|
@ -1,3 +1,13 @@
|
||||||
|
Kernel.Filesystem.init = extendFunction(Kernel.Filesystem.init, function() {
|
||||||
|
Kernel.msgOut(" init basefs...");
|
||||||
|
Kernel.Filesystem.basefs.init();
|
||||||
|
Kernel.msgSuccess(true);
|
||||||
|
|
||||||
|
Kernel.msgOut(" loading sd" + (String.fromCharCode("a".charCodeAt(0) + OS.system.hdd)) + (1 + OS.system.partition) + " to RAM (this may take some time)...");
|
||||||
|
Kernel.Filesystem.basefs.getRootStructure();
|
||||||
|
}
|
||||||
|
);
|
||||||
|
|
||||||
Kernel.Filesystem.basefs = function() {
|
Kernel.Filesystem.basefs = function() {
|
||||||
}
|
}
|
||||||
Kernel.Filesystem.basefs.baseURL;
|
Kernel.Filesystem.basefs.baseURL;
|
||||||
|
|
|
@ -1,3 +1,10 @@
|
||||||
|
Kernel.Filesystem.init = extendFunction(Kernel.Filesystem.init, function() {
|
||||||
|
Kernel.msgOut(" init devfs...");
|
||||||
|
Kernel.Filesystem.devfs.init();
|
||||||
|
Kernel.msgSuccess(true);
|
||||||
|
}
|
||||||
|
);
|
||||||
|
|
||||||
Kernel.Filesystem.devfs = function() {
|
Kernel.Filesystem.devfs = function() {
|
||||||
}
|
}
|
||||||
Kernel.Filesystem.devfs.devices;
|
Kernel.Filesystem.devfs.devices;
|
||||||
|
|
|
@ -83,17 +83,6 @@ Kernel.Filesystem.init = function() {
|
||||||
Kernel.msgOut(" init vfs...");
|
Kernel.msgOut(" init vfs...");
|
||||||
Kernel.Filesystem.vfs.init();
|
Kernel.Filesystem.vfs.init();
|
||||||
Kernel.msgSuccess(true);
|
Kernel.msgSuccess(true);
|
||||||
|
|
||||||
Kernel.msgOut(" init devfs...");
|
|
||||||
Kernel.Filesystem.devfs.init();
|
|
||||||
Kernel.msgSuccess(true);
|
|
||||||
|
|
||||||
Kernel.msgOut(" init basefs...");
|
|
||||||
Kernel.Filesystem.basefs.init();
|
|
||||||
Kernel.msgSuccess(true);
|
|
||||||
|
|
||||||
Kernel.msgOut(" loading sd" + (String.fromCharCode("a".charCodeAt(0) + OS.system.hdd)) + (1 + OS.system.partition) + " to RAM (this may take some time)...");
|
|
||||||
Kernel.Filesystem.basefs.getRootStructure();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
Kernel.Filesystem.initCon = function() {
|
Kernel.Filesystem.initCon = function() {
|
||||||
|
|
Loading…
Reference in a new issue