Posted: Mon 14 Jan 2013, 20:06 Post subject:
A better way to link with paths in /etc and /var ?

I`m designing AppPkg no-install apps.
I need to make links in /etc and /var pointing to the AppPkg /etc and /var.
The problem is that the links may go into preexisting paths in /etc and /var.
Most likely these paths are only 1 dir. deep, but that can`t be counted upon.

It`s easy enough to make the needed full paths and links in them.
I want to remove the "created" paths and links without removing preexisting ones.
This probably means a list of all the newly created /path/link is needed.
And only the new part of the path/link, no preexisting /etc/path.

# Can anyone think of a better way to do this and remove it afterwards?

# This is why it`d be real nice to have a junction link ( acts like a simple union ).
Newly created paths, files, and links would go in a dir. linked with /etc or /var.
When it`s time to cleanup, only newly created ones not in /etc are removed.
.

You cannot post new topics in this forumYou cannot reply to topics in this forumYou cannot edit your posts in this forumYou cannot delete your posts in this forumYou cannot vote in polls in this forumYou cannot attach files in this forumYou can download files in this forum