absorber123 wrote:Please help me for how to use "mount -o bind" specific to this case.
For instance:
- Code: Select all
mkdir /tmp/umsp_plugins
cp -a /etc/umsp/plugins/*.php /tmp/umsp_plugins
mount -o bind /tmp/umsp_plugins /etc/umsp/plugins
Then, /etc/umsp/plugins magically becomes writable, as it's now a synonym for /tmp/umsp_plugins, and you can install your own plugins there.
Just remember that /tmp is a temporary area whose contents are not kept across reboots. So, if you're putting your own scripts therein, remember to keep a backup copy in a permanent storage area.
You have to execute these commands after each reboot, so you may want to put them in a shell script for easiness of use.



