[Bug 390833] Re: du reports newly created files on ecryptfs as empty

2009-11-30 Thread Brad Templeton
Thanks. I agree that reporting zero because the bytes are accounted for in the underlying FS is not the right answer, since this is a different mount point, and it is understood that overlay mounts can cause the same files or disk space to appear twice. Any chance of having a bug fix in karmic,

[Bug 390833] Re: du reports newly created files on ecryptfs as empty

2009-11-04 Thread Tyler Hicks
The masses have spoken :) ** Attachment added: [PATCH] eCryptfs: Add getattr function http://launchpadlibrarian.net/35088311/0001-eCryptfs-Add-getattr-function.patch -- du reports newly created files on ecryptfs as empty https://bugs.launchpad.net/bugs/390833 You received this bug

[Bug 390833] Re: du reports newly created files on ecryptfs as empty

2009-11-03 Thread Mikko Rantalainen
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

Re: [Bug 390833] Re: du reports newly created files on ecryptfs as empty

2009-11-02 Thread Dustin Kirkland
Oh, nice find! Perhaps we can document our way around this bug... -- 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

[Bug 390833] Re: du reports newly created files on ecryptfs as empty

2009-11-01 Thread Tv
FYI du with --apparent-size shows the right logical sizes, it's the sparse block etc support that tries to figure out the underlying storage taken that is the problem. -- du reports newly created files on ecryptfs as empty https://bugs.launchpad.net/bugs/390833 You received this bug notification

[Bug 390833] Re: du reports newly created files on ecryptfs as empty

2009-09-18 Thread Dustin Kirkland
** Changed in: ecryptfs-utils (Ubuntu) Status: New = Triaged ** Changed in: ecryptfs-utils (Ubuntu) Importance: Undecided = Medium -- 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

[Bug 390833] Re: du reports newly created files on ecryptfs as empty

2009-08-31 Thread Tyler Hicks
** Changed in: ecryptfs Status: Confirmed = In Progress -- 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

[Bug 390833] Re: du reports newly created files on ecryptfs as empty

2009-08-27 Thread Tyler Hicks
** Changed in: ecryptfs Importance: Undecided = Medium ** Changed in: ecryptfs Status: New = Confirmed ** Changed in: ecryptfs Assignee: (unassigned) = Tyler Hicks (tyhicks) ** Tags added: kernel -- du reports newly created files on ecryptfs as empty

[Bug 390833] Re: du reports newly created files on ecryptfs as empty

2009-08-19 Thread jbwiv
I'm also having this problem on Jaunty: $ mount | grep home /dev/mapper/MAIN_VG-HOME_LV_crypt on /home type ext3 (rw) /home/user/.Private on /home/user type ecryptfs (ecryptfs_sig=ace5d3dc7966c556,ecryptfs_fnek_sig=c0bd3cca6d89c7fd,ecryptfs_cipher=aes,ecryptfs_key_bytes=16) gvfs-fuse-daemon on

[Bug 390833] Re: du reports newly created files on ecryptfs as empty

2009-08-19 Thread jbwiv
Also, please note, running sync doesn't fix the problem: $ du -sh test123 0 test123 $ sync $ sudo sync [sudo] password for user: $ du -sh test123 0 test123 -- du reports newly created files on ecryptfs as empty https://bugs.launchpad.net/bugs/390833 You received this bug

[Bug 390833] Re: du reports newly created files on ecryptfs as empty

2009-08-19 Thread jbwiv
The question expired, but IMO this is most definitely a bug, and a pretty important one at that. ** Changed in: ecryptfs Status: Invalid = New ** Changed in: ecryptfs-utils (Ubuntu) Status: Invalid = New -- du reports newly created files on ecryptfs as empty

[Bug 390833] Re: du reports newly created files on ecryptfs as empty

2009-07-09 Thread Tyler A
I just wanted to add to this discussion/report my own experience with this bug. It seems that the issue occurs not just between sync, but even after a reboot/remount. I have an ecryptfs-mounted home directory, within which everything appears to be 0 bytes. However, I *can* read the files and they

[Bug 390833] Re: du reports newly created files on ecryptfs as empty

2009-06-22 Thread Dustin Kirkland
Hello, thanks for the bug report. I'll leave the definitive answer to Tyler Hicks, the upstream kernel maintainer, but I'll try to field this question as best as I can. Basically, there is a bit of time where the new file exists only in kernel memory, before it gets synced to disk. You might