Re: The argument for fs assistance in handling archives

From: Tonnerre
Date: Mon Sep 06 2004 - 04:04:08 EST


Salut,

On Fri, Sep 03, 2004 at 04:01:17PM +0200, Spam wrote:
> >> mount -t tarfs /some/place/on/disk/foo.tar.gz /mnt/tar
> >> cp /var/tmp/img.gif .
> >> umount /mnt/tar
>
> > Oops! Someone did a rm /some/place/on/disk/foo.tar.gz between steps
> > one and two. Now what happens? Please define those semantics...
>
> Uhm, can you delete a file (loop) that is mounted?

"Text file busy"

But for files this isn't true.

Currently, we have another method assuring data coherency: we remove
the inode only when the last reference goes away.

Tonnerre

Attachment: signature.asc
Description: Digital signature