LinuxÖÕ¶Ë×ÖÌåÑÕÉ«ÉèÖÃ_zz
LinuxÖն˻·¾³Ï£¬ÀûÓÃÖÕ¶ËÃüÁîÐòÁпÉÒÔÉèÖÃ×ÖÌåµÄÑÕÉ«£¬Æä¸ñʽÈçÏ£º
<ESC>[<C1>;<C2>;<C3>m
ÆäÖÐ<ESC>µÄֵΪ\033£¬ÊäÈë·½·¨Îª£ºCtrl+V, Escape£»<C1>¡¢<C2>¡¢<C3>·Ö±ð´ú±íÇ°¾°É«¡¢±³¾°É«ºÍÏÔʾЧ¹û£¬¾ßÌåµÄÈ¡ÖµÈçÏ£º
No.
Ç°¾°É«
±³¾°É«
ÏÔʾЧ¹û
1
30
ºÚÉ«
40
ºÚÉ«
0
Çå³ý
2
31
ºìÉ«
41
ºìÉ«
1
¸ßÁÁ
3
32
ÂÌÉ«
42
ÂÌÉ«
4
Ï»®Ïß
4
33
»ÆÉ«
43
»ÆÉ«
5
ÉÁ˸
5
34
À¶É«
44
À¶É«
7
·´°×
6
35
×ϺìÉ«
45
×ϺìÉ«
8
²»¿É¼û
7
36
ÇàÀ¶É«
46
ÇàÀ¶É«
8
37
°×É«
47
°×É«
×¢Ò⣺
1¡¢´ËÃüÁîÐòÁÐÊÇ°ë·â±ÕµÄ£¬¼´²»ÐèÒªÏñXMLÄÇÑùÓпªÊ¼/½áÊø±ê¼Ç£»
2¡¢<C1>¡¢<C2>¡¢<C3>µÄÏȺó˳ÐòÊÇ×ÔÓɵģ¬²¢ÇÒÊÇ¿ÉÑ¡µÄ¡£ÀýÈ磺Èç¹û²»Ïë¸Ä±äµ±Ç°±³¾°É«£¬Ôò¿ÉÒÔºöÂÔ<C2>Ïî¡£
ת×Ô£ºhttp://hi.baidu.com/drmagic/blog/item/df24b0db00431a6ed1164ed2.html
Ïà¹ØÎĵµ£º
£¨1£©ÈýÐǵĴ¥ÃþÆÁÇý¶¯s3c-ts.c£º
s3c_ts_init-¡·platform_driver_register(&s3c_ts_driver)£»
static struct platform_driver s3c_ts_driver = {
.probe = s3c_ts_probe,
.dri ......
Öжϴ¦Àí
ÔÚ 2.4 ÄÚºËºÍ 2.6ÄÚºËÖж¼Ê¹Óà request_irq()
º¯ÊýÀ´×¢²áÖжϷþÎñº¯Êý¡£ÔÚ 2.4
ÄÚºËÖУ¬ÐèÒª°üº¬µÄÍ·ÎļþÊÇ #include <linux/sched.h> £¬2.6 ÄÚºËÖÐÐèÒª°üº¬µÄÍ·ÎļþÔòÊÇ #include
<linux/interrupt.h> ¡£º¯ÊýÔÐÍÈçÏ£º
2.4 ÄÚºË
int
request_irq
(unsigned
int
irq
......
1.Ôö¼ÓÓ²¼þ
Ôö¼ÓµÄideÓ²ÅÌǰ׺Ϊhd£¬scsiÓ²ÅÌǰ׺Ϊsd£»µÚÒ»¿éÓ²ÅÌΪhda»òsda£¬µÚ¶þ¿éÓ²ÅÌΪhdb»òsdb,ÒÔ´ËÀàÍÆ¡£
2.ÓÃpvcreate´´½¨physical volumn
pvcreate /dev/sdb1 /dev/sdb2
´Ë´¦ËùÓõķÖÇøÊǵڶþ²½ÖвÙ×÷µÄÀàÐÍΪ8eµÄ·ÖÇø£¬pvcreateµÄ²ÎÊý¿ÉÒÔΪ1¸ö»ò¶à¸ö£»´´½¨Íê³Éºó¿ÉÒÔÓÃpvdisplay -vÀ´²é¿´´´½¨µÄÇé¿ö£¬ÓÃpvre ......
groups ²é¿´µ±Ç°µÇ¼Óû§µÄ×éÄÚ³ÉÔ±
groups gliethttp ²é¿´gliethttpÓû§ËùÔÚµÄ×é,ÒÔ¼°×éÄÚ³ÉÔ±
whoami ²é¿´µ±Ç°µÇ¼Óû§Ãû
/etc/groupÎļþ°üº¬ËùÓÐ×é
/etc/shadowºÍ/etc/passwdϵͳ´æÔÚµÄËùÓÐÓû§Ãû
Ìí¼ÓÓû§abcµ½rootȺ×飺
gpasswd -a abc root ......
×ܾõµÃÔÚITÐÐÒµÀï»ì£¬Ñ§±à³ÌÓïÑÔҪѧϰC²ÅÏñÑù£¬¿ª·¢ÒªÔÚLinuxϲÅÄÜ·¢»ÓºÃ£¬ºÇºÇ£¬Ëæ¿Ú˵µÄ£¬²»¹ý¸öÈËÈÏΪÏëÉîÈëµÄѧϰ¼ÆËã»ú֪ʶ£¬»¹ÊÇÓ¦¸ÃѧϰLinux²Ù×÷ϵͳ£¬ËùÒÔ´Ó½ñÌ쿪ʼÿÌì³é³öÒ»¸öСʱѧϰ£¬ÔÚ´Ë×öһЩѧϰ¼Ç¼£¬ÒÔ¹©ÒÔºó²éѯ×ܽᡣ
½ñÌìÊÇ°²×°£¬ÊÇÔÚVMwareÏ°²×°µÄRed hat 9,°²×°Ï൱˳³©£¬Ò»Â·nextÏÂÈ¥£¬¾ÍOKÁ ......