2005-08-31 10:45:47 +00:00
|
|
|
# This configuration file lists filesystem objects that should get verified
|
|
|
|
# during startup and be created if missing.
|
|
|
|
#
|
|
|
|
# Every line must either be a comment starting with #
|
|
|
|
# or a definition of format:
|
2008-05-20 13:38:00 +00:00
|
|
|
# <type> <owner> <group> <mode> <path> <linksource>
|
2005-08-31 10:45:47 +00:00
|
|
|
# where the items are separated by whitespace !
|
|
|
|
#
|
|
|
|
# <type> : d|f|l : (d)irectory|(f)ile|(l)ink
|
|
|
|
#
|
|
|
|
# A linking example:
|
|
|
|
# l root root 0777 /var/test /tmp/testfile
|
2008-05-20 13:38:00 +00:00
|
|
|
# f root root 0644 /var/test none
|
2005-08-31 10:45:47 +00:00
|
|
|
#
|
|
|
|
# Understanding links:
|
|
|
|
# When populate-volatile is to verify/create a directory or file, it will first
|
|
|
|
# check it's existence. If a link is found to exist in the place of the target,
|
|
|
|
# the path of the target is replaced with the target the link points to.
|
|
|
|
# Thus, if a link is in the place to be verified, the object will be created
|
|
|
|
# in the place the link points to instead.
|
|
|
|
# This explains the order of "link before object" as in the example above, where
|
|
|
|
# a link will be created at /var/test pointing to /tmp/testfile and due to this
|
|
|
|
# link the file defined as /var/test will actually be created as /tmp/testfile.
|
2008-05-20 13:38:00 +00:00
|
|
|
d root root 0775 /var none
|
|
|
|
d root root 0755 /var/backups none
|
|
|
|
d root root 0755 /var/cache none
|
|
|
|
d root root 0755 /var/lib none
|
|
|
|
d root root 0755 /var/lib/ipkg none
|
|
|
|
d root root 0755 /var/lib/misc none
|
|
|
|
d root root 2775 /var/local none
|
|
|
|
d root root 1777 /var/lock none
|
|
|
|
d root root 0755 /var/lock/subsys none
|
|
|
|
d root root 0755 /var/log none
|
|
|
|
d root root 0755 /var/run none
|
|
|
|
d root root 0755 /var/spool none
|
|
|
|
d root root 1777 /var/tmp none
|
|
|
|
f root root 0664 /var/run/utmp none
|
|
|
|
f root root 0664 /var/log/wtmp none
|
|
|
|
f root root 0664 /var/log/lastlog none
|