Add a basic read-only implementation for the Ext2 filesystem #29

Merged
apio merged 14 commits from ext2 into main 2023-07-01 15:38:00 +00:00
2 changed files with 2 additions and 2 deletions
Showing only changes of commit 2aa7056e11 - Show all commits

View File

@ -11,8 +11,8 @@ Result<int> luna_main(int argc, char** argv)
os::ArgumentParser parser;
parser.add_description("Mount a file system.");
parser.add_system_program_info("mount"_sv);
parser.add_positional_argument(target, "mountpoint"_sv, true);
parser.add_positional_argument(source, "source"_sv, true);
parser.add_positional_argument(target, "mountpoint"_sv, true);
parser.add_value_argument(fstype, 't', "type"_sv, "the file system type to use");
parser.parse(argc, argv);

View File

@ -1,5 +1,5 @@
#!/bin/sh
mkdir -p /tmp
mount -t tmpfs /tmp tmpfs
mount -t tmpfs tmpfs /tmp
chmod 1777 /tmp