summaryrefslogtreecommitdiff
path: root/Source/Kernel/VFS/VFS.ns.cpp
diff options
context:
space:
mode:
authorAlexis211 <alexis211@gmail.com>2009-11-28 12:36:01 +0100
committerAlexis211 <alexis211@gmail.com>2009-11-28 12:36:01 +0100
commit4d0939e2853ffd9d49b83524923351f9776866d7 (patch)
treecbaf59ee30e60f268a03ea28f9cbdf2b278f2fcf /Source/Kernel/VFS/VFS.ns.cpp
parentbcb8807209f4aa7da4d7fec54857599b60c87947 (diff)
downloadMelon-4d0939e2853ffd9d49b83524923351f9776866d7.tar.gz
Melon-4d0939e2853ffd9d49b83524923351f9776866d7.zip
Caching mechanism added and floppy driver fixed on qemu/vbox
Diffstat (limited to 'Source/Kernel/VFS/VFS.ns.cpp')
-rw-r--r--Source/Kernel/VFS/VFS.ns.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/Source/Kernel/VFS/VFS.ns.cpp b/Source/Kernel/VFS/VFS.ns.cpp
index 6a5fe4e..3b59c5a 100644
--- a/Source/Kernel/VFS/VFS.ns.cpp
+++ b/Source/Kernel/VFS/VFS.ns.cpp
@@ -90,7 +90,6 @@ bool mount(String str, VirtualTerminal* vt, multiboot_info_t *mbd) {
*vt << "Syntax: <mountpoint>:[<dev_class>]:<dev_id>:<part_id>[:<fs_type>[:[ro|rw]]]\n";
return false;
}
- if (fs[1] == "") fs[1] = "block";
if (fs.size() < 5) fs.push("");
if (fs.size() < 6) fs.push("ro"); //By default, mount file systems read-only
BlockDevice* d = Part::dev(fs[1], fs[2].toInt());