⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 readme

📁 操作系统源代码
💻
字号:
This a new implementation of a shutdown procedure. It allows the system to go down graciously with informing theusers. This package contains 3 programs:- halt = Immediately stop the system, no info to users- shutdown = Inform users, close down the system properly- wall = Vincent Archer's implementation of wall (Write all)InstallingShutdown and halt use a new systemcall, which I've added toMM. Therefor there are several diff's which should be applied:callnr.hd - New callnr for reboot(2)	   Diff against /usr/include/minix/callnr.h.	   Those of you using a symlink package should	   change the number and mm/table.c into a free	   number. I used 54, LSTAT.param.hd - Defines reboot_flag as a part of the messagesproto.hd - Add's prototype for do_reboot()table.cd - Interpretation of the systemcall to MMmm.cd -	   I have added the do_reboot code to mm/getset.c but	   I couldn't find a getset.c to create a useable diff :-(	   So you can add where you want it. It is pure code, no diff.Now edit log.c and search for ``host''. Change this into yoursystemname or make it empty.Shutdown and halt log their actions in /usr/adm/authlog, edit themakefile and undefine -DLOG if you don't want this (this at the end ofthe makefile). You can change SHUT_LOG in shutdown.c and log.c if youwant it in another file.Then type a `make'. This will take a minute or so (13 sec. with bcc :-).Remember to build a new image and update the ps_database.Type `make install' to place the program's where I've got them.Use them, try them and let me now if you've got problems runningsomething.I have tested to sources both on 16-bits and 32-bits MINIX. I have compiledit with gcc, bcc and ACK, so that shouldn't really give a problem. Maybethe standard MINIX-make chokes on the makefile, atleast mine did.NOTE:	Make install does not place the man-pages somewhere. You should	do this yourself.--Edvard Tuinder        ed@pulstar.NL.mugnet.org    v892231@si.hhs.NLStudent Computer ScienceHaagse Hogeschool, The Hague, The Netherlands

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -