"rm -rf /" fanclub

看板FB_current作者時間14年前 (2012/02/24 07:32), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串1/5 (看更多)
Well, I did not actually get a full membership to the "rm -rf /" fanclub, but I managed to remove all installed ports, basically requiring a full reinstall. Here's how it happened: Once upon a time, I did a full reinstall (not because of "rm -rf /"-like things). I kept the old installation's full filesystem hierarchy located in /old. I was then going through the old hierarchy to salvage important bits and delete the rest. At one point, I was in /old/usr, and did "rm -rf X11R6/ bin/ lib/ ...". I was a bit hasty, and forgot to remove the ending backslashes from the directory names, which were inserted by csh's autocompletion. And as it turns out, X11R6 is actually a symlink to /usr/local, and not usr/local or ..usr/local! Also, /home is a symlink to /usr/home, and not usr/home or ../usr/home, but I managed to stay clear of that deathtrap. In a web search, I found that someone was about to fix the /home symlink in 2004 [1]. Uhm, any time soon? BTW, is the existence of the X11R6 symlink still required for some compatibility? [1] http://lists.freebsd.org/pipermail/freebsd-hackers/2004-January/005391.html _______________________________________________ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"
文章代碼(AID): #1FHino2A (FB_current)
文章代碼(AID): #1FHino2A (FB_current)