diff options
author | ccsmart <ccsmart@smartpal.de> | 2005-07-29 18:49:29 +0000 |
---|---|---|
committer | OpenEmbedded Project <openembedded-devel@lists.openembedded.org> | 2005-07-29 18:49:29 +0000 |
commit | 9459c853944ce282de87b261755f42d9d3d81d4a (patch) | |
tree | c340cdffd90c1806eca710a5381f30594a6abc2a | |
parent | 1c58a321e42af440ce535b75a0a59cb80061a263 (diff) |
Added /var/lib/ipkg to fix bug #216 as reported by Adrian Day and solved by jbowler. Added more explanations for links.
-rw-r--r-- | packages/initscripts/initscripts-1.0/volatiles | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/packages/initscripts/initscripts-1.0/volatiles b/packages/initscripts/initscripts-1.0/volatiles index 45d373cedc..37ce8b529a 100644 --- a/packages/initscripts/initscripts-1.0/volatiles +++ b/packages/initscripts/initscripts-1.0/volatiles @@ -12,10 +12,20 @@ # 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 |