From: Jordi Pujol Subject: overlayfs entrles lost Date: Tue, 31 May 2011 11:31:24 +0200 Message-ID: <201105311131.24447.jordipujolp@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: Miklos Szeredi , linux-fsdevel@vger.kernel.org Return-path: Received: from mail-wy0-f174.google.com ([74.125.82.174]:50157 "EHLO mail-wy0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755199Ab1EaJbc (ORCPT ); Tue, 31 May 2011 05:31:32 -0400 Received: by wya21 with SMTP id 21so3143367wya.19 for ; Tue, 31 May 2011 02:31:31 -0700 (PDT) Sender: linux-fsdevel-owner@vger.kernel.org List-ID: Hello, a very interesting thing that happens with overlayfs, the find command does not list a file, but the ls command does it, in the parent directory data we observe that he have added new files to it and the count of files for this directory is not updated, the find command uses the functions opendir and readdir and they not work correctly in overlayfs, # find /tmp/live-net-remaster-probDm/chroot/usr/bin/ -name slxdecode -ls (nothing listed) # ls -l /tmp/live-net-remaster-probDm/chroot/usr/bin/slxdecode -rwxr-xr-x 1 root root 58856 2011-03-30 23:24 /tmp/live-net-remaster- probDm/chroot/usr/bin/slxdecode Thanks, Jordi Pujol Live never ending Tale GNU/Linux Live forever! http://livenet.selfip.com