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

LINUXµÄÈȲå°Î»úÖÆ£¨¾­µäÎÄÕ£©

 linuxµÄÈȲå°ÎÊÇGreg Kroah-Hartmanά»¤£¬ËùÒÔÕâÊÇƪ¾­µäÎÄÕ¡£Èç¹ûÄãÓÐUSB»òÕßPCIÉ豸Çý¶¯¿ª·¢»ù´¡£¬Ò»¶Á¾Í¿ÉÒÔÀí½â¡£
Hot-pluggable devices have been created to solve a number of user needs. On laptop computers, PCMCIA devices were designed to allow the user to swap cards while the computer was still running. This allowed people to change network adaptors, memory cards and even disk drives without shutting down the machine.
The success of this led to the creation of the USB and IEEE1394 (FireWire) buses. These designs allow for peripherals to be attached and removed at any point. They also were created to try to move systems away from the ISA bus to a full Plug-and-Play-type system.
from the operating system's point of view, there are many problems with hot plugging devices. In the past, the operating system only had to search for the various devices connected to it on power-up, and once seen, the device would never go away. from the view of the device driver, it never expects to have the hardware that it is trying to control disappear. But with hot-pluggable devices, all of this changes.
Now the operating system has to have a mechanism that constantly detects if a new device appears. This usually is done by a bus-specific manager. This manager handles the scanning for new devices and recognizes this disappearance. It must be able to create system resources for the new device and pass control off to a specific driver. The device driver for a hot-pluggable device has to be able to recover gracefully when the hardware is removed and be able to bind itself to new hardware at any moment. Not only does the kernel need to know when devices are removed or added, but the user also should be notified when this happens. Other kinds of kernel events, such as the creation of network devices or the insertion of a laptop into a docking station, also would be useful for the user to know about.
This article describes the new framework in the Linux kernel for supporting USB and


Ïà¹ØÎĵµ£º

ÉÐѧÌÃLinux±Ê¼Ç(Ò»)

      ÉÐѧÌÃLinux±Ê¼Ç(Ò»)
MBR£ºÓ²ÅÌMBR£¨Master Boot Record£©¾ÍÊÇÎÒÃǾ­³£ËµµÄ”Ó²ÅÌÖ÷Òýµ¼¼Ç¼”£¬ËüÊÇÓÉFDISKµÈ´ÅÅÌ·ÖÇøÃüÁîдÔÚÓ²Å̾ø¶Ô0ÉÈÇøµÄÒ»¶ÎÊý¾Ý£¬ËüÓÉÖ÷Òýµ¼³ÌÐò¡¢Ó²ÅÌ·ÖÇø±í¼°ÉÈÇø½áÊø±êÖ¾×Ö(55AA).
ÕâÈý²¿·Ö×é³É£¬ÈçÏ£º
×é³É²¿·Ö
ËùÕ¼×Ö½ÚÊý
ÄÚÈÝ
Ö÷Òýµ¼³ÌÐò
4 ......

LinuxÏÂÔö¼Ó´ÅÅÌÉ豸µÄ´¦Àí¼Ç¼

--Ê×ÏÈ¿´¿´ÓÐÄÄЩ´ÅÅÌ
 [root@localhost ~]# fdisk -l
--Òª´¦ÀíµÄÊÇsdj£¬Ê¹ÓÃfdisk·ÖÇø
 [root@localhost ~]# fdisk /dev/sdj
The number of cylinders for this disk is set to 13054.
There is nothing wrong with that, but this is larger than 1024,
and could in certain setups cause problems with ......

LinuxϵͳÏÂNFS·þÎñÆ÷µÄÅäÖÃ

 
Ò»¡¢NFS·þÎñÆ÷µÄ°²×°
    ¼ì²élinuxϵͳÖÐÊÇ·ñ°²×°ÁËnfs-utilsºÍportmapÁ½¸öÈí¼þ°ü£¨RHEL4ϵͳĬÈÏÒѾ­°²×°ÁËÕâÁ½¸öÈí¼þ°ü£©
    ÃüÁî#rpm –q nfs-utils portmap
    ¶þ¡¢²é¿´NFS·þÎñÆ÷ÊÇ·ñÆô¶¯
    ÃüÁî#service nfs starus
   ......

Unix/Linux ÃüÁî²Î¿¼

ÎļþÃüÁî
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µÄѹËõ/½âѹËõÃüÁî(tar,gzipµÈ)¼°Ê¾Àý

linuxµÄѹËõ/½âѹËõÃüÁî(tar,gzipµÈ)¼°Ê¾Àý
2008-08-18 15:43
tarÃüÁî
[root@linux ~]# tar [-cxtzjvfpPN] ÎļþÓëĿ¼ ....
²ÎÊý£º
-c £º½¨Á¢Ò»¸öѹËõÎļþµÄ²ÎÊýÖ¸Áî(create µÄÒâ˼)£»
-x £º½â¿ªÒ»¸öѹËõÎļþµÄ²ÎÊýÖ¸Á
-t £º²é¿´ tarfile ÀïÃæµÄÎļþ£¡
Ìرð×¢Ò⣬ÔÚ²ÎÊýµÄÏ´ïÖУ¬ c/x/t ½öÄÜ´æÔÚÒ»¸ö£¡²»¿ÉÍ¬Ê ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