How to enable compression and encryption for entire Ext2/Ext3/Ext4 filesystems
I want to enable filesystem level compression for Ext2,Ext3,Ext4 file systems, so that every file created on file system. Also similar thing I want to do for encrypting every file on file system. For file level compression I know chattr command , but that will compress the file after I create file and that I have to set for each file manually.
Please help me.