WINDOWS XPÏÂÓÃgrub_for_dos´ÓÓ²ÅÌ°²×°FC6(linux)
·ÖÀࣺ²Ù×÷ϵͳ¼¼ÇÉ
windows
ϵͳͨ¹ý
GRUB
for dos Ó²ÅÌ°²×°
FC6
Fedora
Core 6
ÕâÀï¸ø¸ögrub for
dos µÄÏÂÔصØÖ·£º
http://nchc.dl.sourceforge.net/sourceforge/grub4dos/grub_for_dos-0.4.1.zip
½âѹ·ÅÈëC:ÅÌ
ÆäÖÐÁ½¸öÎļþ×îÖØÒª,°ÑËûÃǶ¼·ÅÔÚC:¸ùĿ¼Ï£º
1.C:\boot\grub
2.°Ñ grldr ·ÅÈë C: Å̸ùĿ¼
°Ñ vmlinuzºÍinitrd.img ·Åµ½ C:\linux
ÐÞ¸Ä C:\boot\grub\menu.lst
title Fedora Core 6 Install
root (hd0,0) #ÕâÀï¼ÙÉèfc6µÄ¹âÅ̾µÏñÎļþ·ÅÔÚÁË(hd0,0)
kernel (hd0,0)/linux/vmlinuz
initrd (hd0,0)/linux/initrd.img
boot
ÐÞ¸Ä c:\boot.ini
C:\GRLDR="Start GRUB"
ÖØÆôϵͳ Æô¶¯GRUB Ñ¡Ôñ "Fedora Core 6 Install"
¿ªÊ¼°²×°
Ïà¹ØÎĵµ£º
´ÓLinux 2.6ÆðÒýÈëÁËÒ»Ì×еÄÇý¶¯¹ÜÀíºÍ×¢²á»úÖÆ:Platform_deviceºÍPlatform_driver¡£
LinuxÖд󲿷ֵÄÉ豸Çý¶¯£¬¶¼¿ÉÒÔʹÓÃÕâÌ×»úÖÆ, É豸ÓÃPlatform_device±íʾ£¬Çý¶¯ÓÃPlatform_driver½øÐÐ×¢²á¡£
Linux platform driver»úÖƺʹ«Í³µÄdevice driver »úÖÆ(ͨ¹ýdriver_registerº¯Êý½øÐÐ×¢²á)Ïà±È£¬Ò»¸öÊ ......
³ö´¦£ºhttp://bbs.java.ccidnet.com
¹Ò½ÓÃüÁî(mount)
¡¡¡¡Ê×ÏÈ£¬½éÉÜһϹҽÓ(mount)ÃüÁîµÄʹÓ÷½·¨£¬mountÃüÁî²ÎÊý·Ç³£¶à£¬ÕâÀïÖ÷Òª½²Ò»Ï½ñÌìÎÒÃÇÒªÓõ½µÄ¡£
¡¡¡¡ÃüÁî¸ñʽ£º
¡¡¡¡mount [-t vfstype] [-o options] device dir
¡¡¡¡ÆäÖУº
¡¡¡¡1.-t vfstype Ö¸¶¨ÎļþϵͳµÄÀàÐÍ£¬Í¨³£²»±ØÖ¸¶¨¡£mount »á×Ô¶¯Ñ¡ÔñÕýÈ· ......
caddr_t //ºËÐĵØÖ·
clock_t //ʱÖӵδð¼ÆÊýÆ÷
compt_t //ѹËõµÄʱÖӵδð
dev_t //É豸ºÅ£¨Ö÷ºÍ´Î£©
fd_set //ÎļþÃèÊö·û¼¯
fpos_t //ÎļþλÖÃ
gid_t //ÊýÖµ×éID
ino_t //i½Úµã±àºÅ
mode_t //ÎļþÀ ......
1£¬ÏÔÖøÓ°ÏìϵͳÐÔÄܵÄ4ÖÖ×ÊÔ´
(1),CPUʱ¼ä
(2),ÄÚ´æ
(3),Ó²ÅÌI/O
(4),ÍøÂçI/O
2£¬·ÖÎöCPUʹÓÃÇé¿ö
ʹÓÃvmstat²É¼¯CPUµÄÐÔÄÜÆ¿¾±
[root@local]# vmstat 2
procs -----------memory---------- ---swap-- -----io-- ......
Linux»ñÈ¡ºÁÃ뼶ʱ¼ä
Moakap
ÔÚÈí¼þÉè¼ÆÖо³£»áÓõ½¹ØÓÚʱ¼äµÄ´¦Àí£¬ÓÃÀ´¼ÆËãÓï¾ä¡¢º¯ÊýµÄÖ´ÐÐʱ¼ä£¬Õâʱ¾ÍÐèÒª¾«È·µ½ºÁÃëÉõÖÁÊÇ΢ÃîµÄʱ¼ä¡£
int gettimeofday(struct
timeval *tv, struct timezone *tz);
int settimeofday(const
struct timeval *tv , const struct timezone *tz);
struc ......