duiduifei 发表于 2013-1-16 17:38:45

给FREEBSD7.2打补丁

今天给FREEBSD7.2打了一下补丁
好记性不如烂笔头所以输入博客,
 
 
www# freebsd-update
usage: freebsd-update command ...
Options:
  -b basedir   -- Operate on a system mounted at basedir
                  (default: /)
  -d workdir   -- Store working files in workdir
                  (default: /var/db/freebsd-update/)
  -f conffile  -- Read configuration options from conffile
                  (default: /etc/freebsd-update.conf)
  -k KEY       -- Trust an RSA key with SHA256 hash of KEY
  -r release   -- Target for upgrade (e.g., 6.2-RELEASE)
  -s server    -- Server from which to fetch updates
                  (default: update.FreeBSD.org)
  -t address   -- Mail output of cron command, if any, to address
                  (default: root)
Commands:
  fetch        -- Fetch updates from server
  cron         -- Sleep rand(3600) seconds, fetch updates, and send an
                  email if updates were found
  upgrade      -- Fetch upgrades to FreeBSD version specified via -r option
  install      -- Install downloaded updates or upgrades
  rollback     -- Uninstall most recently installed updates
  IDS          -- Compare the system against an index of "known good" files.
 
 
www# freebsd-update fetch -r 7.2-RELEASE
Looking up update.FreeBSD.org mirrors... 3 mirrors found.
Fetching public key from update4.FreeBSD.org... done.
Fetching metadata signature for 7.2-RELEASE from update4.FreeBSD.org... done.
Fetching metadata index... done.
Fetching 2 metadata files... done.
Inspecting system... done.
Preparing to download files... done.
Fetching 49 patches.....10....20....30....40.... done.
Applying patches... done.
The following files will be updated as part of updating to 7.2-RELEASE-p5:
/boot/kernel/if_bce.ko
/boot/kernel/if_bce.ko.symbols
/boot/kernel/if_fxp.ko
/boot/kernel/if_fxp.ko.symbols
/boot/kernel/kernel
/boot/kernel/kernel.symbols
/etc/mtree/BSD.var.dist
还有好多不粘贴了
www# freebsd-update install -r 7.2-RELEASE
 
重新启动机器一下
已经显示FreeBSD 7.2-RELEASE-p4
升级成功。
页: [1]
查看完整版本: 给FREEBSD7.2打补丁