FreeBSD

共 688 篇文章。

ftp.freebsdchina.org 故障 :-(

• Postmortem

由于磁盘故障,ftp.freebsdchina.org 暂时无法提供服务了(初步估计是panic掉了)。更头疼的是,由于连续5年运行没有出过什么严重问题,这台机器在机房的位置恐怕也不太好找了。

阅读全文… ( 本文约 157 字,阅读大致需要 1 分钟 )

搞定了Safari的中文显示

• Development

之前用Safari访问很多中文网页都有问题,今天端木同学帮忙看了一下,发现是默认语言顺序导致的问题。不过调整之后,Firefox又毛病了……不知道是否应该在里面装个FreeBSD,然后再到FreeBSD里面装个X?:P

参与评论

The missing uptime explained

• Networking

It seems that my box loses its uptime record after I have migrated it to the Yizhuang IDC. The two things are related, but technically speaking, they are not. Actually I have discovered gokeeper’s hosts losed their uptimes as well, but I did not know why before. Sometimes I thought that was because the Linksys switch we have used, but there are some evidence that it is not; also I have at a point doubted the Cisco devices were misconfigured or have some firewalling features, but that’s not the answell, either.

阅读全文… ( 本文约 137 字,阅读大致需要 1 分钟 )

Updated less(1) in base system to 3.9.4

• Development

less is a very popular command line tool that is distributed with a lot of *nix distributions. Thanks goes to David Wolfskill (our postmaster) who helped the test.

The current plan is to MFC less(1) before 6.2-RELEASE’s freeze, but because the date is near, we may want to change the plan.

参与评论

FreeBSD.org website reengineered

• Development

Today Hiroki Sato has committed the long waited www/ cleanup mega-patch. Key features:

  • Localized sgml, xmls and xslts are moved into <lang>/share/sgml/.
  • Duplicated stuff between English and localized versions are eliminated as much as possible.
  • Switched to use a custom FreeBSD DTD for HTML.
参与评论

sade(8)

• Development

一直有人抱怨FreeBSD的bsdlabel(8)和fdisk(8)不好用,而进一遍sysinstall又太过麻烦,因此这次有人把磁盘编辑器从sysinstall(8)里面拆了出来,作了一些修改使其成为了一个新的工具——sade(8)。

阅读全文… ( 本文约 509 字,阅读大致需要 2 分钟 )

函数指针

• Development

今天在改rtld-elf的时候发现,它定义了一个函数指针数组,其内容是参数不定的,于是定义为:

typedef void (*func_ptr)();

然而,在较高的警告级别下,这一写法会被gcc认为不是prototype。

阅读全文… ( 本文约 158 字,阅读大致需要 1 分钟 )