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

linux»ñÈ¡ÎļþµÄ·¾¶Ãû¼°ÆäÎļþÃûµÄ·½·¨

1¡¢¼òµ¥²âÊÔʵÀý
 for i in `find . -type f -name "*.c"`
do
  echo $i
  basename $i    »ñÈ¡*.cÎļþÃû
  dirname $i        »ñÈ¡*.c¶ÔÓ¦µÄĿ¼Ãû
done
2¡¢Êµ¼ÊÓ¦ÓÃ
diff LinuxÔ´Â룬²¢½«Óв»Ò»ÑùµÄÔ´ÂëÕûÀíÔÚÒ»Æð£¬ÒªÇó£ºÎļþÃûÒÔnewºÍoldÇø·Ö¡£
(1)¡¢¼òµ¥²âÊÔ
rm -rf ~/Desktop/20091107
cp_source()
{
#for i in `find . -type d -print`
for i in `find $1 -type f -name "*.s"`
do
  #echo $i
  #basename $i
  dirname $i
  mkdir -p ~/Desktop/20091107/`dirname $i`
  cp $i ~/Desktop/20091107/`dirname $i`/`basename $i`_"$2"
done
}
cd linux-0.11 && cp_source "." "new"
cd ../linux-0.11 && cp_source "." "old"
(2)¡¢Êµ¼ÊʵÏÖ(ÒÔdiff -Nur linux-2.6.30 linux-2.6.31.5ΪÀý)
rm -rf ~/Desktop/20091107
#cat linux-patch.txt | grep 'diff -Nur ' | sed 's/^.*linux-2.6.30\///g'| sed 's/ linux-2.6.31.5.*$//g' > ~/Desktop/diff.txt
old_source_noprefix=`cat linux-patch.txt | grep 'diff -Nur ' | sed 's/^.*linux-2.6.30\///g'| sed 's/ linux-2.6.31.5.*$//g'`
new_source_noprefix=`cat linux-patch.txt | grep 'diff -Nur ' | sed 's/^.*linux-2.6.31.5\///g'`
old_source_haveprefix=`cat linux-patch.txt | grep 'diff -Nur ' | sed 's/^.*linux-2.6.30/linux-2.6.30/g'| sed 's/ linux-2.6.31.5.*$//g'`
new_source_haveprefix=`cat linux-patch.txt | grep 'diff -Nur ' | sed 's/^.*linux-2.6.31.5/linux-2.6.31.5/g'`
cp_source()
{
#for i in `find . -type d -print`
for i in $1
do
  #echo $i
  #basename $i
  #dirname $i
 
  #Used "diff -Nur", some file didn't exist!
  mkdir -p ~/Desktop/20091107/`dirname $i` && cp ./$2/$i ~/Desktop/20091107/`dirname $i`/`basename $i`_"$3" 2>/dev/null
done
}
cp_source "$old_source_noprefix" "linux-2.6.30" "old"
cp_source "$new_source_noprefix" "linux-2.6.31.5" "new"


Ïà¹ØÎĵµ£º

ʵսLinux Bluetooth±à³Ì(Áù) L2CAP±à³ÌʵÀý

ÀýÒ»£º·¢ËÍSignaling Packet£º
Signaling CommandÊÇ2¸öBluetoothʵÌåÖ®¼äµÄL2CAP²ãÃüÁî´«Êä¡£ËùÒÔµÃSignaling CommandʹÓÃCID 0x0001.
¶à¸öCommand¿ÉÒÔÔÚÒ»¸öC-frame£¨control frame£©Öз¢ËÍ¡£
 Èç¹ûÒªÖ±½Ó·¢ËÍSignaling Command.ÐèÒª½¨Á¢SOCK_RAWÀàÐ͵ÄL2CAPÁ¬½ÓSocket¡£ÕâÑù²ÅÓлú»á×Ô¼ºÌî³äCommand Code£¬Identi ......

ÔÚLINUXϽøÐÐCÓïÑÔ±à³ÌËùÐèÒªµÄ»ù´¡ÖªÊ¶

 ÕâÆªÎÄÕ½éÉÜÔÚLINUXϽøÐÐCÓïÑÔ±à³ÌËùÐèÒªµÄ»ù´¡ÖªÊ¶.ÔÚÕâÆªÎÄÕµ±ÖÐ,ÎÒÃǽ«»áѧµ½ÒÔÏÂÄÚÈÝ:
Ô´³ÌÐò±àÒë
MakefileµÄ±àд
³ÌÐò¿âµÄÁ´½Ó
³ÌÐòµÄµ÷ÊÔ
Í·ÎļþºÍϵͳÇóÖú
--------------------------------------------------------------------------------
1.Ô´³ÌÐòµÄ±àÒë
ÔÚLinuxÏÂÃæ,Èç¹ûÒª±àÒëÒ»¸öC ......

LinuxÄںˣºslab/slob/slub

Ô­ÎÄÁ´½Ó:http://www.linuxdiyf.com/bbs/viewthread.php?tid=92084
 ºÜ¾ÃºÜ¾ÃÒÔǰ£ºÒ»¸ö½Ð×öMark HemmentµÄ¸ç¶ùÃÇдÁËSlab¡£ÔÚ½ÓÏÂÀ´µÄһЩÄêÀÆäËûÈ˶ÔSlab½øÐÐÁËÍêÉÆ¡£Ò»Äê°ëÒÔǰ£¬SLOBÎÊÊÀÁË¡£SLOBµÄÄ¿±êÊÇÕë¶ÔǶÈëʽϵͳµÄ£¬Ö÷ÒªÊÇÊÊÓÃÓÚÄÇЩÄÚ´æ·Ç³£ÓÐÏÞµÄϵͳ£¬±ÈÈç32MBÒÔϵÄÄڴ棬Ëü²»Ì«×¢ÖØlarge smpϵͳ£ ......

LinuxϵͳÏÂʹÓÃUSBת´®¿ÚÁ¬½Ó¹¤ÒµÉ豸

 
LinuxϵͳÏÂʹÓÃUSBת´®¿ÚÁ¬½Ó¹¤ÒµÉ豸 ÔÚWindowsÏ¿ÉÒÔʹÓ󬼶ÖÕ¶ËÀ´Á¬½Ó½»»»»úºÍ·ÓÉÆ÷µÈ¹¤ÒµÉ豸£¬¶øÇÒÔÚWindowsÏÂʹÓÃusbת´®¿ÚµÄÏßÒ²ÓÐÏàÓ¦µÄÇý¶¯£¬µ«ÊÇÈçºÎÔÚLinuxÏÂʹÓÃÄØ£¿
¡¡¡¡Ê×ÏÈÒªÓÐÒ»¸öLinuxϵÄÖÕ¶ËÈí¼þ½ÐminicomÈç¹ûûÓÐ×°Õâ¸öµÄÅóÓÑ¿ÉÒÔµ½×Ô¼ºµÄÔ´ÖÐÈ¥ÏÂÔØ£¬È»ºóÄã¾ÍÒª²åÉÏÄãµÄusbת´®¿ÚµÄÏߣ¬ÔÚ ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØÍ¼ | ¸ÓICP±¸09004571ºÅ