summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordianshi <dianshi@main.lv>2020-07-07 18:09:07 +0100
committerdianshi <dianshi@main.lv>2020-07-07 18:09:07 +0100
commit29ca4b3679a569b4c972cbaa2cdb634e7ee19aa6 (patch)
tree53f08f6b19d2cdacb4b771ff0510685f0695fd65
parent2a123f9637b516a983baf9c77705230a7d9b8ea2 (diff)
downloadnmount-29ca4b3679a569b4c972cbaa2cdb634e7ee19aa6.tar.gz
nmount-29ca4b3679a569b4c972cbaa2cdb634e7ee19aa6.zip
Update new fs table
-rw-r--r--README.txt11
-rw-r--r--nmount.c8
2 files changed, 16 insertions, 3 deletions
diff --git a/README.txt b/README.txt
index 354d8d0..858079c 100644
--- a/README.txt
+++ b/README.txt
@@ -5,8 +5,17 @@ nmount -v -t ext4 -s /dev/mmcblk0p7 -d /mnt/disk0 -f nodev,noexec,nosuid
#mount proc
nmount_static -v -t proc -d /Process -f nosuid,nodev,noexec,realtime
+
#mount dev
nmount_static -v -t devtmpfs -d /Devices -f nosuid
+
#mount sys
nmount_static -v -t sysfs -d /System -f nosuid,nodec,nosuid,realtime
-#mount other disk \ No newline at end of file
+
+#mount ext4
+
+#mount mqueue
+nmount_static -v -t mqueue -d /Queue -f nosuid,nodec,nosuid,realtime
+
+#mount tmpfs
+nmount_static -v -t tmpfs -d /Ram -f nosuid,nodec,nosuid,realtime
diff --git a/nmount.c b/nmount.c
index 7746855..ecb0219 100644
--- a/nmount.c
+++ b/nmount.c
@@ -87,12 +87,16 @@ static const struct vfs {
vfs_options *options; //hellpers to show all possible options to config fs mount
} vfstab[] = {
{"devtmpfs", 0, "/Device", 1, NULL},
- {"mqueue", 0, "/MQueue/", 0, NULL},
+ {"mqueue", 0, "/Queue/", 1, NULL},
{"proc", 0, "/Process", 1, (struct vfs_options*)&vfs_options_proc},
- {"tmpfs", 0, "/Ram", 0, NULL},
+ {"tmpfs", 0, "/Ram", 1, NULL},
{"sysfs", 0, "/System", 1, NULL},
{"ext4", 0, NULL, 0, NULL},
+ {"ext3", 0, NULL, 0, NULL},
+ {"ext2", 0, NULL, 0, NULL},
{"vfat", 0, NULL, 0, NULL},
+ {"msdos", 0, NULL, 0, NULL},
+ {"ntfs", 0, NULL, 0, NULL},
{NULL, 0, NULL, 0, NULL},
};