| View previous topic :: View next topic |
| Author |
Message |
tlg n00b

Joined: 13 Dec 2002 Posts: 9
|
Posted: Wed Dec 18, 2002 7:19 pm Post subject: moving dir's in / |
|
|
I need for some of my applications a /dir directory. The problem is that sometimes when I emerge -u world, it moves /dir to /dir.old.
Is there a way to avoid this behaviour ? I can't really find out wich packages does it (it seems that baselayout is, but it is'nt the only one) |
|
| Back to top |
|
 |
choward Tux's lil' helper

Joined: 08 Nov 2002 Posts: 92
|
Posted: Wed Dec 18, 2002 7:36 pm Post subject: Re: moving dir's in / |
|
|
| tlg wrote: | | I need for some of my applications a /dir directory. The problem is that sometimes when I emerge -u world, it moves /dir to /dir.old. |
What application is it? That sounds very broken to me. See the file hierarchy standard. http://www.pathname.com/fhs/ _________________ Craig Howard
4B Computer Science -- University of Waterloo |
|
| Back to top |
|
 |
tlg n00b

Joined: 13 Dec 2002 Posts: 9
|
Posted: Thu Dec 19, 2002 8:26 am Post subject: |
|
|
| I know it is realy broken , but it is needed ... actually it is a directory that we use on all os we have (OSX, linux, BSD, ...). That way we have a common tree for all our apps and os ... |
|
| Back to top |
|
 |
doug-x07 Tux's lil' helper


Joined: 16 Nov 2002 Posts: 122 Location: Paris, France
|
Posted: Thu Dec 19, 2002 10:46 pm Post subject: |
|
|
The easiest solution might be to create your own application directory say /opt/applications and then link /dir to it. That way if anything gets updated by an emerge -u world you just have to change the symlink if it gets borked by base layout. Would give you the advantage of a common application tree structure on each platform whilst also respecting the file system standards of each individual platform. All at the cost of one command after running an emerge -u world. _________________ #! /usr/bin/perl
if( @first != $succeed ) {
post { $question->forum && eval '$answers' };
try { $again } catch { $problem && $resolve };
bless $posters; } |
|
| Back to top |
|
 |
|