From: Jordi Pujol Subject: overlayfs v8 problems with whiteout links Date: Fri, 22 Apr 2011 10:43:43 +0200 Message-ID: <201104221043.43380.jordipujolp@gmail.com> Mime-Version: 1.0 Content-Type: Text/Plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: linux-fsdevel@vger.kernel.org, Miklos Szeredi Return-path: Received: from mail-ww0-f44.google.com ([74.125.82.44]:54673 "EHLO mail-ww0-f44.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753596Ab1DVInr (ORCPT ); Fri, 22 Apr 2011 04:43:47 -0400 Received: by wwa36 with SMTP id 36so482056wwa.1 for ; Fri, 22 Apr 2011 01:43:46 -0700 (PDT) Sender: linux-fsdevel-owner@vger.kernel.org List-ID: Hello, Now working on a persistent Live that uses overlayfs v8 and tmpfs xattrs, all works near well but sometimes whiteout fails, I think maybe xattrs create and delete is not synchronized with the operations create and delete for whiteout links. these are commands from a Debian package build, showing a command "rm -rf" that cannot remove the files because a whiteout link was not removed successfully. dpkg-deb: building package `nvidia-kernel-2.6.38-4.jpp.1-lnet-amd64' in `/usr/src/nvidia-kernel-2.6.38-4.jpp.1-lnet- amd64_270.41.06-1.lnet1+2.6.38-16_amd64.deb'. dh_prep rm: cannot remove `debian/nvidia-kernel-2.6.38-4.jpp.1-lnet-amd64/DEBIAN': Directory not empty dh_prep: rm -rf debian/nvidia-kernel-2.6.38-4.jpp.1-lnet-amd64/ returned exit code 1 the directory listing shows the whiteout, but it must be hidden, # ls -R1l nvidia-kernel-2.6.38-4.jpp.1-lnet-amd64 nvidia-kernel-2.6.38-4.jpp.1-lnet-amd64: total 4 drwxr-xr-x 2 root root 4096 2011-04-22 10:19 DEBIAN nvidia-kernel-2.6.38-4.jpp.1-lnet-amd64/DEBIAN: total 0 lrwxrwxrwx 1 root root 18 2011-04-22 10:19 control -> (overlay-whiteout) Thanks, Jordi Pujol Live never ending Tale GNU/Linux Live forever! http://livenet.selfip.com