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


--
[email protected] mailing list

Reply via email to