Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 1 | # This configuration file lists filesystem objects that should get verified |
| 2 | # during startup and be created if missing. |
| 3 | # |
Brad Bishop | 6e60e8b | 2018-02-01 10:27:11 -0500 | [diff] [blame] | 4 | # Entries have the following format: |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 5 | # <type> <owner> <group> <mode> <path> <linksource> |
| 6 | # where the items are separated by whitespace ! |
| 7 | # |
Brad Bishop | 6e60e8b | 2018-02-01 10:27:11 -0500 | [diff] [blame] | 8 | # The # character introduces a comment lasting until end of line. |
| 9 | # Blank lines are ignored. |
| 10 | # |
Brad Bishop | 1932369 | 2019-04-05 15:28:33 -0400 | [diff] [blame] | 11 | # <type> : d|f|l|b : (d)irectory|(f)ile|(l)ink|(b)ind |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 12 | # |
| 13 | # A linking example: |
| 14 | # l root root 0777 /var/test /tmp/testfile |
| 15 | # f root root 0644 /var/test none |
| 16 | # |
| 17 | # Understanding links: |
| 18 | # When populate-volatile is to verify/create a directory or file, it will first |
| 19 | # check it's existence. If a link is found to exist in the place of the target, |
| 20 | # the path of the target is replaced with the target the link points to. |
| 21 | # Thus, if a link is in the place to be verified, the object will be created |
| 22 | # in the place the link points to instead. |
| 23 | # This explains the order of "link before object" as in the example above, where |
| 24 | # a link will be created at /var/test pointing to /tmp/testfile and due to this |
| 25 | # link the file defined as /var/test will actually be created as /tmp/testfile. |
| 26 | d root root 1777 /run/lock none |
| 27 | d root root 0755 /var/volatile/log none |
| 28 | d root root 1777 /var/volatile/tmp none |
| 29 | l root root 1777 /var/lock /run/lock |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 30 | l root root 0755 /var/run /run |
| 31 | l root root 1777 /var/tmp /var/volatile/tmp |
| 32 | l root root 1777 /tmp /var/tmp |
| 33 | d root root 0755 /var/lock/subsys none |
| 34 | f root root 0664 /var/log/wtmp none |
| 35 | f root root 0664 /var/run/utmp none |
| 36 | l root root 0644 /etc/resolv.conf /var/run/resolv.conf |
| 37 | f root root 0644 /var/run/resolv.conf none |