一次不愉快的尝试及思考(1)
一次不愉快的尝试及思考(3)

一次不愉快的尝试及思考(2)

nonoob posted @ Thu, 14 Jun 2012 19:56:27 +0800 in NoTech , 1390 readers

在尝过了那种菜鸟特有的稍有一点胜利就自鸣得意之后,被冲昏头脑的我在稀里糊涂之下误以为使用fdisk调整了分区号的同时将物理位置也改变了。然后,我d掉了根分区了.............................................................................

再次重启时看到grub rescue时还微微一笑,小case,我已经是身经百战的人了,对这点小事还不驾轻就熟?然而,每次insmod时总是file not found或file system not recognized。百思不得其解,最终才发现我实在是遭天谴了。

当时那个心情啊,简直肠子都青了,悔恨,抱头,撞墙之心油然而生。要知道,我是废了多大的精力才将Linux的系统配置成我喜欢的样子的啊;而家目录中的dotfiles和那些binary包花费了我多长时间才搞定呢。

伤心之余,不由得骂起fdisk了,当时在删除的时候,居然没有特别对待一下这个根分区,好歹你也提示一下这样的操作极度危险之类的呀!我知道这正是你牛逼的地方,削铁如泥莫过于此;gparted望尘莫及。正如c语言的指针操作强悍无比一样,对内存的操作其他语言只有袖手旁观。但是,告诉用户这种行为的后果你会死啊!比如像删除某些重要的package时shell会提示用户输入一个字符串来确认用户明白知道所作所为,那这种极具杀伤力且无法挽回的操作只是告诉用户只有在reboot之后才能生效,是何居心?光凭这点,我就可以加入unix痛恨者之列了。不禁想起了rm -rf /这样的操作和fork炸弹了。这样的设计确实蛮符合Unix的哲学的。王垠大哥最近吐槽“Unix is simple. It just takes a genius to understand its simplicity.”这话恰和“The clothes made of this material are invisible to any man who is unfit for his office or unpardonably stupid.”有异曲同工之处。窃深以为然。Everything should be made as simple as possible, but not simpler.

不过还是想挽回点,用了livecd并找到了testdisk这样一个磁盘修复工具。在进行长达20分钟的deeper search之后,居然成功地定位到我前面数次磁盘格式化及删除操作。其中的一个插曲就是由于testdisk也是一个simple的工具,按q之后居然没有任何提示是否保存查询信息的操作,以致于我稀里糊涂下按了两次“成功”完全退出了搜素结果从而不得不进行第二次搜索。可是testdisk也没成功恢复出根分区的内容,提示分区损坏。

这下的我万念俱灰了,我知道肯定有修复的方法;但是已经没有这个精力和耐心去折腾了。重装吧,这是最不想做的,可不得不这样。

这种不快的经历,让我重新认识到Unix的哲学并不是那么正确的,至少对一部分人是不适合的。Unix的“无为”的做法是需要user花费巨大的代价来维护的;当然可以将Linux调教得服服帖帖,但是前提是你得先被它蹂躏得非常乖觉了。总有人将Unix和C联系在一起,的确因为设计者的思想的固化导致这两者成为杀人越货的利器的同时也总是伤人一千、自损八百。这两者都是野马,只是不是所有人都能驾驭。

Matthew Wade said:
Thu, 21 Nov 2024 01:58:39 +0800

This is a great blog and i want to visit this every day of the week ,   【フル視聴】

Matthew Wade said:
Fri, 22 Nov 2024 03:09:33 +0800

Diamond engagement rings will be always be the best stuff. it has great style and it is priceless~ 【動画ダウンロード】

Matthew Wade said:
Fri, 22 Nov 2024 03:09:51 +0800

Your blog has the same post as another author but i like your better.~,`*` 【動画ダウンロード】

Matthew Wade said:
Sun, 24 Nov 2024 23:42:11 +0800

This article contains great original thinking. The informational content here proves that things aren’t so black and white. I feel smarter from just reading this. 英会話 個人レッスン

Matthew Wade said:
Sun, 24 Nov 2024 23:42:31 +0800

Interesting article , I am going to spend more time reading about this subject eスポーツ

Matthew Wade said:
Sun, 24 Nov 2024 23:43:10 +0800

Really instructive and superb structure of articles, now that’s user friendly . eスポーツ

Matthew Wade said:
Sun, 24 Nov 2024 23:43:27 +0800

