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


_______________________________________________
augeas-devel mailing list
augeas-devel@redhat.com
https://www.redhat.com/mailman/listinfo/augeas-devel

Reply via email to