Re: Safe File Update (atomic)
On Thu, Jan 6, 2011 at 7:33 PM, Enrico Weigelt <firstname.lastname@example.org> wrote:
> To come back to the original question, I'd like to know which concrete
> realworld problems should be solved by that. One thing an database-like
> transactional filesystem (w/ MVCC) would be nice is package managers:
> we still have the problem that within the update process there may be
> inconsistent states (yes, this had already bitten me!) - if it would
> be possible to make an update visible atomically, that would be a
> big win for critical 24/7 systems.
> My approach to this would be an special unionfs with transactional
> semantics (I admit: no idea how complex it would be implementing this)
A transaction to update multiple files in one atomic go?
Nah, this request is for just a single file, although a future
extension to multiple files shouldn't be too hard.