预览加载中,请您耐心等待几秒...
1/10
2/10
3/10
4/10
5/10
6/10
7/10
8/10
9/10
10/10

亲,该文档总共12页,到这已经超出免费预览范围,如果喜欢就直接下载吧~

如果您无法下载资料,请参考说明:

1、部分资料下载需要金币,请确保您的账户上有足够的金币

2、已购买过的文档,再次下载不重复扣费

3、资料包下载后请先用软件解压,在使用对应软件打开

Chapter1 IntroductionoftheLinux Kernel HistoryofUnix •thecreationofUnixin1969,DennisRitchieandKenThompson •UnixgrewoutofMultics,afailedmultiuseroperatingsystemproject inBellLab •ThompsonimplementedaPDP-7. •In1971,portedtoPDP-11 •In1973,rewritteninC •ThefirstUnixwidelyusedoutsideBellLabswasUnixSystem,Sixth Edition,calledV6. •OthercompaniesportedUnixtonewmachines.Accompanyingthese portswereenhancementsthatresultedinseveralvariantsofthe operatingsystem. •In1977,BellLabsreleasedacombinationofthesevariantsintoa singlesystem,UnixSystemIII; •In1982,AT&TreleasedSystemV.(IreadedMorrisBech'sbookin 1990) HistoryofUnix •Thesimplicitydesign,distributedsourcecode,ledtofurtherdevelopmentat externalorganizations. •UCBerkeleySoftwareDistributions,orBSD: –1BSDin1977,acollectionofpatchesandadditionalsoftwareontopofBell Labs’Unix. –2BSDin1978,addingthecshandviutilities –3BSD,ThefirststandaloneBerkeleyUnixin1979.virtualmemory(VM)added. –Aseriesof4BSDreleases,4.0BSD,4.1BSD,4.2BSD,4.3BSD,followed 3BSD.TheseversionsofUnixaddedjobcontrol,demandpaging,andTCP/IP. –In1994,theuniversityreleasedthefinalofficialBerkeleyUnix,featuringa rewrittenVMsubsystem,as4.4BSD. –TodaytheDarwin,FreeBSD,NetBSD,andOpenBSDsystems. •Inthe1980sand1990s,commercialversionsofUnixbasedonAT&Tor BSD,suchasDigital’sTru64,HewlettPackard’sHP-UX,IBM’sAIX, Sequent’sDYNIX/ptx,SGI’sIRIX,andSun’sSolaris&SunOS. CharacteristicsofUnix •Theoriginalelegantdesign,yearsofinnovationand evolutionaryhasresultedinapowerful,robust,and stableoperatingsystem. –Unixissimple:onlyhundredsofsystemcalls,straightforward, evenbasic,design. –Everythingisafile.Thissimplifiesthemanipulationofdataand devicesintoasetofcoresystemcalls:open(),read(),write(), lseek(),andclose(). –WritteninC.Amazingportabilitytodiversehardware architecturesandaccessibilitytoawiderangeofdevelopers. –Fastprocesscreationtimeandtheuniquefork()systemcall. –Simpleyetrobustinterprocesscommunication(IPC)primitives that,whencoupledwiththefastprocesscreationtime,enable thecreati