Subject: Re: Disappearing files in union mount
To: Trevin Beattie <trevin@xmission.com>
From: Frank van der Linden <frank@fwi.uva.nl>
List: current-users
Date: 09/28/1995 22:33:08
Quoting Trevin Beattie,

> Scenario: I've mounted a source tree below my own directory, and in order to
> get things to compile correctly I had to modify one of the source files.
> Later I got the updates to the source, so I want to delete the file that has
> my changes and use the new source file.  However, if I delete my copy of the
> file, the filesystem acts as if the file no longer exists, and I can't see
> the original file unless I list the source directory.

Because you removed a file in the 'top' layer of a union mount, a whiteout
was created for it. Use 'rm -W <file>' to get rid of it, and it should
be ok again.

- Frank

-- 
                  Frank van der Linden, frank@fwi.uva.nl
	       Use NetBSD, it's Unix, it's free and works on:
    i386+, Mac, Amiga, HP300, Sun3, Sun4c, PC532, DEC Alpha, DEC MIPS, Atari
              Work in progress: Vax, Sun4m and a host of others