Fixing Ubuntu's ethN device names when you swap hardware

If you swap an Ubuntu 6.06 system disk between hardware units (evennominally identical hardware units, like from one Dell 2950 to anotherPE2950), the system will come up scrambled Ethernet devices and youwon't be on the network. (As we found out the hard way today.)

This happens because the only way Ethernet devices get consistentnumbers on Ubuntu machines is because Ubuntu remembers the mappingbetween hardware ethernet addresses and the ethN name that they shouldget.


像我這樣沒安全感的女人

無法否認,我是那種需要大量安全感的人。

去探究不安全感源自童年還是感情落泊,其實沒有多大意思。

反正都於事無補。

只要稍覺不安,化妝品與華衣就是我的保護罩。

色相大不如前,的確要很多的愛很多的安全感才能使我放

Thinking about why Apache waits for CGIs to close standard output

This month, someone came to the local Unix group with an issue: they were using a CGIprogram to kick off a background process, but when they visited theCGI's URL in their web browser their browser just sat there, spinningthe little 'I am fetching the page' throbber. After the dust hadsettled and the right advice had been given (the background processneeded to have its standard input, standard output, and standard errorredirected to /dev/null ), I got to thinking about


《La Califfa》

古今中外如有雷同實屬巧合. 刻下筆者還未曾一睹李安《色,戒》, 卻想起羅美雪妮黛(Romy Schneider) 的意大利電影《La Califfa》(1970), 同樣也是出師未捷已動情.

參加工運的丈夫被殺, 當妻子的決意追究到底, 一邊帶領工人繼續

Continue reading...

How to clear Solaris Volume Manager metadb replicas on Solaris 10 x86

It is possible to get a DiskSuite metadb replica into a sufficientlydamaged state that it will panic the system in early boot, whichis especially irritating when you aren't using it for anything . This can lead to you needing to clear metadbreplicas.

(If you get past boot by turning off svc:/system/metainit thesystem panics when you run metadb or metainit , which is nottoo helpful for actually dealing with the problem.)

If you don't care about leaving the actual bits intact for


本月payslip

滿懷期待打開9月payslip,

銀碼為港幣$8742!!!

妖。

我使開飯唔使呀?

20070925 網摘 – 終身學習

Learning

  • 終身學習 Quote:「上學」帶著責任、背負期望,「學習」無拘無束、自由過癮,我不要終身上學,但我希望可以終身學習,有用沒用的,凡是有趣的都學。

Writing

  • A貨陶傑 Quote: 所以在網路上,或是博客群中,總是看見不少文筆懶係嘻

出埃及記 – 做好呢份工

exodus

彭導的影片一向愛「玩」,將一件看似無聊的小事,用十足的架構去講,在對比下達到荒誕的感覺。《出埃及記》的主要意念是:當一件事太荒謬時,就沒有人會相信,但不代表不存在。他從「為甚麼女人們去洗手間花那麼多時


曬燈籠

咁大個人第一次自製燈籠
嘩...
太開心了
要即時拿出來曬一曬先。





紅白藍?









Continue reading...

Assume the existence of folklore among your users

One thing I assume about how our usersdeal with the local computing environment is that there exists asignificant body of oral traditions and folklore around (at least) thegraduate students. When you think about it, this is inevitable; whennew graduate students show up they are going to ask the people aroundthem for help, and that's the older graduate students.

(This gives you oral tradition; you get folklore because there's noguarantee that the information the older graduate students will passon is correct