head.s 通過編譯連結的處理,同時被 boot.s 載入到保護模式零地址開始運行,在最後會調用 main 函數。代碼:/* * head.s contains the 32-bit startup code. * * NOTE!!! Startup happens at absolute address 0x00000000, which is also where * the page directory will exist. The startup code will be
Linux-0.01 的引導部分主要由兩個原始碼完成:boot.s 與 head.s 。boot.s 由 BIOS 載入執行,head.s 是 32 位的引導代碼,在最後會調用 main() 函數,完成系統的引導。boot.s 代碼:;;boot.s;; boot.s is loaded at 0x7c00 by the bios-startup routines, and moves itself; out of the way to address 0x90000, and jumps
drop_cachesWriting to this will cause thekernel to drop clean caches, dentries andinodes from memory, causing thatmemory to become free.To free pagecache: echo1 > /proc/sys/vm/drop_cachesTo free dentries and inodes: echo2 >
安裝tomcat6。 將tomcat安裝包複製到/usr下。 cp apache-tomcat-6.0.14.tar /usr/ cd /usr mkdir tomcat6 tar -zvxf apache-tomcat-6.0.14.tar 解壓後,就可以啟動了。 cd /usr/tomcat6/bin sh
今天在關注重慶那顆釘子的問題,所以沒看書。只說一個命令吧。file命令,用於顯示檔案的類型(如是文字檔還是檔案夾等等)。Usage: file [OPTION]... [FILE]...Determine file type of FILEs. -m, --magic-file LIST use LIST as a colon-separated list of magic number files -z,