精華區beta FreeBSD 關於我們 聯絡資訊
《 在 [email protected] (倒數計時) 的大作中提到: 》 : : : 我在目錄/usr/src下,去fetch一個遠端檔案"Makefile", : : : 結果不小心把原本目錄下的Makefile給覆蓋了請問有辦法可以還原嗎? : : : 還是可以在何處找Makefile檔? : : 可以用 /stand/sysinstall : : 選 Custom 安裝 : : 其中 Distributions 只要選 Custom 的 src 的 base : : 應該可以把 Makefile 裝回去 : 前天我也不小心將samba裡的Makefile給殺掉了,我就用/stand/sysinstall : custom->distributionss->custom->ports 我把整個port給重新安裝~ : 好加在檔案回來了,不過應該有更快的方法吧?! 我會用 Custom -> Distributions -> Custom -> src -> base 的笨方法,是因為 這個 src 的 base 只有大約 30K , 下載很快 , 如果是其他目錄的檔案不小心誤刪改 , 我會在 /usr/src 做一次 make update 就會恢復 , 而且能順便更新 但是刪到了 /usr/src/Makefile , 就不能在 /usr/src 做 make update 了 我比較笨 , cvsup 的指令不太會用 . 所以才會去裝 src 的 base . -- ※ 來源:‧蛋捲廣場 bbs.tku.edu.tw‧[FROM: 211.74.130.67]