Subject: Re: File Size Limitations
To: NetBSD User's Discussion List <netbsd-users@NetBSD.ORG>
From: Pavel Cahyna <pcah8322@artax.karlin.mff.cuni.cz>
List: netbsd-users
Date: 01/20/2005 22:37:40
> [ On Wednesday, January 19, 2005 at 20:49:06 (+0100), Pavel Cahyna wrote: ]
> > Subject: Re: File Size Limitations
> >
> > How can any soft updates mechanism guarantee that e.g. the rename
> > operation, which is supposed to be atomic, will not leave both 
> > names (the old one and the new one) if it is interrupted by a crash in the
> > middle?
> 
> The same way any filesystem not using soft updates does.
> 
> I.e. it relies on fsck, and ultimately the administrator.  ;-)

This can't be fixed by fsck, because having both link isn't an
inconsistency. It just violates the expectation that renames are atomic.

Bye	Pavel