This file is indexed.

/usr/share/augeas/lenses/dist/tests/test_automounter.aug is in augeas-lenses 1.2.0-0ubuntu1.3.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

  1
  2
  3
  4
  5
  6
  7
  8
  9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
 29
 30
 31
 32
 33
 34
 35
 36
 37
 38
 39
 40
 41
 42
 43
 44
 45
 46
 47
 48
 49
 50
 51
 52
 53
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
module Test_automounter =

  let example = "#
# This is an automounter map and it has the following format
# key [ -mount-options-separated-by-comma ] location
# Details may be found in the autofs(5) manpage

# indirect map
cd      -fstype=iso9660,ro,nosuid,nodev :/dev/cdrom
kernel    -ro,soft,intr       ftp.kernel.org:/pub/linux
*       -fstype=auto,loop,ro    :/srv/distros/isos/&.iso

# direct map
/nfs/apps/mozilla             bogus:/usr/local/moxill

# replicated server
path    host1,host2,hostn:/path/path
path    host1,host2:/blah host3(1):/some/other/path
path    host1(5),host2(6),host3(1):/path/path

# multi-mount map
server    -rw,hard,intr       / -ro myserver.me.org:/
server    -rw,hard,intr       / -ro myserver.me.org:/ /usr myserver.me.org:/usr
server    -rw,hard,intr       / -ro myserver.me.org:/ \
                              /usr myserver.me.org:/usr \
                              /home myserver.me.org:/home

server    -rw,hard,intr       / -ro my-with-dash-server.me.org:/

# included maps
+auto_home
"

  test Automounter.lns get example =
    { }
    { "#comment" = "This is an automounter map and it has the following format" }
    { "#comment" = "key [ -mount-options-separated-by-comma ] location" }
    { "#comment" = "Details may be found in the autofs(5) manpage" }
    { }
    { "#comment" = "indirect map" }
    { "1" = "cd"
        { "opt" = "fstype"
            { "value" = "iso9660" } }
        { "opt" = "ro" }
        { "opt" = "nosuid" }
        { "opt" = "nodev" }
        { "location"
            { "1"
                { "path" = "/dev/cdrom" } } } }
    { "2" = "kernel"
        { "opt" = "ro" }
        { "opt" = "soft" }
        { "opt" = "intr" }
        { "location"
            { "1"
                { "host" = "ftp.kernel.org" }
                { "path" = "/pub/linux" } } } }
    { "3" = "*"
        { "opt" = "fstype"
            { "value" = "auto" } }
        { "opt" = "loop" }
        { "opt" = "ro" }
        { "location"
            { "1"
                { "path" = "/srv/distros/isos/&.iso" } } } }
    { }
    { "#comment" = "direct map" }
    { "4" = "/nfs/apps/mozilla"
        { "location"
            { "1"
                { "host" = "bogus" }
                { "path" = "/usr/local/moxill" } } } }
    { }
    { "#comment" = "replicated server" }
    { "5" = "path"
        { "location"
            { "1"
                { "host" = "host1" }
                { "host" = "host2" }
                { "host" = "hostn" }
                { "path" = "/path/path" } } } }
    { "6" = "path"
        { "location"
            { "1"
                { "host" = "host1" }
                { "host" = "host2" }
                { "path" = "/blah" } }
            { "2"
                { "host" = "host3"
                    { "weight" = "1" } }
                { "path" = "/some/other/path" } } } }
    { "7" = "path"
        { "location"
            { "1"
                { "host" = "host1"
                    { "weight" = "5" } }
                { "host" = "host2"
                    { "weight" = "6" } }
                { "host" = "host3"
                    { "weight" = "1" } }
                { "path" = "/path/path" } } } }
    { }
    { "#comment" = "multi-mount map" }
    { "8" = "server"
        { "opt" = "rw" }
        { "opt" = "hard" }
        { "opt" = "intr" }
        { "mount"
            { "1" = "/"
                { "opt" = "ro" }
                { "location"
                    { "1"
                        { "host" = "myserver.me.org" }
                        { "path" = "/" } } } } } }
    { "9" = "server"
        { "opt" = "rw" }
        { "opt" = "hard" }
        { "opt" = "intr" }
        { "mount"
            { "1" = "/"
                { "opt" = "ro" }
                { "location"
                    { "1"
                        { "host" = "myserver.me.org" }
                        { "path" = "/" } } } }
            { "2" = "/usr"
                { "location"
                    { "1"
                        { "host" = "myserver.me.org" }
                        { "path" = "/usr" } } } } } }
    { "10" = "server"
        { "opt" = "rw" }
        { "opt" = "hard" }
        { "opt" = "intr" }
        { "mount"
            { "1" = "/"
                { "opt" = "ro" }
                { "location"
                    { "1"
                        { "host" = "myserver.me.org" }
                        { "path" = "/" } } } }
            { "2" = "/usr"
                { "location"
                    { "1"
                        { "host" = "myserver.me.org" }
                        { "path" = "/usr" } } } }
            { "3" = "/home"
                { "location"
                    { "1"
                        { "host" = "myserver.me.org" }
                        { "path" = "/home" } } } } } }
    { }
    { "11" = "server"
        { "opt" = "rw" }
        { "opt" = "hard" }
        { "opt" = "intr" }
        { "mount"
            { "1" = "/"
                { "opt" = "ro" }
                { "location"
                    { "1"
                        { "host" = "my-with-dash-server.me.org" }
                        { "path" = "/" } } } } } }
    { }
    { "#comment" = "included maps" }
    { "12" = "+"
        { "map" = "auto_home" } }

(* Local Variables: *)
(* mode: caml       *)
(* End:             *)