[augeas-devel] How to use the generic IniFile module?
David Lutterkort
lutter at redhat.com
Tue Mar 13 00:05:01 UTC 2012
On Mon, 2012-03-05 at 10:32 +0100, Biltong wrote:
> Is it possible to list all lenses that Augeas supports?
You can do this with
augtool --noload print /augeas/load/*/lens
That will spit out lines of the form
/augeas/load/Modprobe/lens = "@Modprobe"
The '@Modprobe' is shorthand for 'the lens marked for autoload from
module Modprobe'. You can find that module in general
in /usr/share/augeas/lenses/dist/modprobe.aug, and usually it's the lens
called 'lns' in that file.
David
More information about the augeas-devel
mailing list