summaryrefslogtreecommitdiff
path: root/md/notes/xos
diff options
context:
space:
mode:
Diffstat (limited to 'md/notes/xos')
-rw-r--r--md/notes/xos/nmount.md22
1 files changed, 20 insertions, 2 deletions
diff --git a/md/notes/xos/nmount.md b/md/notes/xos/nmount.md
index 8cfca03..0600233 100644
--- a/md/notes/xos/nmount.md
+++ b/md/notes/xos/nmount.md
@@ -79,9 +79,22 @@ nodev fusectl
Currently help is supproted for procfs,devtmpfs and sysfs. Next to add is ext4
```
+#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
-nmount_static -v -t sysfs -d /System -f nosuid,nodec,nosuid,realtime
+
+#mount sys
+nmount_static -v -t sysfs -d /System -f nosuid,nodev,nosuid,realtime
+
+#mount ext4
+
+#mount mqueue
+nmount_static -v -t mqueue -d /Queue -f rw,nodev,nosuid,realtime
+
+#mount tmpfs
+nmount_static -v -t tmpfs -d /Ram -f rw,nodev,nosuid,realtime
```
available options
@@ -103,7 +116,7 @@ output help thats shows all availiable options, for fs
```
./nmount -f proc -a
devtmpfs /Device
-mqueue /MQueue/
+mqueue /Queue/
proc /Process
hidepid=%u
0 Everybody may access all proc
@@ -114,7 +127,12 @@ proc /Process
tmpfs /Ram
sysfs /System
ext4 (null)
+ext3 (null)
+ext2 (null)
vfat (null)
+msdos (null)
+ntfs (null)
+
```