> > Is there any known method of copying/compressing the loopback-mounted file-
> > system that always guarantees consistency after a sync, without requiring the
> > fs to be unmounted first?
>
> Try mounting the loop device synchronously (mount ... -o sync).
That should not be needed. All data should be on disk by time umount
succeeds. That's not currently the case, and that's a bug.
Pavel
-- I'm pavel@ucw.cz. "In my country we have almost anarchy and I don't care." Panos Katsaloulis describing me w.r.t. patents at discuss@linmodems.org - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/