Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
/boot, /bin, /usr, /var, etc all symbolic links?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
mgnut57
Apprentice
Apprentice


Joined: 12 Jan 2008
Posts: 292

PostPosted: Wed Nov 12, 2014 9:10 pm    Post subject: /boot, /bin, /usr, /var, etc all symbolic links? Reply with quote

For the purpose of testing different builds of Gentoo, it would be conveneint for me to make all the root directories symbolic links to the real directories. The real directories are in the same partition/filesystem as the links would be.

So, for example /bin would be a link to /build1dir/bin
/boot would be a link to /build1dir/boot

where /build1dir is in the same filesystem as /boot and /bin

Will this work?
Back to top
View user's profile Send private message
szatox
Advocate
Advocate


Joined: 27 Aug 2013
Posts: 3150

PostPosted: Wed Nov 12, 2014 10:05 pm    Post subject: Reply with quote

You CAN use symlinks. In fact, it's what most of LiveCDs I have seen do. Whether it is a good idea or not is another question and deppends on use case.
Other options you might want to have a look at are:

mount --bind
git (version control for /etc - I can't really imagine other reasons to make it a symlink than using several versions)
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing 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