From 4b46c1f6e891b1ddd5968536440b888661fade3e Mon Sep 17 00:00:00 2001 From: Richard Purdie Date: Wed, 31 Aug 2005 10:45:47 +0000 Subject: Initial population git-svn-id: https://svn.o-hand.com/repos/poky@1 311d38ba-8fff-0310-9ca6-ca027cbcb966 --- .../packages/initscripts/initscripts-1.0/volatiles | 39 ++++++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 openembedded/packages/initscripts/initscripts-1.0/volatiles (limited to 'openembedded/packages/initscripts/initscripts-1.0/volatiles') diff --git a/openembedded/packages/initscripts/initscripts-1.0/volatiles b/openembedded/packages/initscripts/initscripts-1.0/volatiles new file mode 100644 index 0000000000..37ce8b529a --- /dev/null +++ b/openembedded/packages/initscripts/initscripts-1.0/volatiles @@ -0,0 +1,39 @@ +# 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: +# [] +# where the items are separated by whitespace ! +# +# : d|f|l : (d)irectory|(f)ile|(l)ink +# +# A linking example: +# l root root 0777 /var/test /tmp/testfile +# f root root 0644 /var/test +# +# 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. +d root root 0775 /var +d root root 0755 /var/backups +d root root 0755 /var/cache +d root root 0755 /var/lib +d root root 0755 /var/lib/ipkg +d root root 0755 /var/lib/misc +d root root 2775 /var/local +d root root 1777 /var/lock +d root root 0755 /var/lock/subsys +d root root 0755 /var/log +d root root 0755 /var/run +d root root 0755 /var/spool +d root root 1777 /var/tmp +f root root 0664 /var/run/utmp +f root root 0664 /var/log/wtmp +f root root 0664 /var/log/lastlog -- cgit v1.2.3