fiss-linux

Some linux scripts for fiss
Log | Files | Refs | LICENSE

80-filesystems.sh (309B)


      1 if [ -z "$VIRTUALIZATION" ]; then
      2     msg "Unmounting filesystems, disabling swap..."
      3     swapoff -a
      4     umount -r -a -t nosysfs,noproc,nodevtmpfs,notmpfs
      5     msg "Remounting rootfs read-only..."
      6     mount -o remount,ro /
      7 fi
      8 
      9 sync
     10 
     11 if [ -z "$VIRTUALIZATION" ]; then
     12     deactivate_vgs
     13     deactivate_crypt
     14 fi