Add a basic read-only implementation for the Ext2 filesystem #29
@ -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);
|
||||
|
||||
|
@ -1,5 +1,5 @@
|
||||
#!/bin/sh
|
||||
|
||||
mkdir -p /tmp
|
||||
mount -t tmpfs /tmp tmpfs
|
||||
mount -t tmpfs tmpfs /tmp
|
||||
chmod 1777 /tmp
|
||||
|
Loading…
Reference in New Issue
Block a user