[augeas-devel] Transparent update of files with cross-filesystem links
Nathaniel Griswold
griswold at cs.wisc.edu
Sat Aug 8 01:05:17 UTC 2009
Hi,
It's known that augeas fails on saves for cross-filesystem symlinks.
For example, on a rhel5 system with /etc/grub.conf ->
/boot/grub/grub.conf system, a non-SAVE_NEWFILE save will fail.
The current workaround is setting /augeas/save/copy_if_rename_fails to
something.
I was considering patching augeas to just make this completely
transparent. In other words, wouldn't it be possible to just create
the temporary file on the target filesystem and perform an atomic
rename? I'm wondering if there is any reasoning for not going this
route.
Thank you
-nate
More information about the augeas-devel
mailing list