FreeBSD

共 688 篇文章。

Matthew Dillon's opinion on FreeBSD's Networking Subsystem

• Kernel

To quote his “I would recommend against per-thread caches. Instead, make the per-cpu caches actually *be* per-cpu (that is, not require a mutex).”

Then, he has pointed out that there is potential problems in FreeBSD’s SLAB allocator which is different from DragonFly’s. (Not too surprisingly, he is again advertising his IPI message approach).

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

由衷地赞美ru和hrs以及其他Makefile的作者

• Development

太牛了……折腾了将近1个钟头。

起因:Gavin说中文文档无法编译。

经过:
尝试make,发现少了一个–>,加上。还不行。
急了。
遂将中文版本改名,然后把英文版改成中文的名字,我靠,还不行……

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

bin/71404

• Kernel

About 9 Years ago, FreeBSD has introduced a functionality in sysinstall(8)’s partition editor, which is to mark a partition “active”.

However, unfortunatelly, the implementation contained a flow from the day 0 it was introduced. Sysinstall(8) depends on user’s sanity not to mark only one partition as active on one disk.

This turned out to a potential damage of disk partition table. With two partitions marked “ACTIVE”, you will get the following message:

“Invalid partition table.”

Then system will halt.

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

Got FreeBSD 1.x repo, finally!

• Development

David O’Brien has gave me the FreeBSD 1.x CVS Repository and I have set up a CVSWeb view for it so it will be easy to read the code/changes.

FreeBSD 1.x was forbidden and supposed to be destroyed in May 1994, because the lawsuit of USL against BSDI, UC Berkeley, and the FreeBSD/NetBSD projects. Today, as 32V and some code in the same time was released under BSD License, it is legal to keep the repo again.

FreeBSD 1.x is based on 4.3 BSD, while FreeBSD 2.x and later are based on 4.4BSD-Lite2. The historical archive, is valuable for anyone who interested in the Operating System itself, its development, and more.

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

Enter the great FreeBSD 5.3!

• Kernel

Today obrien@ has committed a somewhat determintic code to distinguish FreeBSD RELENG_5 from 5.2-CURRENT to 5.3-BETA:

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
obrien      2004-08-23 03:28:01 UTC

  FreeBSD src repository

  Modified files:        (Branch: RELENG_5)
    sys/sys              param.h 
    contrib/gcc/config   freebsd-spec.h 
  Log:
  Enter the great FreeBSD 5.3!
  
  Approved by:    re(kensmith)
  
  Revision   Changes    Path
  1.17.2.1   +2 -2      src/contrib/gcc/config/freebsd-spec.h
  1.209.2.1  +1 -1      src/sys/sys/param.h
阅读全文… ( 本文约 78 字,阅读大致需要 1 分钟 )

ps(1) patch for FreeBSD 6-CURRENT

• Kernel

I have finished a preliminary patchset based on Pawel’s (kern/54604), which will make ps -e usable under FreeBSD’s recent versions, without having procfs mounted.

My patchset has introduced reduced security IMO (due to my merge and rooted from recent removal of ps_argsopen sysctl, I’m not sure why this change has been taken place) so I will have to review the code more carefully. Maybe I need to introduce more sysctl?

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