You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It appears that CryFS volumes created with DroidFS always use the default block size (currently 16k). But cryfs allows users to specify the block size with the --blocksize command line argument. Depending on the nature of the files stored and the underlying filesystem and device, users might have good reason to want to use a different block size. For example, for an exFAT filesystem, the usual block size is 128k. A CryFS volume stored there which uses the default block size of 16k will be wasting 7/8ths of the space in each filesystem block, since it will be creating files of size 16k that take up an entire 128k block on disk. In such a case, it would be far more space-efficient to use --blocksize 131072 when creating the CryFS filesystem. It seems that this is a primary use case for DroidFS, given that on an unrooted phone, you can't mount external storage formatted with ext4 or f2fs.
The text was updated successfully, but these errors were encountered:
It appears that CryFS volumes created with DroidFS always use the default block size (currently 16k). But cryfs allows users to specify the block size with the --blocksize command line argument. Depending on the nature of the files stored and the underlying filesystem and device, users might have good reason to want to use a different block size. For example, for an exFAT filesystem, the usual block size is 128k. A CryFS volume stored there which uses the default block size of 16k will be wasting 7/8ths of the space in each filesystem block, since it will be creating files of size 16k that take up an entire 128k block on disk. In such a case, it would be far more space-efficient to use --blocksize 131072 when creating the CryFS filesystem. It seems that this is a primary use case for DroidFS, given that on an unrooted phone, you can't mount external storage formatted with ext4 or f2fs.
The text was updated successfully, but these errors were encountered: