diff options
Diffstat (limited to 'meta/packages/initscripts/initscripts-1.0/volatiles')
| -rw-r--r-- | meta/packages/initscripts/initscripts-1.0/volatiles | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/meta/packages/initscripts/initscripts-1.0/volatiles b/meta/packages/initscripts/initscripts-1.0/volatiles new file mode 100644 index 0000000000..37ce8b529a --- /dev/null +++ b/meta/packages/initscripts/initscripts-1.0/volatiles | |||
| @@ -0,0 +1,39 @@ | |||
| 1 | # This configuration file lists filesystem objects that should get verified | ||
| 2 | # during startup and be created if missing. | ||
| 3 | # | ||
| 4 | # Every line must either be a comment starting with # | ||
| 5 | # or a definition of format: | ||
| 6 | # <type> <owner> <group> <mode> <path> [<linksource>] | ||
| 7 | # where the items are separated by whitespace ! | ||
| 8 | # | ||
| 9 | # <type> : d|f|l : (d)irectory|(f)ile|(l)ink | ||
| 10 | # | ||
| 11 | # A linking example: | ||
| 12 | # l root root 0777 /var/test /tmp/testfile | ||
| 13 | # f root root 0644 /var/test | ||
| 14 | # | ||
| 15 | # Understanding links: | ||
| 16 | # When populate-volatile is to verify/create a directory or file, it will first | ||
| 17 | # check it's existence. If a link is found to exist in the place of the target, | ||
| 18 | # the path of the target is replaced with the target the link points to. | ||
| 19 | # Thus, if a link is in the place to be verified, the object will be created | ||
| 20 | # in the place the link points to instead. | ||
| 21 | # This explains the order of "link before object" as in the example above, where | ||
| 22 | # a link will be created at /var/test pointing to /tmp/testfile and due to this | ||
| 23 | # link the file defined as /var/test will actually be created as /tmp/testfile. | ||
| 24 | d root root 0775 /var | ||
| 25 | d root root 0755 /var/backups | ||
| 26 | d root root 0755 /var/cache | ||
| 27 | d root root 0755 /var/lib | ||
| 28 | d root root 0755 /var/lib/ipkg | ||
| 29 | d root root 0755 /var/lib/misc | ||
| 30 | d root root 2775 /var/local | ||
| 31 | d root root 1777 /var/lock | ||
| 32 | d root root 0755 /var/lock/subsys | ||
| 33 | d root root 0755 /var/log | ||
| 34 | d root root 0755 /var/run | ||
| 35 | d root root 0755 /var/spool | ||
| 36 | d root root 1777 /var/tmp | ||
| 37 | f root root 0664 /var/run/utmp | ||
| 38 | f root root 0664 /var/log/wtmp | ||
| 39 | f root root 0664 /var/log/lastlog | ||
