One could argue that the current "du" output is correct because the
ecryptfs really requires zero bytes for storing the files (because it's
using the underlying file system for actual storage).

However, that prevents users from from using "du" or any similar tool
for figuring out which files and/or directories take the most disk
space. Because the encrypted files are much bigger than apparent size
especially for small apparent file sizes it would make sense to allow
normal user space programs to compute the real disk space used.

Perhaps one should figure out how "du" is computing its total count for
real disk space taken and then implement required features for ecryptfs
to correctly result in real disk space used in the underlying file
system.

-- 
du reports newly created files on ecryptfs as empty
https://bugs.launchpad.net/bugs/390833
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to