ת£ºlinux mount and commpress/release
linux mount and commpress/release
2009-05-23 11:05
mountÃüÁîÏê½â
¹¦ÄÜ£º¼ÓÔØÖ¸¶¨µÄÎļþϵͳ¡£
Óï·¨£ºmount [-afFhnrvVw] [-L<±êÇ©>] [-o<Ñ¡Ïî>] [-t<ÎļþϵͳÀàÐÍ>] [É豸Ãû] [¼ÓÔصã]
Ó÷¨ËµÃ÷£ºmount¿É½«Ö¸¶¨É豸ÖÐÖ¸¶¨µÄÎļþϵͳ¼ÓÔص½LinuxĿ¼Ï£¨Ò²¾ÍÊÇ×°Ôص㣩¡£¿É½«¾³£Ê¹ÓõÄÉ豸дÈëÎļþ/etc/fastab,ÒÔʹϵͳÔÚÿ´ÎÆô¶¯Ê±×Ô¶¯¼ÓÔØ¡£mount¼ÓÔØÉ豸µÄÐÅÏ¢¼Ç¼ÔÚ/etc/mtabÎļþÖС£Ê¹ÓÃumountÃüÁîжÔØÉ豸ʱ£¬¼Ç¼½«±»Çå³ý¡£
³£ÓòÎÊýºÍÑ¡Ï
-a ¼ÓÔØÎļþ/etc/fstabÖÐÉèÖõÄËùÓÐÉ豸¡£
-f ²»Êµ¼Ê¼ÓÔØÉ豸¡£¿ÉÓë-vµÈ²ÎÊýͬʱʹÓÃÒԲ鿴mountµÄÖ´Ðйý³Ì¡£
-F ÐèÓë-a²ÎÊýͬʱʹÓá£ËùÓÐÔÚ/etc/fstabÖÐÉèÖõÄÉ豸»á±»Í¬Ê±¼ÓÔØ£¬¿É¼Ó¿ìÖ´ÐÐËٶȡ£
-h ÏÔʾÔÚÏß°ïÖúÐÅÏ¢¡£
-L<±êÇ©> ¼ÓÔØÎļþϵͳ±êǩΪ<±êÇ©>µÄÉ豸¡£
-n ²»½«¼ÓÔØÐÅÏ¢¼Ç¼ÔÚ/etc/mtabÎļþÖС£
-o<Ñ¡Ïî> Ö¸¶¨¼ÓÔØÎļþϵͳʱµÄÑ¡Ïî¡£ÓÐЩѡÏîÒ²¿ÉÔÚ/etc/fstabÖÐʹÓá£ÕâЩѡÏî°üÀ¨£º
async ÒÔ·Çͬ²½µÄ·½Ê½Ö´ÐÐÎļþϵͳµÄÊäÈëÊä³ö¶¯×÷¡£
atime ÿ´Î´æÈ¡¶¼¸üÐÂinodeµÄ´æȡʱ¼ä£¬Ä¬ÈÏÉèÖã¬È¡ÏûÑ¡ÏîΪnoatime¡£
auto ±ØÐëÔÚ/etc/fstabÎļþÖÐÖ¸¶¨´ËÑ¡Ïî¡£Ö´ÐÐ-a²ÎÊýʱ£¬»á¼ÓÔØÉèÖÃΪautoµÄÉ豸£¬È¡ÏûѡȡΪnoauto¡£
defaults ʹÓÃĬÈϵÄÑ¡ÏĬÈÏÑ¡ÏîΪrw¡¢suid¡¢dev¡¢exec¡¢anto nouserÓëasync¡£
dev ¿É¶ÁÎļþϵͳÉϵÄ×Ö·û»ò¿éÉ豸£¬È¡ÏûÑ¡ÏîΪnodev¡£
exec ¿ÉÖ´Ðжþ½øÖÆÎļþ£¬È¡ÏûÑ¡ÏîΪnoexec¡£
noatime ÿ´Î´æȡʱ²»¸üÐÂinodeµÄ´æȡʱ¼ä¡£
noauto ÎÞ·¨Ê¹ÓÃ-a²ÎÊýÀ´¼ÓÔØ¡£
nodev ²»¶ÁÎļþϵͳÉϵÄ×Ö·û»ò¿éÉ豸¡£
noexec ÎÞ·¨Ö´Ðжþ½øÖÆÎļþ¡£
nosuid ¹Ø±Õset-user-identifier(ÉèÖÃÓû§ID)Óëset-group-identifer(ÉèÖÃ×éID)ÉèÖÃλ¡£
nouser ʹһλÓû§ÎÞ·¨Ö´ÐмÓÔزÙ×÷£¬Ä¬ÈÏÉèÖá£
remount ÖØмÓÔØÉ豸¡£Í¨³£ÓÃÓڸıäÉ豸µÄÉèÖÃ״̬¡£
ro ÒÔÖ»¶Áģʽ¼ÓÔØ¡£
rw ÒԿɶÁдģʽ¼ÓÔØ¡£
suid Æô¶¯set-user-identifier(ÉèÖÃÓû§ID)Óëset-group-identifer(ÉèÖÃ×éID)ÉèÖÃλ£¬È¡ÏûÑ¡ÏîΪnosuid¡£
sync ÒÔͬ²½·½Ê½Ö´ÐÐÎļþϵͳµÄÊäÈëÊä³ö¶¯×÷¡£
user ¿ÉÒÔÈÃÒ»°ãÓû§¼ÓÔØÉ豸¡£
-r ÒÔÖ»¶Á·½Ê½¼ÓÔØÉ豸¡£
-t<ÎļþϵͳÀàÐÍ> Ö¸¶¨É豸µÄÎļþϵͳÀàÐÍ¡£³£ÓõÄÑ¡Ïî˵Ã÷ÓУº
minix Linux×îÔçʹÓõÄÎļþϵͳ¡£
ext2 LinuxÄ¿Ç°µÄ³£ÓÃÎļþϵͳ¡£
msdos MS-DOS µÄ FAT¡£
vfat Win85/98 µÄ VFAT¡£
nfs ÍøÂçÎļþϵͳ¡£
is
Ïà¹ØÎĵµ£º
Ìø³ö¹ßÐÔ˼ά½â¾öLinuxÉϲ»ÁËÍøµÄÎÊÌâ
(À´×Ôhttp://hi.baidu.com/zfxwyh1985/blog/item/b3882a1285fa3cc8c3fd78c2.html)
2008-10-29 09:54
һ̨½»»»»ú£¬ һ̨Win2003µÄ»úÆ÷×öΪ¾ÖÓòÍøµÄÍø¹Ø£¨ÆäIPµØÖ·ÉèΪ192.168.0.1£©£¬µçÐŹ«Ë¾¸øÎÒÃÇÒ»¸öÉÏÍøÕʺſÉÒÔ¼¸Ì¨»úÆ÷ͬʱ²¦ºÅ¡£ÆäËü»úÆ÷µÄIP µØÖ·Éè³É192. ......
FTP>ascii: É趨ÒÔASCII·½Ê½´«ËÍÎļþ(ȱʡֵ)
FTP>bell: ÿÍê³ÉÒ»´ÎÎļþ´«ËÍ,±¨¾¯Ìáʾ.
FTP>binary: É趨ÒÔ¶þ½øÖÆ·½Ê½´«ËÍÎļþ.
FTP>bye: ÖÕÖ¹Ö÷»úFTP½ø³Ì,²¢Í˳öFTP¹ÜÀí·½Ê½.
FTP>case: µ±ÎªONʱ,ÓÃMGETÃüÁ±´µÄÎļþÃûµ½±¾µØ»úÆ÷ÖÐ,È«²¿×ª»»ÎªÐ¡Ð´×Öĸ.
FTP>cd: ͬUNIXµÄCDÃüÁî.
FTP>c ......
1£¬¶ÔÓ¢ÓïÓÐÇ×ÇиС£Ñ§ÆðÀ´Ò»µã¶¼²»·Ñ¾¢¡£¿´Ó¢ÎĵÄÎÄÕ¾ÍÏñ¿´ÖÐÎĵÄÎÄÕÂÒ»ÑùµÄÈË¡£µ«ÊDz»ÒªËµÄã¹ýÁËÓ¢ÓX¼¶¡£ÎÒ¼û¹ýһЩ×ԳƹýÁËÓ¢Óï4¼¶6¼¶µÄÈË£¬ËûÃǵÄÓ¢Óï²¢²»³öÉ«¡£ÓÀÔ¶²»ÒªÂñÔ¹”ΪʲôLinux¶ÔÖÐÎÄÖ§³Ö²»ºÃ£¿ÎªÊ²Ã´LinuxÈí¼þûÓÐÖÐÎĵģ¿“ÒòΪÖйúÈËÔÚ¿ª·¢Õâ·½Ãæ×ö³öµÄ¹±Ï×Ì«ÉÙ¡£±¾µØ»¯²»ÒªÖ¸ÍûÍâ¹úÈ ......
ϵͳ
# uname -a # ²é¿´ÄÚºË/²Ù×÷ϵͳ/CPUÐÅÏ¢
# head -n 1 /etc/issue # ²é¿´²Ù×÷ϵͳ°æ±¾
# cat /proc/cpuinfo # ²é¿´CPUÐÅÏ¢
# hostname &nbs ......
ÔÚ»ùÓÚlinuxµÄǶÈëʽ·ÂÕæƽ̨¿ª·¢ÖУ¬Öն˵ÄÃÀ¹ÛºÍ¿É¶¨ÖÆÊÇÒ»¸öÖØÒªµÄÎÊÌâ¡£¿ª»úʱ¹ö¶¯ÔÚÆÁÄ»ÉϵÄ×Ö·û´®ºÍµ¥µ÷µÄpenguinͼ±ê£¬Ê¹Ç¶Èëʽ
É豸ÈÔÈ»ÍÑÀë²»ÁËpcµÄºÛ¼££¬linux¿ØÖÆ̨Éϵ¥µ÷µÄ“°×Ö½ºÚ×Ö”ÐͱíÏÖ·½Ê½¿Éν´óÉ··ç¾°¡£¸ÄÔìlinux¿ØÖÆ̨ʹ֮ÃÀ¹Û¿É¶¨ÖƵØչʾ¿ª»úÐÅÏ¢ºÍ
logo³ÉΪ»ùÓÚǶÈëʽlinuxÓ¦Ó ......