remount /
if (: > /.testrw) > /dev/null >&1; then rm -f /.testrw else mount -o remount,rw / || echo 'Failed mount / rw' fi
mount pseudo fs
- /proc
mount -n -t proc -o rw,nosuid,nodev,noexec,relatime proc /proc
- /sys
mount -n -t sysfs -o rw,nosuid,nodev,noexec,relatime sysfs /sys
- /dev
mount -n -t devtmpfs -o rw,nosuid,size=4096k,nr_inodes=1048576,mode=755,inodes64 devtmpfs /dev