Add bind option to remounts
parent
71a5983d27
commit
0f0f43fc47
|
@ -68,8 +68,8 @@ The necessary mounts may differ from system to system. For instance, Ubuntu need
|
|||
|
||||
**NOTE:** If your 64-bit system doesn't have a `/lib` folder but only `/lib64` you may need to change the `/lib` line in your `/etc/fstab` as follows:
|
||||
|
||||
/lib64 /bkp/lib64 none bind 0 0
|
||||
/lib64 /bkp/lib64 none remount,ro 0 0
|
||||
/lib64 /bkp/lib64 none bind 0 0
|
||||
/lib64 /bkp/lib64 none remount,ro,bind 0 0
|
||||
|
||||
Don't forget to rename `/bkp/lib` to `/bkp/lib64`. The do the same with `/usr/lib` / `/usr/lib64`.
|
||||
|
||||
|
|
|
@ -1,14 +1,14 @@
|
|||
# BEGIN: rs-backup-suite
|
||||
#/bin ::BACKUP_ROOT::/bin none bind 0 0
|
||||
#/bin ::BACKUP_ROOT::/bin none remount,ro 0 0
|
||||
#/lib ::BACKUP_ROOT::/lib none bind 0 0
|
||||
#/lib ::BACKUP_ROOT::/lib none remount,ro 0 0
|
||||
#/dev ::BACKUP_ROOT::/dev none bind 0 0
|
||||
#/dev ::BACKUP_ROOT::/dev none remount,ro 0 0
|
||||
#/usr/bin ::BACKUP_ROOT::/usr/bin none bind 0 0
|
||||
#/usr/bin ::BACKUP_ROOT::/usr/bin none remount,ro 0 0
|
||||
#/usr/lib ::BACKUP_ROOT::/usr/lib none bind 0 0
|
||||
#/usr/lib ::BACKUP_ROOT::/usr/lib none remount,ro 0 0
|
||||
#/usr/share/perl5 ::BACKUP_ROOT::/usr/share/perl5 none bind 0 0
|
||||
#/usr/share/perl5 ::BACKUP_ROOT::/usr/share/perl5 none remount,ro 0 0
|
||||
#/bin ::BACKUP_ROOT::/bin none bind 0 0
|
||||
#/bin ::BACKUP_ROOT::/bin none remount,ro,bind 0 0
|
||||
#/lib ::BACKUP_ROOT::/lib none bind 0 0
|
||||
#/lib ::BACKUP_ROOT::/lib none remount,ro,bind 0 0
|
||||
#/dev ::BACKUP_ROOT::/dev none bind 0 0
|
||||
#/dev ::BACKUP_ROOT::/dev none remount,ro,bind 0 0
|
||||
#/usr/bin ::BACKUP_ROOT::/usr/bin none bind 0 0
|
||||
#/usr/bin ::BACKUP_ROOT::/usr/bin none remount,ro,bind 0 0
|
||||
#/usr/lib ::BACKUP_ROOT::/usr/lib none bind 0 0
|
||||
#/usr/lib ::BACKUP_ROOT::/usr/lib none remount,ro,bind 0 0
|
||||
#/usr/share/perl5 ::BACKUP_ROOT::/usr/share/perl5 none bind 0 0
|
||||
#/usr/share/perl5 ::BACKUP_ROOT::/usr/share/perl5 none remount,ro,bind 0 0
|
||||
# END: rs-backup-suite
|
||||
|
|
|
@ -1,16 +1,16 @@
|
|||
# BEGIN: rs-backup-suite
|
||||
#mount -o bind /bin ::BACKUP_ROOT::/bin
|
||||
#mount -o remount,ro ::BACKUP_ROOT::/bin
|
||||
#mount -o bind /lib ::BACKUP_ROOT::/lib
|
||||
#mount -o remount,ro ::BACKUP_ROOT::/lib
|
||||
#mount -o bind /dev ::BACKUP_ROOT::/dev
|
||||
#mount -o remount,ro ::BACKUP_ROOT::/dev
|
||||
#mount -o bind /usr/bin ::BACKUP_ROOT::/usr/bin
|
||||
#mount -o remount,ro ::BACKUP_ROOT::/usr/bin
|
||||
#mount -o bind /opt/bin ::BACKUP_ROOT::/opt/bin
|
||||
#mount -o remount,ro ::BACKUP_ROOT::/opt/bin
|
||||
#mount -o bind /opt/lib ::BACKUP_ROOT::/opt/lib
|
||||
#mount -o remount,ro ::BACKUP_ROOT::/opt/lib
|
||||
#mount -o bind /opt/libexec ::BACKUP_ROOT::/opt/libexec
|
||||
#mount -o remount,ro ::BACKUP_ROOT::/opt/libexec
|
||||
#mount -o bind /bin ::BACKUP_ROOT::/bin
|
||||
#mount -o remount,ro,bind ::BACKUP_ROOT::/bin
|
||||
#mount -o bind /lib ::BACKUP_ROOT::/lib
|
||||
#mount -o remount,ro,bind ::BACKUP_ROOT::/lib
|
||||
#mount -o bind /dev ::BACKUP_ROOT::/dev
|
||||
#mount -o remount,ro,bind ::BACKUP_ROOT::/dev
|
||||
#mount -o bind /usr/bin ::BACKUP_ROOT::/usr/bin
|
||||
#mount -o remount,ro,bind ::BACKUP_ROOT::/usr/bin
|
||||
#mount -o bind /opt/bin ::BACKUP_ROOT::/opt/bin
|
||||
#mount -o remount,ro,bind ::BACKUP_ROOT::/opt/bin
|
||||
#mount -o bind /opt/lib ::BACKUP_ROOT::/opt/lib
|
||||
#mount -o remount,ro,bind ::BACKUP_ROOT::/opt/lib
|
||||
#mount -o bind /opt/libexec ::BACKUP_ROOT::/opt/libexec
|
||||
#mount -o remount,ro,bind ::BACKUP_ROOT::/opt/libexec
|
||||
# END: rs-backup-suite
|
||||
|
|
|
@ -1,14 +1,14 @@
|
|||
# BEGIN: rs-backup-suite
|
||||
#/bin ::BACKUP_ROOT::/bin none bind 0 0
|
||||
#/bin ::BACKUP_ROOT::/bin none remount,ro 0 0
|
||||
#/lib ::BACKUP_ROOT::/lib none bind 0 0
|
||||
#/lib ::BACKUP_ROOT::/lib none remount,ro 0 0
|
||||
#/dev ::BACKUP_ROOT::/dev none bind 0 0
|
||||
#/dev ::BACKUP_ROOT::/dev none remount,ro 0 0
|
||||
#/usr/bin ::BACKUP_ROOT::/usr/bin none bind 0 0
|
||||
#/usr/bin ::BACKUP_ROOT::/usr/bin none remount,ro 0 0
|
||||
#/usr/lib ::BACKUP_ROOT::/usr/lib none bind 0 0
|
||||
#/usr/lib ::BACKUP_ROOT::/usr/lib none remount,ro 0 0
|
||||
#/usr/share/perl ::BACKUP_ROOT::/usr/share/perl none bind 0 0
|
||||
#/usr/share/perl ::BACKUP_ROOT::/usr/share/perl none remount,ro 0 0
|
||||
#/bin ::BACKUP_ROOT::/bin none bind 0 0
|
||||
#/bin ::BACKUP_ROOT::/bin none remount,ro,bind 0 0
|
||||
#/lib ::BACKUP_ROOT::/lib none bind 0 0
|
||||
#/lib ::BACKUP_ROOT::/lib none remount,ro,bind 0 0
|
||||
#/dev ::BACKUP_ROOT::/dev none bind 0 0
|
||||
#/dev ::BACKUP_ROOT::/dev none remount,ro,bind 0 0
|
||||
#/usr/bin ::BACKUP_ROOT::/usr/bin none bind 0 0
|
||||
#/usr/bin ::BACKUP_ROOT::/usr/bin none remount,ro,bind 0 0
|
||||
#/usr/lib ::BACKUP_ROOT::/usr/lib none bind 0 0
|
||||
#/usr/lib ::BACKUP_ROOT::/usr/lib none remount,ro,bind 0 0
|
||||
#/usr/share/perl ::BACKUP_ROOT::/usr/share/perl none bind 0 0
|
||||
#/usr/share/perl ::BACKUP_ROOT::/usr/share/perl none remount,ro,bind 0 0
|
||||
# END: rs-backup-suite
|
||||
|
|
Loading…
Reference in New Issue