Ò׽ؽØÍ¼Èí¼þ¡¢µ¥Îļþ¡¢Ãâ°²×°¡¢´¿ÂÌÉ«¡¢½ö160KB

װLinuxϵͳ

½ñÌì×°ÁËÒ»ÌìµÄLinuxϵͳ£¬ÓëÆä˵°²×°»¹²»Èç˵ÊÇÏÂÔØÁËÒ»Ì죬ÏȺó×°ÁËfedora core 4£¬fedora core 6£¬×îºó×°fedora core 8ÖÕÓÚ¿ÉÒÔÓÃÁË£¬Ã¿¸ö¶¼ÊÇ3G¶à£¬ÒòΪÔÚѧУµÄ¹¤×÷ÊÒ£¬ËùÒÔÏÂÔØËÙ¶ÈÆ½¾ù¿ÉÒÔ´ïµ½1.9M²»µ½£¬Õâ¿ÉÊÇÏÞËٵ쬾ÍËãÕâÑùÎҵĵçÄÔÒ²ÒòΪÏÂÔØËÙ¶ÈÌ«¿ìËÀÁËN»ØÁË£¬¶¼ÊÇÇ¿ÖÆPowerµÄ£¬ÕæµÃ×°µÃÓеãÓôÃÆ°¡£¬×°FC4ÊÇÒòΪÂòµÄ¡¶Äñ¸çµÄ˽·¿²Ë¡·ÓõÄÊÇÕâ¸öLinuxϵͳ£¬µ«Õâ±¾ÊéËäÈ»Êǵڶþ°æÁË£¬µ«Àý×ÓºÃÏñ»¹ÊǵÚÒ»°æµÄ£¬µÚÒ»°æµÄ³öÊéʱ¼äºÃÏñ±ÈÎÒÂòµÄ±¾±¾ÄÇʱºò»¹Ô磬ËùÒÔ¶ÔÎÒµÄÏÔ¿¨²»Ö§³Ö£¬ËäÈ»³É¹¦°²×°ÍêÁË£¬µ«ÖØÆôºóû°ì·¨ÏÔʾ£¬ºóÀ´¾ÍÓÃÁËFC6£¬µ«Õâ¸öÔÚ°²×°µÄ¹ý³ÌÖÐÖ±½Ó¸øÎÒºÚÆÁÁË£¬ÎÒº¹£¬ÐÁÐÁ¿à¿àÏÂÁ˰ëÌ죫ËÀÁËN»Ø£¬¾ÓÈ»ÕâÑù£¬¿ÉÄÜÒ²ÊǶÔÎҵı¾±¾µÄÓ²¼þ²»Ö§³Ö°Ñ£¬ËùÒÔÎÒÕâÀï¸æ½ë´ó¼Ò£ºÈç¹û´ó¼ÒҪѧϰLinuxµÄ»°£¬²»Òª°Ñ¹ýʱµÄµçÄÔ¸øÈÓµôÁË£¬Õâ¸ö×÷ΪѧϰLinuxµÄÁ·Ï°»ú×îºÃ²»¹ýÁË
×îºó±§×ÅÊÔÊÔ¿´µÄÐÄÇé×°11Ô¸ÕÍÆ³öÀ´µÄFC8£¬Ï£ÍûÄÜÖ§³ÖÎҵı¾±¾µÄÓ²¼þÅäÖã¬ÖÕÓÚ¹¦·ò²»¸ºÓÐÐÄÈË£¬¿ÉÒÔÓÃÆðÀ´ÁË£¬ËäÈ»ÔÚFC4ºÍFC6µÄ»ù´¡ÉϸĽøÁ˺ܶණÎ÷£¬ºÍÊéµÄÄÚÈÝÓÐЩ²î±ð£¬µ«¹ØÏµÓ¦¸Ã²»´ó£¬²»¶®µÄ¿ÉÒÔ½Ó´¥baidu»ògoogle£¬ÉõÖÁ½áºÏÁ½ÕßµÄbaigoogledu¡£ÏÂÃæ½²Ò»ÏÂÎҵݲװ²½Ö蹩´ó¼Ò²Î¿¼£¬ÎÒÊÇÔÚwindowsϵͳµÄ»ù´¡Éϰ²×°LinuxϵͳÉϵģ¬Ò²¾ÍÊÇÏÖÔÚÎҵı¾±¾ÕâÁ½¸öϵͳ²¢´æ£¬°²×°²½ÖèÈçÏ£º
1.Èç¹ûÄãÓõÄÒ²ÊDZ¾±¾µÄ»°£¬¿ÉÒÔÈ¥http://www.linux-on-laptops.com/Õâ¸öÍøÕ¾¿´¿´Õâ¸öϵͳ±È½ÏÊʺÏÄ㣬LinuxÓÐºÜ¶à°æ±¾£¬Æä×î»ù´¡µÄ¶«Î÷Ò»ÑùµÄ£¬ËùÓÐËæ±ã×°ÄÄÒ»¸ö¶¼²î²»¶à£¬ÏÖÔÚÒÔÎҵı¾±¾×°µÄfedora core 8ΪÀý£»
2.¿ÉÒÔÈ¥¹Ù·½ÍøÖ·http://fedoraproject.org/get-fedoraÏÂÔØfedora core 8µÄ¾µÏñÎļþFedora-8-i386-DVD.iso£¬µ±È»Ò²¿ÉÒÔÍøÉÏËÑË÷һϣ¬ÏÂÍêºó½«Æä·ÅÔÚC¸ùĿ¼Ï£»
3.ÍøÉÏËÑÒ»ÏÂGrub4dos»ògrub for dos£¬ÏÂÔØÒ»¸öѹËõ°ü£¬²¢½«Æä½âѹµ½CÅ̸ùĿ¼£»
4.ÓÃwinRAR´ò¿ªFedora-8-i386-DVD.iso£¬½«ÀïÃæµÄisolinux½âѹµ½CÅ̸ùĿ¼Ï£»
5.¿ÉÓüÇʱ¾´ò¿ª²¢ÐÞ¸ÄÎļþC:/boot/grub/menu.lst£¬ÎÒµÄÈçÏ£º
# This is a sample menu.lst file. You should make some changes to it.
# Added items for installing GRUB [ which is on your DOS drive C: ] to MBR
color black/cyan yellow/cyan
timeout 60
default 0
title DOS/Win9x/Me/NT/2K/XP
root (hd0,0)
chainloader +1
title FC7
root (hd0,0)
kernel /isolinux/vmlinuz
initrd /isoli


