On Wednesday 12 October 2005 05:14 pm, Joshua ChaitinPollak wrote: > The Embedded Howto suggests mounting /proc and /usr/portage into the > development root filesystem. Is mounting portage such a wise idea? > > Today, after having had a shell chrooted into the development > environment for over a week, I decided to exit the shell, move the > development environment out of the way, and create a new one. in the > same location. I did: > > exit > mv /opt/i586... /opt/i586....bak > tar zxvf stage1-embedded -C /opt/i586.... > > And then for whatever reason: > > rm -rf /opt/i586.... > > Now, the problem is, I still had /usr/portage mounted on /opt/ > i586..../usr/portage, and I guess mount points don't move when you > move directories that contain them. > > The bottom line is, I blew away my host computer's /usr/portage, and > now have to recover it. > > Since the development root filesystem is stored on a desktop machines > harddrive, why not just have it get its own, separate portage tree? > > -Josh > > -- > Joshua ChaitinPollak > Software Engineer > Kiva Systems
I'll add a section to the how-to that umounts everything and safely allows you to delete your development_rootfs. -- heath holcomb liquidcable at bulah.com www.bulah.com -- [email protected] mailing list
