Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
moving dir's in /
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
tlg
n00b
n00b


Joined: 13 Dec 2002
Posts: 9

PostPosted: Wed Dec 18, 2002 7:19 pm    Post subject: moving dir's in / Reply with quote

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
View user's profile Send private message
choward
Tux's lil' helper
Tux's lil' helper


Joined: 08 Nov 2002
Posts: 92

PostPosted: Wed Dec 18, 2002 7:36 pm    Post subject: Re: moving dir's in / Reply with quote

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
View user's profile Send private message
tlg
n00b
n00b


Joined: 13 Dec 2002
Posts: 9

PostPosted: Thu Dec 19, 2002 8:26 am    Post subject: Reply with quote

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
View user's profile Send private message
doug-x07
Tux's lil' helper
Tux's lil' helper


Joined: 16 Nov 2002
Posts: 122
Location: Paris, France

PostPosted: Thu Dec 19, 2002 10:46 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum