From ae6e96849e89945b28740fc5b1e0d15e3d648455 Mon Sep 17 00:00:00 2001 From: James Swineson Date: Tue, 9 Apr 2019 17:41:06 +0800 Subject: [PATCH] update readme --- README.md | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/README.md b/README.md index b25eb78..9b1cce5 100644 --- a/README.md +++ b/README.md @@ -32,22 +32,16 @@ I am not responsible for bricked devices, dead HDDs and SSDs, unreplied tickets, 1. If you use SSH to connect to the server, make sure you can log in directly as root using SSH 1. run the script, and follow the instructions -`menhera.sh` will try to download a new rootfs into the memory, replace the old rootfs and kill all processes reading the old rootfs. The old rootfs will be mounted to `/mnt/oldroot`. An example filesystem structure after running `menhera.sh` on my test VPS: +`menhera.sh` will try to download a new rootfs into the memory, replace the old rootfs and kill all processes reading the old rootfs. The old rootfs will be mounted to `/mnt/oldroot`. An simplified example filesystem structure after running `menhera.sh` on my test VPS: ``` root@localhost:~# findmnt TARGET SOURCE FSTYPE OPTIONS / overlay overlay rw,relatime,lowerdir=/tmp/menhera/newrootro,upperdir=/tmp/menhera/newrootrw,workdir=/tmp/menhera/overlayfs_workdir ├─/sys sysfs sysfs rw,nosuid,nodev,noexec,relatime -│ ├─/sys/kernel/security securityfs securityfs rw,nosuid,nodev,noexec,relatime -│ ├─/sys/fs/cgroup tmpfs tmpfs ro,nosuid,nodev,noexec,mode=755 -│ │ └─/sys/fs/cgroup/... -│ └─/sys/kernel/debug debugfs debugfs rw,relatime ├─/proc proc proc rw,nosuid,nodev,noexec,relatime ├─/dev udev devtmpfs rw,nosuid,relatime,size=1014856k,nr_inodes=253714,mode=755 -│ └─/dev/... ├─/run tmpfs tmpfs rw,nosuid,noexec,relatime,size=205236k,mode=755 -│ └─/run/lock tmpfs tmpfs rw,nosuid,nodev,noexec,relatime,size=5120k ├─/mnt/oldroot /dev/md0p1 ext4 rw,relatime,discard,data=ordered └─/tmp tmpfs tmpfs rw,relatime └─/tmp/menhera tmpfs tmpfs rw,relatime