linux¹ÒÔØÐÂÓ²ÅÌ
fdisk -l ÃüÁî¿´µ±Ç°´ÅÅÌÐÅÏ¢
[root@roswell root]# fdisk /dev/sdb
Command (m for help): m --´òÓ¡¸ÃÃüÁîµÄ²ÎÊý¹¦ÄÜÁбí
Command action
a toggle a bootable flag
b edit bsd disklabel
c toggle the dos compatibility flag
d delete a partition
l list known partition types
m print this menu
n add a new partition
o create a new empty DOS partition table
p print the partition table
q quit without saving changes
s create a new empty Sun disklabel
t change a partition's system id
u change display/entry units
v verify the partition table
w write table to disk and exit
x extra functionality (experts only)
Command (m for help):
Command (m for help): p --´òÓ¡´ý·ÖÇøµÄ´ÅÅÌÐÅÏ¢
Disk /dev/sdb: 50.0 GB, 50019202560 bytes
255 heads, 63 sectors/track, 6081 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
Command (m for help):
Command (m for help): n --½øÐдÅÅÌ·ÖÇø
Command action
e extended
p primary partition (1-4)
p --e£ºÂß¼·ÖÇø p£ºÖ÷·ÖÇø£¬4¸öÖ÷·ÖÇø
Partition number (1-4): 1 --»®·ÖΪµÚÒ»¸öÖ÷·ÖÇø
First cylinder (1-6081, default 1): 1 --Æðʼ´ÅÅÌÊý£¬²»ÌîĬÈÏΪ1
Last cylinder or +size or +sizeM or +sizeK (1-6081, default 6081): 6081 --¶¨Òå¸Ã·ÖÇø´óС£¬²»ÌîĬÈÏΪȫ²¿¿ÉÓô洢¶î
Command (m for help):
Command (m for help): p --´òÓ¡´ý·ÖÇøµÄ´ÅÅÌÐÅÏ¢
Disk /dev/sdb: 50.0 GB, 50019202560 bytes
255 heads, 63 sectors/trac
Ïà¹ØÎĵµ£º
Ò»¡¢É豸Îļþ
¡¡¡¡LinuxϵÄ/dev Ŀ¼ÖÐÓдóÁ¿µÄÉ豸Îļþ¡£Ö÷ÒªÊÇ¿éÉ豸ÎļþºÍ×Ö·ûÉ豸Îļþ¡£¡¡¡¡¿éÉ豸Îļþ¡¡¡¡ÔÚ¹ýÈ¥£¬ÔÚÌí¼ÓдÅÅ̺ó£¬ÍùÍùÐèÒªÊÖ¶¯Ôö¼Ó¿éÉ豸Îļþ¡£ÏÖÔÚͨ³£ÎÒÃDz»ÐèÒªÊÖ¶¯Ôö¼Ó¿éÉ豸Îļþ£¬ÔËÐÐÒ»ÏÂservice kudzu start £¬ÏµÍ³¾Í»á×Ô¶¯ÎªÄúÅäÖÃÏàÓ¦µÄÉ豸¡£¿éÉ豸µÄÖ÷ÒªÌØµãÊÇ¿ÉÒÔËæ»ú¶Áд£¬¶ø×î³£¼ûµ ......
ÔÎÄÁ´½Ó£ºhttp://bbs.linuxtone.org/thread-1986-1-1.html ITÔËάר¼ÒÍø--"×ÔÓÉÆ½µÈ£¬»¥Öú·ÖÏí£¡"
ÉÏÃæÒýÓÃÁËIBMºìƤÊé½éÉܵĹØÓÚLinuxÐÔÄÜÐèÒª¿¼ÂǵÄÄÚÈÝ¡£½ñÌì¼ÌÐø½ØÑ¡ºÍÐÞ¸ÄÎĵµÖйØÓÚ¼ì²â²¿·ÖµÄ½éÉÜ£¬µ«Õⲿ·Ö²»ÊǺÜÏêϸ£¬½ñºóÓÐʱ¼äÎÒ»áÔÙ²¹³äһЩ²Î¿¼×ÊÁÏ¡£
¡ù×¢£ºÏÂÃæ¸½Í¼µÄÃüÁîÊä³öÐÅÏ¢£¬ÒÔºìÆìDC Server 5.0 fo ......
Linux ÐÔÄܼà²â¹¤¾ß¼°µ÷ÓŽéÉÜ
LINUXϵͳÏ£¬´ó¶àÊýµÄÐÔÄܼà²â¹¤¾ß±£´æÔÚ/procĿ¼Ï¡£ÕâÀïÎÒÃǽ«Linux AS ºÍ SUSE LINUX EnterpriseServerÖУ¬ÃüÁîÐм°Í¼Ðη½Ê½ÏµÄÐÔÄܼà²â¹¤¾ß×ö¸ÅÀ¨ÐÔ½éÉÜ¡£ÕâЩ¹¤¾ßÓÐЩÔÚϵͳ¹¤¾ßÅÌÀÓÐЩ¿ÉÒÔ´ÓÍøÉÏÏÂÔØ¡£sar,iostat,ºÍpstatÕâÈý¸ö¹¤¾ßÔÚdistributionCDÀҲ¿ÉÒÔ´ÓÍøÉÏÏÂÔØ£¬ÍøÖ·Ê ......
¸ÅÊö
1. “/etc/profile”Îļþ
2. “bdflush”²ÎÊý
3. “ip_local_port_range”²ÎÊý
4. “/etc/nsswitch.conf”Îļþ
5. “/proc”Îļþϵͳ
6. “ulimit”²ÎÊý
7. Ôö¼Óϵͳ´ò¿ªµÄÎļþÊýÄ¿
8. Îļþ“atime”ÊôÐÔ
9. ÎļþµÄ“noatime&rd ......
a.¿ª»ú½øÈëͼÐνçÃæ£º°²×°Ê±Ñ¡Í¼ÐÎÆô¶¯·½Ê½»ò°Ñ/etc /inittabµÄid:x:initdefault:ÕâÐиijÉid:5:initdefault:¡£
b.¿ª»ú²»½øÈëͼÐνçÃæ£º°²×°Ê±Ñ¡Îı¾Æô¶¯·½Ê½»ò°Ñ/etc/inittabµÄid:x:initdefault:ÕâÐиijÉid:3:initdefault:¡£
*inittabÊÇ×öʲôµÄ£¿
ÔÚKERNELÆðÀ´Ö®ºó£¬½«Éú³ÉµÚÒ»¸ö½ø³Ì——init£¬Êµ¼ÊÉÏÊÇÖ´Ð ......