Linuxϵͳ¹ÜÀíʵ¼ù(6)£ºÏµÍ³µÇ¼ÅäÖÃ
1¡¢/etc/modules.confÎļþ£º
ÔÚDebian/UbuntuÅÉϵÖÐÃûΪ/etc/modules£¬ÔÚÓÐЩLinuxϵͳÖÐÒ²ÓÃÃû/etc/conf.modules¡£¸ÃÅäÖÃÎļþ¶¨ÒåÁ˸÷ÖÖÐèÒªÔÚÆô¶¯Ê±¼ÓÔصÄÄ£¿éµÄ²ÎÊýÐÅÏ¢¡£ÕâÀïÖ÷Òª×ÅÖØÌÖÂÛ¹ØÓÚÍø¿¨µÄÅäÖá£ÔÚʹÓÃLinux×öÍø¹ØµÄÇé¿öÏ£¬Linux·þÎñÆ÷ÖÁÉÙÐèÒªÅäÖÃÁ½¿éÍø¿¨¡£ÎªÁ˼õÉÙÆô¶¯Ê±¿ÉÄܳöÏÖµÄÎÊÌ⣬LinuxÄں˲»»á×Ô¶¯¼ì²â¶à¸öÍø¿¨¡£¶ÔÓÚûÓн«Íø¿¨µÄÇý¶¯±àÒëµ½Äں˶øÊÇ×÷Ϊģ¿é¶¯Ì¬ÔØÈëµÄϵͳÈôÐèÒª°²×°¶à¿éÍø¿¨£¬Ó¦¸ÃÔÚ“modules.conf”ÎļþÖнøÐÐÏàÓ¦µÄÅäÖᣠUbuntuÖеÄ/etc/moudlesÄÚÈÝÈçÏ£º
# /etc/modules: ÔÚÆô¶¯Ê±×°ÔصÄÄÚºËÄ£¿é
#
# ±¾Îļþ°üº¬ÁËÔÚϵͳÆô¶¯Ê±Ó¦¸Ã±»×°ÔصÄÄÚºËÄ£¿éÃû£¬Ã¿¸öÄ£¿éÃûÕ¼Ò»ÐС£ÒÔ"#"¿ªÊ¼µÄÐб»ºöÂÔ
fuse
lp
sbp2
ÔÚRedHatÅÉϵÖÐÕâ¸öÎļþµÄ¸ñʽ²»Ò»Ñù¡£ÈôÉ豸Çý¶¯±»±àÒëΪģ¿é£¨Äں˵ÄÄ£¿é£©£¬¶ÔÓÚPCIÉ豸£¬Ä£¿é½«×Ô¶¯¼ì²âµ½ËùÓÐÒѾ°²×°µ½ÏµÍ³ÉϵÄÉ豸£»¶ÔÓÚISA¿¨£¬ÔòÐèÒªÏòÄ£¿éÌṩIOµØÖ·£¬ÒÔʹģ¿éÖªµÀÔںδ¦Ñ°ÕҸÿ¨£¬ÕâЩÐÅÏ¢ÔÚ“/etc/modules.conf”ÖÐÌṩ¡£ÀýÈ磬ÎÒÃÇÓÐÁ½¿éISA×ÜÏßµÄ3c509¿¨£¬Ò»¸öIOµØÖ·ÊÇ0x300£¬ÁíÒ»¸öÊÇ0x320¡£±à¼“modules.conf”ÎļþÈçÏ£º
alias eth0 3c509
alias eth1 3c509
options 3c509 io=0x300,0x320
ÕâÊÇ˵Ã÷3c509µÄÇý¶¯³ÌÐòÓ¦µ±·Ö±ðÒÔeth0»òeth1µÄÃû³Æ±»¼ÓÔØ£¨alias eth0,eth1£©£¬²¢ÇÒËüÃÇÓ¦¸ÃÒÔ²ÎÊýio=0x300,0x320±»×°ÔØ£¬ÒÔ֪ͨÇý¶¯³ÌÐòµ½ÄÄÀïȥѰÕÒÍø¿¨£¬ÆäÖÐ0xÊDz»¿ÉȱÉٵġ£¶ÔÓÚPCI¿¨£¬½ö½öÐèÒªaliasÃüÁîÀ´Ê¹ethNºÍÊʵ±µÄÇý¶¯Ä£¿éÃû¹ØÁª£¬PCI¿¨µÄIOµØÖ·½«»á±»×Ô¶¯µÄ¼ì²âµ½¡£¶ÔÓÚPCI¿¨£¬±à¼“modules.conf”ÎļþÈçÏ£º
alias eth0 3c905
alias eth1 3c905
¡¡¡¡ÈôÉ豸Çý¶¯²»ÊDZ»±àÒëΪģ¿é£¬¶øÊÇÒѾ±»±àÒë½øÁËÄںˣ¬ÏµÍ³Æô¶¯Ê±µÄPCI¼ì²â³ÌÐò½«»á×Ô¶¯ÕÒµ½ËùÓÐÏà¹ØµÄÍø¿¨¡£ISA¿¨Ò»°ãÒ²Äܹ»±»×Ô¶¯¼ì²âµ½£¬µ«ÊÇÔÚijЩÇé¿öÏ£¬ISA¿¨ÈÔÈ»ÐèÒª×öÅäÖù¤×÷£¬ÀýÈçͨ¹ýLILOÒýµ¼ÏµÍ³Ê±£¬ÐèÒªÔÚ“/etc/lilo.conf”ÖÐÔö¼ÓÅäÖÃÐÅÏ¢£¬Æä·½·¨ÊÇͨ¹ýLILO³ÌÐò½«Æô¶¯²ÎÊýÐÅÏ¢´«µÝ¸øÄںˡ£¶ÔÓÚISA¿¨£¬±à¼“lilo.conf”Îļþ£¬Ôö¼ÓÈçÏÂÄÚÈÝ£º
¡¡¡¡append=" ether="0,0,eth0 ether="0,0,eth1"
¡¡¡¡×¢ÒâÏȲ»ÒªÔÚ“lilo.conf”ÖмÓÈëÆô¶¯²ÎÊý£¬²âÊÔÒ»ÏÂÄãµÄISA¿¨£¬Èôʧ°ÜÔÙʹÓÃÆô¶¯²
Ïà¹ØÎĵµ£º
£¨L2CAPÐÒé¼ò½é£¬L2CAPÔÚBlueZÖеÄʵÏÖÒÔ¼°L2CAP±à³Ì½Ó¿Ú£©
Ò»£ºL2CAPÐÒé¼ò½é£º
Logical Link Control and Adaptation Protocol(L2CAP)
Âß¼Á¬½Ó¿ØÖƺÍÊÊÅäÐÒé (L2CAP) ΪÉϲãÐÒéÌṩÃæÏòÁ¬½ÓºÍÎÞÁ¬½ÓµÄÊý¾Ý·þÎñ£¬²¢Ìṩ¶àÐÒ鹦ÄܺͷָîÖØ×é²Ù×÷¡£L2CAP ³äÐíÉϲãÐÒéºÍÓ¦ÓÃÈí¼þ´«ÊäºÍ½ÓÊÕ×î´ó³¤¶ÈΪ 64K µÄ L2CAP Ê ......
ÎļþÃüÁî
ls – ÁгöĿ¼
ls -al – ʹÓøñʽ»¯ÁгöÒþ²ØÎļþ
cd dir - ¸ü¸ÄĿ¼µ½ dir
cd – ¸ü¸Äµ½ home Ŀ¼
pwd – ÏÔʾµ±Ç°Ä¿Â¼
mkdir dir – ´´½¨Ä¿Â¼ dir
rm file – ɾ³ý file
rm -r dir – ɾ³ýĿ¼ dir
rm -f file – Ç¿ÖÆɾ³ý file
rm -rf dir – Ç¿ÖÆɾ ......
LinuxÖ§³Ö¶àÖÖÎļþϵͳ£¬°üÀ¨ext2¡¢ext3¡¢vfat¡¢ntfs¡¢iso9660¡¢jffs¡¢romfsºÍnfsµÈ£¬ÎªÁ˶Ը÷ÀàÎļþϵͳ½øÐÐͳһ¹ÜÀí£¬LinuxÒýÈëÁËÐéÄâÎļþϵͳVFS(Virtual File System)£¬Îª¸÷ÀàÎļþϵͳÌṩһ¸öͳһµÄ²Ù×÷½çÃæºÍÓ¦Óñà³Ì½Ó¿Ú¡£
LinuxϵÄÎļþϵͳ½á¹¹ÈçÏ£º
LinuxÆô¶¯Ê ......
Á´±íµÄɾ³ý
83/*
84 * Delete a list entry by making the prev/next entries
85 * point to each other.
86 *
87 * This is only for internal list manipulation where we know
88 * the prev/next entries already!
89 */
90static inline void __list_del(struct list_head * prev, struct list_head * next)
......
ÉÐѧÌÃlinux±Ê¼Ç£¨¶þ£©
touch Îļþ ´´½¨Îļþ
rm ÎļþÃû ɾ³ýÎļþ
rm –r Îļþ¼ÐÃû µÝ¹éɾ³ýÎļþ¼Ð
rm –rf Îļþ¼ÐÃû µÝ¹éÇ¿ÖÆɾ³ýÎļþ¼Ð
rmdir Îļþ¼ÐÃû ɾ³ý¿ÕÎļþ¼Ð
cp (-r)Ô´Îļþ/ÔÎļþ¼Ð Ä¿±êÎļþ/Ä¿±êÎļþ¼Ð
mv(-r) Ô´Îļþ Ä¿±êÎļþ/Ä¿±êÎļþ¼Ð
tree Ê÷×´ÏÔʾ
²é¿´»·¾³±äÁ¿£ºwindows ......