On 25 August 2014 12:19:02 CEST, Bill Kenworthy <bi...@iinet.net.au> wrote: >On 25/08/14 17:19, Alan McKinnon wrote: >> On 25/08/2014 11:11, Dale wrote: >>> Alan McKinnon wrote: >>>> On 25/08/2014 08:17, Hinnerk van Bruinehsen wrote: >>>>> On Sun, Aug 24, 2014 at 11:58:36PM +0430, behrouz khosravi wrote: >>>>>> Hi. I just accidentally removed the /usr folder! >>>>>> And I am sure the /usr/bin and several other folders are gone! >>>>>> Should I go for a complete re-install or there is any other >solution? >>>>>> Thanks and I hope that I wont find that blade that I am looking >for! >>>>> You should be able to get away with an emerge @system @world -evDN >instead of >>>>> a complete re-install. >>>>> You should first get a copy of a minimal working /usr though (like >from >>>>> a stage3 tarball), otherwise you will run into errors as /usr/bin >is where >>>>> python and other stuff resides that you'll need for installation. >>>> >>>> gcc is also in /usr which happily guarantees that nothing can be >fixed >>>> without unpacking a stage first >>>> >>>> >>> >>> >>> It seems moving so much critical stuff to /usr was a really bright >>> move. < lots of sarcasm there > >> >> and, >> >> rm -rf /usr is not a user error one can reasonably expect to recover >from >> >> >and wasnt many of the file system changes being made because some folks >wanted a read only /usr but were not there yet? > >BillK
Actually. Not being allowed to have /usr on a seperate filesystem as was the case for a very long time made mounting /usr read only near impossible. -- Joost -- Sent from my Android device with K-9 Mail. Please excuse my brevity.