It would be helpful to have an option to write directly. I can see why in
most instances it would be safer to write to a temporary file and then
unlink/link/unlink to put the new material in place, but the above way of
doing things makes it impossible to manage a file with cfengine if it is
to be bind-mounted. :-(
Can you consider this a feature request, please? That is, an option
to "copy" to make it overwrite the data, keeping the same inode.
Pull requests to implement support are most welcome.
On Sat, Apr 7, 2018 at 9:36 AM, Anne Bennett <anne.porcupine.bennett@gmail.com> wrote:On Sat, Apr 7, 2018 at 10:27 AM, Nick Anderson <ni...@cmdln.org> wrote
> I don't think cfengine will write directly to the promised file. It should always
> write to .cfnew and then move into place.
It would be helpful to have an option to write directly. I can see why in
most instances it would be safer to write to a temporary file and then
unlink/link/unlink to put the new material in place, but the above way of
doing things makes it impossible to manage a file with cfengine if it is
to be bind-mounted. :-(
Can you consider this a feature request, please? That is, an option
to "copy" to make it overwrite the data, keeping the same inode.
--
Anne.
--
You received this message because you are subscribed to the Google Groups "help-cfengine" group.
To unsubscribe from this group and stop receiving emails from it, send an email to help-cfengine+unsubscribe@googlegroups.com.
To post to this group, send email to help-c...@googlegroups.com.
Visit this group at https://groups.google.com/group/help-cfengine.
For more options, visit https://groups.google.com/d/optout.