Ïà¹ØÎĵµ£º

linux ÐźŴ¦Àí

Ôø×ö¹ýsignalÏà¹ØµÄÒ»µã¶ù¿ª·¢£¬Ì¸Ì¸ÎÒµÄһЩÀí½â¡£
Ê×ÏÈ£¬ÐèÒªÀí½â¼¸¸ösignalÏà¹ØµÄº¯Êý¡£
  sigaddset(sigset_t* sigSet, int sigNum ) :  ½«ÐźÅsigNum Ìí¼Óµ½Ðźż¯ sigSet ÖУ»
  sigdelset(sigset_t* sigSet, int sigNum) : ½«ÐźŠsigNum ´ÓÐźż¯ sigSet ÖÐɾ³ý£»
   ......

remote desktop, linux >windows

ѧУ·þÎñÆ÷µÄÒ»¸öwindowsÐéÄâ»ú¿ªÆôÁËDesktop¹²Ïí£¬ÕâÑù¿ÉÒÔÔÚÅäÖò»¸ßµÄÖÕ¶ËʹÓøßÐÔÄܵĻúÆ÷£¬³ýÁËwindows¿Í»§¶Ë·ÃÎÊÍ⣬ÔÚUbuntuÀï¿ÉÒÔͨ¹ý×Ô´øµÄ rdesktop·ÃÎÊ£¬¸Ã³ÌÐòΪÃüÁîÐÐÐÎʽ¡£²ÎÊý½Ï¶à£¬±È½ÏÓÐÓõÄÊÇÌṩԶ³ÌÓë±¾µØ½»»¥µÄ-r²ÎÊý¡£
È磺
rdesktop -r disk:floppy=/home/xiajing/t  192.168.111.111 ......

LinuxÖеÄÄÚ´æ·ÖÅäºÍÊÍ·ÅÖ®__alloc_bootº¯Êý·ÖÎö

 ¶ÔÓÚÕâ¸öº¯Êý£¬ÆäʵÊǺܶàºê¶¨Òåµ÷Óõĺ¯Êý£¬ÆäÖÐalloc_bootmem_low_pages(x)ÊÇÆäÖÐÒ»¸öµ÷ÓÃËüµÄºê£¬´ó¼Ò¿ÉÒÔÈÏΪÕâЩºêÖ»ÊǰÑÕâ¸ö__alloc_bootmemʵÖÊÐԵĺ¯Êý½øÐÐÁË·â×°¡£#define alloc_bootmem_low_pages(x)Ï൱ÓÚ__alloc_bootmem((x), PAGE_SIZE, 0)£¬¾ÍÊÇ´Ó0µØÖ·¿ªÊ¼µÄµÍ¶ËÄÚ´æ·ÖÅä°´Ò³´óС¶ÔÆëµÄÄÚ´æ¡£ºÃÁË£¬Îª ......

linux ÖÕ¶ËÆô¶¯³ÌÐòinittab

Ò»¡¢Ê²Ã´ÊÇinit
¡¡¡¡initÊÇLinuxϵͳ²Ù×÷Öв»¿ÉȱÉٵijÌÐòÖ®Ò»¡£ ÊÇÒ»¸öÓÉÄÚºËÆô¶¯µÄÓû§¼¶½ø³Ì¡£
¡¡¡¡ÄÚºËÆô¶¯£¨ÒѾ­±»ÔØÈëÄڴ棬¿ªÊ¼ÔËÐУ¬²¢Òѳõʼ»¯ËùÓеÄÉ豸Çý¶¯³ÌÐòºÍÊý¾Ý½á¹¹µÈ£©Ö®ºó£¬¾Íͨ¹ýÆô¶¯Ò»¸öÓû§¼¶³ÌÐòinitµÄ·½Ê½À´Æô¶¯ÆäËûÓû§¼¶µÄ½ø³Ì»ò·þÎñ¡£ËùÒÔ£¬initʼÖÕÊǵÚÒ»¸ö½ø³Ì£¨ÆäPIDʼÖÕΪ1£©¡£
¡¡¡¡ÄÚºË ......

LINUX C Á´±í·â×°


main.c
//³õʼ»¯¶ÓÁÐ
void InitQueue(LiQueue *q)
{
  q=(LiQueue*)malloc(sizeof(LiQueue));
    q->front=q->rear=NULL;
}
//ÅжÏÊÇ·ñΪ¿Õ
int QueueEmpty(LiQueue *q)
{
 if(q->rear==NULL)
 {
  return 1;
 }
 else
 {
  ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØÍ¼ | ¸ÓICP±¸09004571ºÅ