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

ÖØ×°windowsºó»Ö¸´linuxÒýµ¼

Ç°¼¸ÌìÖØ×°ÁËwindowsϵͳ£¬µ¼ÖÂÒÔÇ°°²×°µÄLinux½ø²»È¥ÁË£¬ÎÞ·¨½øÈëLinux£¬Óò»ÏëÖØа²×°Linux£¬ÄÇÑùÌ«·ÑÊÂÁË£¬ÔÚÍøÉÏËÑË÷ÁËһϣ¬ÕÒµ½»Ö¸´LinuxÒýµ¼µÄ·½·¨£¬¾­ÊµÑ飬ÖØÐÂÒýµ¼½øÈëÔ­À´µÄLinuxϵͳ£¬Ôڴ˼òµ¥¼Ç¼һÏ£º
  Ê×ÏÈ£¬ÏÂÔØÒ»¸öGrub4dos£¬½âѹµ½CÅ̸ùĿ¼Ï£¬°ÑÀïÃæµÄgrldr¸´ÖƵ½¸ùĿ¼Ï£¬ÐÞ¸Äboot.iniÎļþ£¬ÔÚ×îºó¼ÓÉÏÒ»ÐУº
  “ C:\GRLDR=GRUB ”²¢ÐÞ¸Äһϵȴýʱ¼ä£¬¸Ä´óÒ»µãÊýÖµ£¬ºÃÓгä·ÖµÄʱ¼ä×ö¸ü¸Ä¡£
  µÚ¶þ²½£¬ÖØÆô£¬ÔÚϵͳѡÔñ²Ëµ¥ÖÐÑ¡Ôñ¸Õ¸ÕÌí¼ÓµÄGRUB£¬½øÈëgrub£¬ÔÚgrubÃüÁîÐÐÖÐÊäÈë“root (hdx,y)“¡¾ ×¢Ò⣬rootºóÃæÓÐÒ»¿Õ¸ñ£¬£¨hdx£¬y£©´ú±íÄãµÄLinuxµÄ/boot·ÖÇøµÄ°²×°Î»Öã¬xͨ³£Îª0¡¿»Ø³µ£¬ÏµÍ³»á·µ»ØÎļþϵͳÀàÐ͵ÈÐÅÏ¢£»
  µÚÈý²½£¬ÊäÈë“setup£¨hdx£©”¡¾setupºóÃæͬÑùÒ»¸ö¿Õ¸ñ£¬´Ë´¦µÄx¸úÉÏÒ»²½Ò»Ö¡¿£¬»Ø³µ£¬ÏµÍ³»á·µ»ØÒ»´®“*******success”µÄ×Ö·û£»
  µÚËIJ½£¬ÊäÈë“kernel hd£¨x£¬y£©/vmlinuz.xx.xx”£¬Ò²¾ÍÊÇÊäÈëÄÚºËѹËõÎļþµÄ·¾¶¡¾kernelºóÃæÓÐÒ»¿Õ¸ñ¡¿£¬»Ø³µ£¬½Ó×ÅÊäÈë“initrd hd£¨x£¬y£©/initrd.xx.xx”¾ÍÊÇinitrdÎļþµÄ·¾¶£¬ È»ºóÊäÈë“boot”Òýµ¼£¬½øÈëlinuxϵͳ£»
 µÚÎå²½£¬½øÈëϵͳºó£¬Çл»µ½rootÓû§£¬Ö´ÐГgrub-install”ÖØиÄдMBR¾Í¿ÉÒÔÁË¡£


Ïà¹ØÎĵµ£º

linux ioctlº¯Êý¼°ÆäÇý¶¯ºÍÓ¦ÓóÌÐò×¢ÒâÊÂÏî

¹ØÓÚIOCTLÇý¶¯µÄ±àд·½·¨LDDÕâ±¾ÊéȷʵдµÄ±È½ÏÃ÷°×ÁË£¬ÔÚÕâÄØÎҾͼòµ¥µÄ×öÒ»¸ö½éÉÜ¡£ÕâÀïÎÒÖ÷ÒªÃèÊö×Ô¼º±àдIOCTLÇý¶¯Ê±ËùÓöµ½µÄÎÊÌâ¼°ÆäÔ­Òò¡£
    Çý¶¯ÀïµÄioctlº¯ÊýÖ÷ҪʵÏÖ²»ÓÃread,writeº¯ÊýµÄÓëÓû§¿Õ¼äµÄ¼òµ¥Êý¾Ý½»»¥¼°ÎÞ²ÎÊýµÄÃüÁî¿ØÖÆ¡£ÄÇôÎÒÃÇÈçºÎʵÏÖÕ⼸ÖÖ¹¦ÄܵÄIOCTLº¯ÊýÄØ£¿ioctlÇý¶¯ÖÐÒÔS ......

LINUX³£ÓÃÃüÁî(ת)

1.# ±íʾȨÏÞÓû§(Èç:root),$ ±íʾÆÕͨÓû§
¿ª»úÌáʾ
ogin:ÊäÈëÓû§Ãû
password:ÊäÈë¿ÚÁî Óû§ÊÇϵͳע²áÓû§³É¹¦µÇ½ºó£¬¿ÉÒÔ½øÈëÏàÓ¦µÄÓû§»·¾³.
Í˳öµ±Ç°shell,ÊäÈë:exit
2.useradd netseek Ìí¼ÓÒ»¸önetseekÓû§
passwd netseek ¸ønetseekÕâ¸öÓû§ÉèÖÃÃÜÂë.
(/etc/passwd /etc/group)
userdel netseek É ......

Linux I2C InputÉ豸Çý¶¯´úÂëµÄ¼¸µãÀí½â

×î½üÔÚ×öÒ»¸öI2C¼üÅ̵ÄLinuxÇý¶¯£¬²Î¿¼ÁËÆäËûоƬµÄһЩ´úÂ룬ÆäÖнÐø·¢ÏÖÓÐЩÈÃÈËÃÔ»óµÄ¶«Î÷£¬°ÑÎÒµÄÃÔ»ó¼°Àí½âÔÚÕâÀï¼ÓÒԼǼ£º
1. i2c_driver½á¹¹ÌåµÄprobe³ÉÔ±µÄÔ­ÐÍ£º
     int (*probe)(struct i2c_client *, const struct i2c_device_id *);
¼´£ºprobeº¯Êý±»µ÷ÓÃʱ»á´ÓÉϱߴ«Á½¸ö¸ö²Î ......

linuxÎļþ /etc/services Ïà¹Ø

/etc/services
InternetÍøÂç·þÎñÎļþ£¬¼Ç¼ÍøÂç·þÎñÃûºÍËüÃǶÔӦʹÓõĶ˿ںż°Ð­Òé¡£ÎļþÖеÄÿһÐжÔÓ¦Ò»ÖÖ·þÎñ£¬ËüÓÉ4¸ö×Ö¶Î×é³É£¬ÖмäÓÃTAB»ò¿Õ¸ñ·Ö¸ô£¬·Ö±ð±íʾ“·þÎñÃû³Æ”¡¢“ʹÓö˿ڔ¡¢“ЭÒéÃû³Æ”ÒÔ¼°“±ðÃû”¡£ÏÂÃæÊÇÕâ¸öÎļþµÄ½ÚÑ¡ÄÚÈÝ¡£
tcpmux 1/tcp ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