Martin,
you are right - in this case, there's a simple way to avoid writing
anything, since Augeas can just check whether the old and the new value
for the tree node are different, and hence can figure out if anything
needs to be written at all.
There are more complicated cases of a noop, like
On Wed, 2010-09-15 at 18:53 +0200, martin f krafft wrote:
also sprach David Lutterkort lut...@redhat.com [2010.09.15.1756 +0200]:
To catch your use case in all generality, I could just write the
changed file to a memstream, do the compare from that, and only
write to .augnew when something
On Tue, 2009-03-31 at 14:47 +0200, Raphael Pinson wrote:
Package: augeas-lenses
Version: 0.5.0-0hebex1
Severity: wishlist
There is currently a patch in the Debian augeas package so that the
grub.aug lens looks into /boot/grub/menu.lst instead of /etc/grub.conf
for grub's configuration.
3 matches
Mail list logo