Good day! This is kind of off topic but I need some help from an established blog. Is it very difficult to set up your own blog? I’m not very techincal but I can figure things out pretty fast. I’m thinking about setting up my own but I’m not sure where to start. Do you have any tips or suggestions? eスポーツ

Matthew Wade said:
Sun, 24 Nov 2024 23:43:42 +0800

I got what you intend, thanks for putting up. Woh I am glad to find this website through google. eスポーツ

Matthew Wade said:
Sun, 24 Nov 2024 23:44:17 +0800

Keep up the fantastic piece of work, I read few blog posts on this web site and I believe that your site is real interesting and has lots of great information. eスポーツ

Matthew Wade said:
Tue, 26 Nov 2024 23:40:42 +0800

Thank you for some other informative blog. Where else could I get that type of information written in such an ideal means? I have a mission that I’m just now working on, and I have been at the look out for such information. しみけんのセックステクニック快感制覇


I have read several articles on this issue but you have brought up some interesting points. Just when I thought there was nothing new to investigate, you’ve proven me wrong. ウェディングドレス レンタル


There is evidently a lot to know about this. I think you made various nice points in features also. 手淫快楽地獄コース施術同意書


Nice piece of info! May I reference part of this on my blog if I post a backlink to this webpage? Thx. となりのあやねさん


Thanks for making the sincere attempt to explain this. I think very robust about it and want to learn more. If it’s OK, as you attain more extensive knowledge, may you mind including extra posts similar to this one with additional information? It would be extremely useful and helpful for me and my colleagues. 巨根動画


Hey, You make great use of your words in this article. I am impressed with the valid points of interest you make here and I agree. In time your site will discover its potential. Later. 営業代行

Matthew Wade said:
Wed, 27 Nov 2024 23:30:55 +0800

Thanks for this post, I am a big fan of this website would like to go on updated. マンツーマン英会話

Matthew Wade said:
Sat, 30 Nov 2024 23:13:20 +0800

Some genuinely good info , Gladiola I observed this. 転生のエロ実写

Matthew Wade said:
Sat, 30 Nov 2024 23:13:43 +0800

Fantastic website. A lot of helpful info here. I am sending it to some friends ans additionally sharing in delicious. And obviously, thank you to your effort! 英会話 初心者

Matthew Wade said:
Sat, 30 Nov 2024 23:14:02 +0800

Which is some inspirational stuff. Never knew that opinions might be this varied. Thank you for all the enthusiasm to provide such helpful information here. 【フル視聴】

Matthew Wade said:
Mon, 02 Dec 2024 19:28:14 +0800

Hey. Neat post. There is a problem with your site in firefox, and you may want to check this… The browser is the market chief and a large component of other folks will omit your excellent writing because of this problem. 浅草 天婦羅

Matthew Wade said:
Mon, 02 Dec 2024 19:28:28 +0800

It can be difficult to write about this subject. I think you did an excellent job though! Thanks for this! エロ漫画・同人まとめサイト

Matthew Wade said:
Mon, 02 Dec 2024 19:29:09 +0800

I always was concerned in this subject and stock still am, regards for posting . 素人ギャルエロ動画

Matthew Wade said:
Tue, 03 Dec 2024 15:55:21 +0800

Good – I should certainly pronounce, impressed with your website. I had no trouble navigating through all tabs as well as related information ended up being truly simple to do to access. I recently found what I hoped for before you know it at all. Quite unusual. Is likely to appreciate it for those who add forums or anything, web site theme . a tones way for your client to communicate. Nice task. 英会話講師募集

Matthew Wade said:
Tue, 03 Dec 2024 15:55:53 +0800

Hi there. Very cool site!! Guy .. Beautiful .. Wonderful .. I will bookmark your website and take the feeds additionally…I am glad to locate so much useful info right here in the article. Thanks for sharing… 子供英会話

Matthew Wade said:
Sun, 08 Dec 2024 00:27:29 +0800

Friend, this web site might be fabolous, i just like it. ECサイト セキュリティ

Matthew Wade said:
Sun, 08 Dec 2024 00:27:44 +0800

Wow! This could be one of the most useful blogs we have ever come across on thesubject. Actually excellent info! I’m also an expert in this topic so I can understand your effort. EC-CUBE カスタマイズ


Login *


loading captcha image...
(type the code from the image)
or Ctrl+Enter