FreeBSD 5.0-Release Note

FreeBSD 5.0-Release Note
當然除了以下之外還有,有興趣請自行查閱,此為泡泡自行的註釋

網址:http://www.freebsd.org/releases/5.0R/relnotes-i386.html

發布日期: 2003/01/19

Kernel Changes
acct(2) has been changed to open.

Bluetooth devices has been added.

The kernel environment is now dynamic and can be changed via the new kenv(2) system call.

Extremely large swap areas(>67GB) no longer panic the system.
中譯:超大的swap(> 67G) 已經不再是個bug囉.

Bootloader Changes
The kernel and modules have been moved to the Directory /boot/kernel

Filesystems
UFS2 filesystem.
UFS1 remains the default on-disk format,UFS2 can be selected as an option in newfs or via the partitioning screen in sysinstall.
64-bit(pentium 4) paltforms can boot from UFS2 root filesystem.
中譯:除了原先的UFS檔案系統,5.0 新增了UFS2系統.

Thes changes may create some compatability problems when system older than FreeBSD 4.7-RELEASE attempts to mount or fsck a local UFS1 filesystem created by FreeBSD 5.0-RELEASE or later.
FreeBSD 4.7-RELEASE and later are fully compatible.

Security-Related Changes
resolver,bind,openssl,tcpdump ...

Userland Changes
adduser and rmuser are no sh scroipts rather than Perl scripts

chmod now supports a -h for changing the mode of a symbolic link
chmod now also when the mode is modifIEd prints the old and new modes if the -v option is specified more than once.

chown no longer takes , as a user/group delimeter. the change was made to support usernames containing a . character.
中譯:chown原先的使用者與群組的分隔.改為: 主要是為了配合使用者帳號中有.的使用者.

cp now takes a (nonstandard)-n option to automatically anser "no" when it would ask to overwrite a file.

a new csplit utility which splits files basred on context,has been added.

ftpd now supports the -m option to permit guest users to modify exiting files if allowed by filesystem permissions. In particular,this enables guest users to resume uploads.

By default,inetd is no longer run by rc at boot time,although sysinstall gives the option of enabling it during binary installations. inetd can also be enabled by add the following line to /etc/rc.conf:
inetd_enable="YES"
中譯:inetd不再由rc於開機時自行啟動,但仍可於/etc/rc.conf中加入inetd_enable="YES" 使inetd自動啟動.


inetd now has the capability for limiting the maximum number of simultaneous invocations of each service from a single IP address.

killall no longer tries to kill zombie processes unless the -z flag is specified.

pwd now supports the -L flag to print the logical current working directory.

sysctl now accepts a -d flag to print the descriptions of variables.

Upgrades
``backup everything, reformat, reinstall, and restore everything""
中譯:升級前請務必"備份一切的重要事物,重新格式化,重新安裝,重新復原所有的事物".

Binary Upgrades
the binary upgrade option in sysinstall(8) has not been well-tested for cross-major-version upgrades. Using this feature is not recommended. In particular, a binary upgrade will leave behind a number of files that are present in FreeBSD 4.X but not in 5.0. These obsolete files may create some problems.
中譯:可採用sysinstall採用binary作跨主版本升級,但不建議,因為這種的升級將會遺留一些4.X存在,但5.0不存在的檔案.而這些遺留的檔案可能造成一些問題.

Source Upgrades
Reading src/UPDATING is absolutely essential. The section entitled ``To upgrade from 4.x-stable to current"" contains a step-by-step update procedure. This procedure must be followed exactly, without making use of the ``shortcuts"" that some users occasionally employ.
中譯:若採用source升級,請務必詳細的觀看 src/UPDATING 的內容,並且確實的依照其中的步驟處理,請勿使用所謂的升級捷徑.

推荐阅读