[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

[augeas-devel] howto create a new conf file and save it



My config file format just like xorg.aug
Readind config files all ok.
Modify some fields then write ok too.

But I wonder :

1. Can I create a new config file and save it to disk using augtool or c
   code?
   If yes, Howto do it,

2. How can I create new node(e.g. a section like in xorg.conf) and let
   augeas known use which lense to manage it

-- 
Best Regards,
zzs




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]