Freebsd 4.X、5.X、6.X 常見問答集

Total Page:16

File Type:pdf, Size:1020Kb

Freebsd 4.X、5.X、6.X 常見問答集 FreeBSD 4.X、、、5.X、、、6.X 常常常見見見問問問答答答集集集 FreeBSD 文文文件件件計計計畫畫畫 FreeBSD 4.X、、、5.X、、、6.X 常常常見見見問問問答答答集集集 by FreeBSD 文件計畫 Published $FreeBSD: doc/zh_TW.Big5/books/faq/book.sgml,v 1.22 2006/07/10 07:40:01 vanilla Exp $ Copyright © 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006 FreeBSD 文件計畫 這份文件是FreeBSD 4.X,5.X 及6.X 的常見問答集。除非有特別加註,否則這些項目都適用於FreeBSD 4.0 及以後的版本。(如果條目內容中有<XXX> 則是尚未完成中譯的部份。) 如果您對協助本文件/翻譯計畫的 進行有興趣的話,請寄e-mail 到FreeBSD 文件計畫的郵遞論壇 (http://lists.FreeBSD.org/mailman/listinfo/freebsd-doc)。此外,隨時可從 FreeBSD 網站 (http://www.FreeBSD.org/doc/en_US.ISO8859-1/books/faq/index.html) 拿到這份文件的最新版本。也可以利 用HTTP 來下載一份龐大的HTML (book.html) 文件,或是經由 FreeBSD FTP 站 (ftp://ftp.FreeBSD.org/pub/FreeBSD/doc/) 下載純文字、PostScript®、或PDF 版本的檔案。您也可以在這裡使 用搜尋資料 (http://www.FreeBSD.org/search/search.html) 的功能。 Redistribution and use in source (SGML DocBook) and ’compiled’ forms (SGML, HTML, PDF, PostScript, RTF and so forth) with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code (SGML DocBook) must retain the above copyright notice, this list of conditions and the following disclaimer as the first lines of this file unmodified. 2. Redistributions in compiled form (transformed to other DTDs, converted to PDF, PostScript, RTF and other formats) must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. Important: THIS DOCUMENTATION IS PROVIDED BY THE FREEBSD DOCUMENTATION PROJECT "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE FREEBSD DOCUMENTATION PROJECT BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS DOCUMENTATION, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. FreeBSD 是FreeBSD基金會的註冊商標 3Com 和HomeConnect 是3Com Corporation 的註冊商標。 Adobe, Acrobat, Acrobat Reader, 以及PostScript 是Adobe Systems Incorporated 在美國和/或其他國家的商標或註冊商標。 Sound Blaster 是Creative Technology Ltd. 在美國和/或其他國家的註冊商標。 CVSup 是John D. Polstra 的註冊商標。 IBM, AIX, EtherJet, Netfinity, OS/2, PowerPC, PS/2, S/390, 和ThinkPad 是國際商用機器公司在美國和其他國家的註冊商標或商標。 IEEE, POSIX, 和802 是Institute of Electrical and Electronics Engineers, Inc. 在美國的註冊商標。 Intel, Celeron, EtherExpress, i386, i486, Itanium, Pentium, 和Xeon 是Intel Corporation 及其分支機構在美國和其他國家的商標或註冊商標。 Iomega, Zip, 和Jaz 是Iomega Corporation 在美國和/或其他國家的商標或註冊商標。 Linux 是Linus Torvalds 的註冊商標。 Microsoft, IntelliMouse, MS-DOS, Outlook, Windows, Windows Media, 和Windows NT 是Microsoft Corporation 在美國和/或其他國家的商標 或註冊商標。 MIPS 和R4000 是MIPS Technologies, Inc. 在美國以及其他國家的註冊商標。 Netscape 以及Netscape Navigator 是Netscape Communications Corporation 在美國和其他國家的註冊商標。 Motif, OSF/1, 和UNIX 是The Open Group 在美國和其他國家的註冊商標;IT DialTone 和The Open Group 是其商標。 Oracle 是Oracle Corporation 的註冊商標。 Silicon Graphics, SGI, 和OpenGL 是Silicon Graphics, Inc. 在美國和/或其他國家的註冊商標。 Sparc, Sparc64, SPARCEngine, 以及UltraSPARC 是SPARC International, Inc 在美國和其他國家的商標。為Sun Microsystems, Inc. 所開發的 架構,包含SPARC 商標的產品。 Sun, Sun Microsystems, Java, Java Virtual Machine, JavaServer Pages, JDK, JSP, JVM, Netra, Solaris, StarOffice, Sun Blade, Sun Enterprise, Sun Fire, SunOS, 和Ultra 是Sun Microsystems, Inc. 在美國和其他國家的商標或註冊商標。 U.S. Robotics 和Sportster 是U.S. Robotics Corporation 的註冊商標。 XFree86 是The XFree86 Project, Inc 的商標。. 許多製造商和經銷商使用一些稱為商標的圖案或文字設計來彰顯自己的產品。本文中出現的眾多商標,以及FreeBSD Project 本身廣所 人知的商標,後面將以’™’ 或’®’ 符號來標註。 Table of Contents 1 前前前言言言、、、一一一般般般問問問題題題.........................................................................................................................................................1 2 文文文件件件與與與技技技術術術支支支援援援.........................................................................................................................................................7 3 安安安裝裝裝 ...........................................................................................................................................................................11 4 硬硬硬體體體支支支援援援方方方面面面...........................................................................................................................................................20 4.1 一般問題.......................................................................................................................................................20 4.2 硬體架構及CPU ...........................................................................................................................................20 4.3 硬碟、磁帶機以及光碟、DVD、燒錄機 ..................................................................................................20 4.4 鍵盤、滑鼠...................................................................................................................................................22 4.5 網路跟serial 設備 .........................................................................................................................................24 4.6 音效卡...........................................................................................................................................................25 4.7 其他怪異問題(ACPI、重開機後掛了..等) .................................................................................................26 5 常常常見見見問問問題題題解解解決決決...........................................................................................................................................................28 6 商商商業業業軟軟軟體體體...................................................................................................................................................................40 7 一一一般般般應應應用用用程程程式式式...........................................................................................................................................................43 8 kernel 設設設定定定 ...............................................................................................................................................................47 9 硬硬硬碟碟碟、、、檔檔檔案案案系系系統統統、、、Boot Loader .............................................................................................................................49 10 系系系統統統管管管理理理.................................................................................................................................................................59 11 X Window System 及及及Virtual Consoles.................................................................................................................69 12 Networking .............................................................................................................................................................79 13 系系系統統統安安安全全全篇篇篇.............................................................................................................................................................85 14 PPP ..........................................................................................................................................................................88 15 Serial Communications .......................................................................................................................................100 16 其其其它它它各各各式式式各各各樣樣樣的的的問問問題題題 ..........................................................................................................................................107 17 The FreeBSD Funnies..........................................................................................................................................113 18 進進進階階階主主主題題題...............................................................................................................................................................116 19 感感感謝謝謝 .......................................................................................................................................................................122 20 Ports and Packages 常常常見見見問問問題題題.............................................................................................................................123 Bibliography ..............................................................................................................................................................130 iv List of Tables 3-1. 檔案大小的最大限制 ...........................................................................................................................................18 12-1. Network cards based on the DEC PCI chipset ....................................................................................................81 v Chapter 1 前前前言言言、、、一一一般般般問問問題題題 歡迎使用FreeBSD 4.X-6.X FAQ! 跟其他Usenet 上的FAQ 一樣,這份文件涵蓋了有關FreeBSD 這套作業系統最常被問到的問題(當然包括了回 答!)。雖然說我們本來的目的是為了減少網路頻寬的浪費以及避免同樣的問題一再出現,但事實上FAQ 已 經被視為是一種值得閱讀的文件資源。 我們已經儘可能地使這份FAQ 更豐富了。如果您對如何改善、進步方面有任何建議,請隨時寄電子郵件 給FreeBSD 文件計畫的郵遞論壇 (http://lists.FreeBSD.org/mailman/listinfo/freebsd-doc)。 1. 什麼是FreeBSD? 簡單地來說,FreeBSD 是一套可以在Alpha/AXP, AMD64 及Intel® EM64T, i386TM IA-64, PC-98, UltraSPARC® 上執行的UN*X-like 作業系統,它是根據U.C. Berkeley 所開發出來的“4.4BSD-Lite”,並加 上了許多“4.4BSD-Lite2” 的增強功能。它同時也間接使用了U.C. Berkeley 所開發出來並由William Jolitz 移 植到i386 的“Net/2”,也就是“386BSD”,不過現在386BSD 的程式碼只剩下極少數還留存在FreeBSD 中。您可以在FreeBSD 首頁 (http://www.FreeBSD.org/index.html)找到有關什麼是FreeBSD 以及它可以幫您做 些什麼的相關資訊。 FreeBSD 已被廣泛地被世界各地的公司行號、ISP、研究人員、電腦專家、學生,以及家庭用戶所使用,用
Recommended publications
  • Advanced Integration
    ZFS: Advanced Integration Allan Jude -- [email protected] @allanjude Introduction: Allan Jude • 16 Years as FreeBSD Server Admin • FreeBSD src/doc committer (ZFS, installer, boot loader, GELI, bhyve, libucl, libxo) • FreeBSD Core Team (July 2016 - 2018) • Co-Author of “FreeBSD Mastery: ZFS” and “FreeBSD Mastery: Advanced ZFS” with Michael W. Lucas • Architect of the ScaleEngine CDN (HTTP and Video) • Host of weekly BSDNow.tv Podcast • Personally Responsible for 1000 TB of ZFS Storage ZFS: What Is It? • ZFS is a filesystem with a built in volume manager (combine multiple disks into a pool) • Space from the pool is thin-provisioned to multiple filesystems or block volumes (zvols) • All data and metadata is checksummed • Optional transparent compression • Copy-on-Write with snapshots and clones • Each filesystem is tunable with properties Snapshots and Clones • Copy-on-Write means snapshots are instant • Blocks referenced by a snapshot kept when they are removed from the live filesystem • Snapshots allows you to access the file- system as it was when snapshot was taken • No performance impact on reads/writes • Take no additional space until blocks change • Clones allow you to “fork” a filesystem Boot Environments • If the root filesystem is on ZFS, you can snapshot before an upgrade, then clone it • You now have 2 filesystems, one before the upgrade, and one after. Only takes the space of blocks that changed • FreeBSD boot loader allows you to select which one to use from a menu • Upgrade without fear, can always rollback Boot Environment Tooling • Existing tool: sysadmin/beadm • GSoC 2017: be(8) and libbe(3) • New tool supports better management of filesystem properties for boot integration • New tool will support “deep” boot environments.
    [Show full text]
  • The Release Engineering of Freebsd 4.4
    The Release Engineering of FreeBSD 4.4 Murray Stokely [email protected] Wind River Systems Abstract different pace, and with the general assumption that they This paper describes the approach used by the FreeBSD re- have first gone into FreeBSD-CURRENT and have been lease engineering team to make production-quality releases thoroughly tested by our user community. of the FreeBSD operating system. It details the methodol- In the interim period between releases, nightly snap- ogy used for the release of FreeBSD 4.4 and describes the shots are built automatically by the FreeBSD Project build tools available for those interested in producing customized machines and made available for download from ftp: FreeBSD releases for corporate rollouts or commercial pro- //stable.FreeBSD.org. The widespread availabil- ductization. ity of binary release snapshots, and the tendency of our user community to keep up with -STABLE development with CVSup and “make world”[8] helps to keep FreeBSD- 1 Introduction STABLE in a very reliable condition even before the qual- ity assurance activities ramp up pending a major release. The development of FreeBSD is a very open process. Bug reports and feature requests are continuously sub- FreeBSD is comprised of contributions from thousands of mitted by users throughout the release cycle. Problem people around the world. The FreeBSD Project provides reports are entered into our GNATS[9] database through anonymous CVS[1] access to the general public so that email, the send-pr(1) application, or via a web-based form. others can have access to log messages, diffs between de- In addition to the multitude of different technical mailing velopment branches, and other productivity enhancements lists about FreeBSD, the FreeBSD quality-assurance mail- that formal source code management provides.
    [Show full text]
  • Freebsd Handbook
    FreeBSD Handbook http://www.freebsd.org/doc/en_US.ISO8859-1/books/han... FreeBSD Handbook The FreeBSD Documentation Project Copyright © 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013 The FreeBSD Documentation Project Welcome to FreeBSD! This handbook covers the installation and day to day use of FreeBSD 8.3-RELEASE and FreeBSD 9.1-RELEASE. This manual is a work in progress and is the work of many individuals. As such, some sections may become dated and require updating. If you are interested in helping out with this project, send email to the FreeBSD documentation project mailing list. The latest version of this document is always available from the FreeBSD web site (previous versions of this handbook can be obtained from http://docs.FreeBSD.org/doc/). It may also be downloaded in a variety of formats and compression options from the FreeBSD FTP server or one of the numerous mirror sites. If you would prefer to have a hard copy of the handbook, you can purchase one at the FreeBSD Mall. You may also want to search the handbook. REDISTRIBUTION AND USE IN SOURCE (XML DOCBOOK) AND 'COMPILED' FORMS (XML, HTML, PDF, POSTSCRIPT, RTF AND SO FORTH) WITH OR WITHOUT MODIFICATION, ARE PERMITTED PROVIDED THAT THE FOLLOWING CONDITIONS ARE MET: 1. REDISTRIBUTIONS OF SOURCE CODE (XML DOCBOOK) MUST RETAIN THE ABOVE COPYRIGHT NOTICE, THIS LIST OF CONDITIONS AND THE FOLLOWING DISCLAIMER AS THE FIRST LINES OF THIS FILE UNMODIFIED. 2. REDISTRIBUTIONS IN COMPILED FORM (TRANSFORMED TO OTHER DTDS, CONVERTED TO PDF, POSTSCRIPT, RTF AND OTHER FORMATS) MUST REPRODUCE THE ABOVE COPYRIGHT NOTICE, THIS LIST OF CONDITIONS AND THE FOLLOWING DISCLAIMER IN THE DOCUMENTATION AND/OR OTHER MATERIALS PROVIDED WITH THE DISTRIBUTION.
    [Show full text]
  • DN Print Magazine BSD News BSD Mall BSD Support Source Wars Join Us
    Mirrors Primary (US) Issues August 2001 August 2001 Get BSD Contact Us Search BSD FAQ New to BSD? DN Print Magazine BSD News BSD Mall BSD Support Source Wars Join Us T H I S M O N T H ' S F E A T U R E S From the Editor The Effects of Tuning a FreeBSD Box for High Open Packages Reaches Performance Milestone 2 by Gilbert Gong by Chris Coleman Each BSD project has its A stock FreeBSD installation delivers a system which is own 3rd party software designed to meet the needs of most users, and strives to packaging system. They are provide the best balance of safety, reliablity, and all based on the same code, performance in a multi-user environment. It is therefore not yet, each of them have optimized for use as a high performance dedicated network features that make one server. This article investigates the effect of tuning a better than the other. Open FreeBSD for use as a dedicated network server. Read More Packages is a volunteer project to unify that code base and incorporate the best features of each. The NetBSD rc.d system by Will Andrews Get BSD Stuff There's been a lot of hubbub the last few months about NetBSD's new rc.d system being the successor of 4.4BSD's. At the USENIX Annual Technical Conference 2001 in Boston, MA, I had the pleasure of sitting down to listen to Luke Mewburn of Wasabi Systems discuss the new rc system NetBSD introduced in their operating system in the 1.5 release earlier this year.
    [Show full text]
  • Freebsd Release Engineering
    FreeBSD Release Engineering Murray Stokely <[email protected]> FreeBSD is a registered trademark of the FreeBSD Foundation. Intel, Celeron, Centrino, Core, EtherExpress, i386, i486, Itanium, Pentium, and Xeon are trade- marks or registered trademarks of Intel Corporation or its subsidiaries in the United States and other countries. Many of the designations used by manufacturers and sellers to distinguish their products are claimed as trademarks. Where those designations appear in this document, and the FreeBSD Project was aware of the trademark claim, the designations have been followed by the “™” or the “®” symbol. 2018-06-12 18:54:46 +0000 by Benedict Reuschling. Abstract Note This document is outdated and does not accurately describe the current release procedures of the FreeBSD Release Engineering team. It is re- tained for historical purposes. The current procedures used by the Free- BSD Release Engineering team are available in the FreeBSD Release Engi- neering article. This paper describes the approach used by the FreeBSD release engineering team to make pro- duction quality releases of the FreeBSD Operating System. It details the methodology used for the official FreeBSD releases and describes the tools available for those interested in produc- ing customized FreeBSD releases for corporate rollouts or commercial productization. Table of Contents 1. Introduction ........................................................................................................................... 1 2. Release Process ......................................................................................................................
    [Show full text]
  • Freebsd VS. Linux: ZFS by ALLAN JUDE
    SEE TEXT ONLY FreeBSD VS. Linux: ZFS BY ALLAN JUDE Why Use ZFS? It is not that other filesystems are bad; they just make the mistake of trusting your storage hardware to return your data when you ask for it. As it turns out, hard drives are pretty good at that, but pretty good is often not good enough. ZFS is the only open-source, OpenZFS is available on many plat- production-quality filesystem that can not only forms, including FreeBSD and Solaris detect but correct the errors when a disk derivatives like IllumOS, as well as Mac returns incorrect data. By combining the roles of filesystem and volume manager, ZFS is also OS X and Linux. However, not all of the able to ensure your data is safe, even in the functionality is available on the latter absence of one or more disks, depending on platforms. The FreeBSD Project has fully your configuration. ZFS doesn’t trust your adopted ZFS, putting significant effort hardware; it verifies that the correct data was into integrating it with the system and returned from each read from the disk. The primary design consideration for ZFS is management tools to make ZFS a seam- the safety of the data. Every block that is writ- less part of the OS, rather than a bolt- ten to the filesystem is accompanied by a ed-on extra. OpenZFS is better inte- checksum of the data, stored with the other grated, instrumented, and documented metadata. That metadata block also has a on FreeBSD than on any of the various checksum, as does its parent, all the way up to the top-level block, called the uber block.
    [Show full text]
  • Security Scanning a Jail by BENEDICT REUSCHLING
    1 of 3 PRACTICAL Security Scanning a Jail BY BENEDICT REUSCHLING This column covers ports and packages for FreeBSD that are useful in some way, peculiar, or otherwise good to know about. Ports extend the base OS functionality and make sure you get something done or, simply, put a smile on your face. Come along for the ride, maybe you’ll find something new. n this installment, I stray a bit from presenting a bouquet of ports and just focus on a single one: security/lynis. Lynis is a tool for security auditing, hardening, and compliance testing. What lynis does dif- ferently from other security scanners is that it tries to detect available components on a sys- Item such as a webserver or database. Once it finds them, it checks them further for vulnerabil- ities, missing patches, etc. This way, the scans are different on each system based on the configured software and purpose. For example, your firewall Available as open host may receive different examinations than your backup server. Plugins extend lynis’s functionality to source as well as a cover specific software. A comprehensive security commercial enterprise report is generated at the end, eliciting either a pat on the back from your security-minded superiors or tool, lynis scans a range your next security sensitivity training. Available as open source as well as a commer- of operating systems for cial enterprise tool, it scans a range of operating systems for security anomalies. Sysadmins as well security anomalies. as penetration testers, developers, and auditors can use it to assess if there are any vulnerabilities, not only in installed software but also in their configurations.
    [Show full text]
  • Contributeurs Au Projet Freebsd Version: 43184 2013-11-13 Par Hrs
    Contributeurs au projet FreeBSD Version: 43184 2013-11-13 par hrs. Résumé Cet article liste les organisations et les personnes ayant contribué à FreeBSD. Table des matières 1. Gallerie des dons ..................................................................................................................... 1 2. Le bureau dirigeant .................................................................................................................. 3 3. Les développeurs FreeBSD .......................................................................................................... 3 4. Le projet de documentation de FreeBSD ...................................................................................... 14 5. Qui est reponsable de quoi ....................................................................................................... 15 6. Liste des anciens de la "Core Team" ........................................................................................... 16 7. Liste des anciens développeurs .................................................................................................. 17 8. Liste des logiciels contribués ..................................................................................................... 18 9. Contributeurs additionnels à FreeBSD ......................................................................................... 18 10. Contributeurs du kit de patch 386BSD ....................................................................................... 58 Index .....................................................................................................................................
    [Show full text]
  • July/August 2021
    July/August 2021 A Straight Path to the FreeBSD Desktop Human Interface Device (HID) Support in FreeBSD 13 The Panfrost Driver Updating FreeBSD from Git ® J O U R N A L LETTER E d i t o r i a l B o a r d from the Foundation John Baldwin FreeBSD Developer and Chair of ne of the myths surrounding FreeBSD is that it • FreeBSD Journal Editorial Board. is only useful in server environments or as the Justin Gibbs Founder of the FreeBSD Foundation, • President of the FreeBSD Foundation, foundation for appliances. The truth is FreeBSD and a Software Engineer at Facebook. O is also a desktop operating system. FreeBSD’s base sys- Daichi Goto Director at BSD Consulting Inc. tem and packages include device drivers for modern • (Tokyo). graphics adapters and input devices. Consistent with Tom Jones FreeBSD Developer, Internet Engineer FreeBSD’s role as a toolkit, FreeBSD supports a variety • and Researcher at the University of Aberdeen. of graphical interfaces ranging from minimalist window managers to full-featured desktop environments. The Dru Lavigne Author of BSD Hacks and • The Best of FreeBSD Basics. first article in this issue walks through several of these Michael W Lucas Author of more than 40 books including options explaining how users can tailor their desktop • Absolute FreeBSD, the FreeBSD to their needs. It also provides pointers to downstream Mastery series, and git commit murder. projects which build an integrated desktop system on Ed Maste Senior Director of Technology, top of FreeBSD. The next two articles dig into the details • FreeBSD Foundation and Member of the FreeBSD Core Team.
    [Show full text]
  • Sys/Sys/Bio.H 1 1 /* 65 Void *Bio Caller2; /* Private Use by the Caller
    04/21/04 16:54:59 sys/sys/bio.h 1 1 /* 65 void *bio_caller2; /* Private use by the caller. */ 2 * Copyright (c) 1982, 1986, 1989, 1993 66 TAILQ_ENTRY(bio) bio_queue; /* Disksort queue. */ 3 * The Regents of the University of California. All rights reserved. 67 const char *bio_attribute; /* Attribute for BIO_[GS]ETATTR */ 4 * (c) UNIX System Laboratories, Inc. 68 struct g_consumer *bio_from; /* GEOM linkage */ 5 * All or some portions of this file are derived from material licensed 69 struct g_provider *bio_to; /* GEOM linkage */ 6 * to the University of California by American Telephone and Telegraph 70 off_t bio_length; /* Like bio_bcount */ 7 * Co. or Unix System Laboratories, Inc. and are reproduced herein with 71 off_t bio_completed; /* Inverse of bio_resid */ 8 * the permission of UNIX System Laboratories, Inc. 72 u_int bio_children; /* Number of spawned bios */ 9 * 73 u_int bio_inbed; /* Children safely home by now */ 10 * Redistribution and use in source and binary forms, with or without 74 struct bio *bio_parent; /* Pointer to parent */ 11 * modification, are permitted provided that the following conditions 75 struct bintime bio_t0; /* Time request started */ 12 * are met: 76 13 * 1. Redistributions of source code must retain the above copyright 77 bio_task_t *bio_task; /* Task_queue handler */ 14 * notice, this list of conditions and the following disclaimer. 78 void *bio_task_arg; /* Argument to above */ 15 * 2. Redistributions in binary form must reproduce the above copyright 79 16 * notice, this list of conditions and the following disclaimer in the 80 /* XXX: these go away when bio chaining is introduced */ 17 * documentation and/or other materials provided with the distribution. 81 daddr_t bio_pblkno; /* physical block number */ 18 * 3.
    [Show full text]
  • How the Freebsd Project Works
    How the FreeBSD Project Works 12 May 2006 Robert Watson FreeBSD Project FreeBSD Foundation Computer Laboratory University of Cambridge Introduction ● What is FreeBSD? ● What is the FreeBSD Project? ● How does the FreeBSD Project work? ● And does it all depend on who you ask? – Caveat: kernel developer! Introduction to FreeBSD ● Open source BSD UNIX-derived OS ● ISP server network server platform – Yahoo!, Verio, NY Internet, ISC, ... ● Appliance/product/embedded OS foundation – Juniper JunOS, Nokia, Panasas, Timing Solutions,... – VXWorks, Mac OS X, ... ● One of most successful open source projects ● Focus on storage, networking, security 9 May 2006 Introduction to FreeBSD (cont) ● Active development community – Central source repository and revision control – Extensive online community – Over 300 active developers ● Liberal Berkeley Open Source License – Designed to maximize commercial reuse – No requirement that derived works be open source – Extensive use in commercial, research systems 9 May 2006 What do you get with FreeBSD? ● Complete, integrated UNIX system – Multi-processing, multi-threaded kernel ● Intel/AMD 32/64-bit, Itanium, alpha, sparc64, ARM, PPC – UNIX, POSIX, BSD APIs – Multi-protocol network stack ● IPv4, IPv6, IPX/SPX, AppleTalk, IPSEC, ATM, BlueTooth, 802.11, ... – Standard and embedded build/integration targets – Extensive documentation ● Over 13,000 third party software packages 9 May 2006 FreeBSD Releases ● Three active development branches in CVS – 4.x – Legacy release series – 5.x – Large scale feature expansion
    [Show full text]
  • Tw O Years in the Trenches
    Tw o years in the trenches The evolution of a software project Greg``groggy''Lehey FreeBSD Project [email protected] [email protected] Melbourne, 4 September 2002 Tw o years in the trenches 1GregLehey, 4 September 2002 The three ages of UNIX UNIX® is nowathird of a century old. It evolved in three phases of roughly 11 years each: • 1969—1980: a research project, little known outside AT&T except at some universities. • 1980—1991: UNIX developed into a commercial operating system (UNIX System V,XENIX, SunOS, Ultrix and friends). • 1991—2002: Free UNIX gained momentum. Tw o years in the trenches 2GregLehey, 4 September 2002 Free software, first cut • Free software has been around since software was invented. • Until the late 60s, software ran only on specific machines. Piracywas impractical. • IBM/360 changed that: other companies built clones. • IBM unbundled software. • Vendors came to consider their software to be valuable intel- lectual property. Tw o years in the trenches 3GregLehey, 4 September 2002 Free software, cut • By 1980, most software cost money. • Access to source code, evenwith a license, became increas- ingly difficult. • Universities were an exception. • One of the reasons for the foundation of the Free Software Foundation. Tw o years in the trenches 4GregLehey, 4 September 2002 Free software, second cut • In the late 70s, computers became affordable for individuals. • Affordable computers were still inadequate for UNIX. • Much free and ‘‘shareware’’software developed for CP/M, Apple and Microsoft. • UNIX became practicable with the Intel 80386 processor in the late 80s. • At the same time, Internet access became widespread.
    [Show full text]