荔园在线

荔园之美,在春之萌芽,在夏之绽放,在秋之收获,在冬之沉淀

[回到开始] [上一篇][下一篇]


发信人: Lg (创造人生的传奇), 信区: Linux
标  题: option = SOFTUPDATES
发信站: BBS 荔园晨风站 (Fri Jan  7 21:42:17 2000), 站内信件

【 以下文字转载自 twFreeBSDQuestion 讨论区 】
【 原文由 urania.bbs@aries.cis.scu.edu.tw 所发表 】
※ 引述《Zorro.bbs@bbs.thu.edu.tw (蟀蟀的天鱼座)》之铭言:
 as title ...请问在kernel中加入了" option = SOFTUPDATES "之後,并重编kernel後,
就重开机进入single-user mode,并键入" tunefs -n enable /usr "(代表将/usr启动
soft update的功能,right ?) 後,那请问接下来该怎麽做呢?...
    其实,只要到这里就可以成功了

:      我是在/usr/src/sys/contrib/softupdates/README里看到了要启动soft update
:      的几个步骤..但一直做到第2步之後就看不懂了..能否请了解的人能讲解一下,
:      小弟感激不尽....
: Operation
: Once you have booted a kernel that incorporates the soft update
: code and installed the updated utilities, do the following:
: 1) Comment out the update program in /etc/rc.
: 2) Run `tunefs -n enable' on one or more test filesystems.
: 3) Mount these filesystems and then type `mount' to ensure that
:    they have been enabled for soft updates.
    这是我的机器上,下了 mount 指令後的结果:
/dev/ad0s1a on / (ufs, local, writes: sync 227 async 3270,
                        reads: sync 1863 async 62)
/dev/ad0s1d on /home (ufs, local, soft-updates, writes: sync 36 async 28802,
                        reads: sync 5727 async 209)
/dev/ad0s1f on /tmp (ufs, local, soft-updates, writes: sync 29 async 461,
                        reads: sync 139 async)
/dev/ad0s1g on /usr (ufs, local, soft-updates, writes: sync 83 async 59435,
                        reads: sync 140951 async 654)
/dev/ad0s1e on /var (ufs, local, soft-updates, writes: sync 508 async 9875,
                        reads: sync 1576 async 12)
/dev/ad0s1h on /var/db (ufs, local, soft-updates, writes: sync 2 async 177,
                        reads: sync 560 async 5)
/dev/ad1s1e on /mnt/ftp (ufs, local, soft-updates, writes: sync 2 async 4713,
                        reads: sync 22427 async 3744)
/dev/ad2s1e on /mnt/disk2 (ufs, local, soft-updates, writes: sync 2 async 1365,
                        reads: sync 3638 async 518)
procfs on /proc (procfs, local)
/dev/ad3s1e on /mnt/disk3 (ufs, local, soft-updates, writes: sync 2 async 415,
                        reads: sync 146969 async 24780)

    所以你可以看到,除了 / 之外,全都是 soft-updates,
    要你打 mount 只是要你“眼见为凭“,没有多的意思。

: 4) Copy the test directory to a softdep filesystem, chdir into
:    it and run `./doit'. You may want to check out each of the
:    three subtests individually first: doit1 - andrew benchmarks,
:    doit2 - copy and removal of /etc, doit3 - find from /.
--
Origin: □城区夜未眠□ (scucis.twbbs.org.tw)
--
※ 转载:·BBS 荔园晨风站 bbs.szu.edu.cn·[FROM: 210.39.3.71]


[回到开始] [上一篇][下一篇]

荔园在线首页 友情链接:深圳大学 深大招生 荔园晨风BBS S-Term软件 网络书店