ºìÁªLinuxÃÅ»§
Linux°ïÖú

ºìÆìLinux5.0 Óá°mount¡±ÃüÁî°²×°·ÖÇø

·¢²¼Ê±¼ä:2006-01-23 15:37:56À´Ô´:ºìÁª×÷Õß:Myiozzdoc
¡¡ÏÖÔÚÎÒÃÇÒª½éÉÜÒ»¸öÔÚ Linux Öзdz£ÖØÒªµÄÃüÁî¡°mount¡±¡£Õâ¸öÃüÁîÓÃÓÚ½«Ó²ÅÌÖеĸ÷¸ö·ÖÇø¹ÒÔص½¸ù·ÖÇøµÄij¸öÎļþ¼ÐÖУ¬Ò²¿ÉÒÔ³ÆΪ°²×°Îļþϵͳ¡£ÓÐЩ Linux ·¢ÐаæĬÈÏÊDz»¹ÒÔسý¸ù·ÖÇøÖ®ÍâµÄÆäËü·ÖÇøµÄ£¬±ÈÈç¡°RedHat 9¡±.µ±È»ÓÐÒ»¸ö±»³ÆΪ¡°swap¡±µÄ½»»»·ÖÇøÀýÍâ¡£Ò²ÓÐЩ Linux ·¢ÐаæÔÚϵͳ°²×°Íê±Ïºó¾Í¿ÉÒÔ×Ô¶¯¹ÒÔØËùÓÐ Windows ·ÖÇø£¬Èç¡°ºìÆì 5.0¡±¡£ÔÚÎÒÃÇѧϰ¡°mount¡±ÃüÁî֮ǰ£¬ÊDz»ÊÇÏÈ¿´¿´¡°ºìÆì 5.0¡±ÊÇÔõÑù¹ÒÔØ Windows ·ÖÇøµÄÄØ£¿



¡¡¡¡ÉÏͼÊÇÎҵĵçÄÔÖÐµÄ /mnt Ŀ¼£¬¿´¿´ÀïÃæÓÐʲô£¿/mnt/cdrom Ŀ¼¾ÍÊǹâÇý¹ÒÔصĵط½¡£ÔÚÎҵĵçÄÔÖÐÓиö¹âÇøͼ±êÊÇÂ𣨺ìÏßȦµÄλÖã©£¬´ò¿ª¹âÇý¿´µ½µÄÄÚÈݾÍÊÇ·ÅÔÚÕâ¸öĿ¼Öеġ£¶øÏÂͼÎÒÃÇ¿´µ½µÄÊÇ /mnt/USB Ŀ¼£¬ÊÇ×÷ʲôµÄÄØ£¿Ô­À´°¡£¬ÎÒµÄ USB ½Ó¿ÚÒƶ¯Ó²Å̽ÓÈëµçÄÔºó»áÐγÉÕâ¸öĿ¼¡£ÒòΪÎÒµÄÒƶ¯Ó²ÅÌÓÐÁ½¸ö·ÖÇø£¬ËùÒÔ¡°ºìÆì 5.0¡±ÔÚÕâ¸öĿ¼ÀィÁ¢Ò»¸ö¡°UDisk1¡±×ÓĿ¼ºÍÒ»¸ö¡°UDisk2¡±×ÓĿ¼¡£·Ö±ð¹ÒÔØÒƶ¯Ó²Å̵ÄÁ½¸ö·ÖÇø¡£¶øÎҵĵçÄÔÖÐÏÖÔÚÓÖ¶à³öÁËÁ½¸öĿ¼£¨ºìÏßȦµÄλÖã©£º¡°UDisk1¡±¡¢¡°UDisk2¡±¡£Èç¹ûÄú½ÓÈëµÄÊÇÉÁ´æ£¬Ö»ÓÐÒ»¸ö·ÖÇø£¬ÄÇÄú¿ÉÄÜÖ»¿´µ½¡°UDisk1¡±Ä¿Â¼¡£



¡¡¡¡²»¹ýÁíÍâÒ»¸öºÜÓÐȤµÄÏÖÏñÊÇ¡£Èç¹ûͬÑùµÄÒƶ¯Ó²ÅÌ£¬µ«ÊÇÔÚ¡°ºìÆì 5.0¡±Æô¶¯Ç°ÒѽÓÈëµçÄÔ£¬¡°ºìÆì 5.0¡±»á°ÑËüµ±×÷ÒÑ´æÔÚµÄ Windows ·ÖÇø¶ø²»ÊÇÒƶ¯Ó²ÅÌ¡£»áÔÚ /mnt Ŀ¼ÖÐÔÙ½¨Á½¸öĿ¼¡°/mnt/WinF¡±ºÍ¡°/mnt/WinG¡±¡£°ÑÒƶ¯Ó²Å̵ÄÁ½¸ö·ÖÇø·ÅÔÚÕâÁ½¸öĿ¼Àï¡£



¡¡¡¡ºÃµÄ£¬ÏÖÔÚÎÒÃÇÀ´Ñ§Ï°¡°mount¡±ÃüÁîµÄʹÓ÷½·¨¡£ÇëÓÃÊó±ê×ó¼üµ¥»÷¡°¿ªÊ¼¡±-->¡°Ó¦ÓóÌÐò¡±-->¡°¸½¼þ¡±-->¡°ÏµÍ³Öնˡ±£¬´ò¿ªÖն˺óÊäÈëÈçÏÂÃüÁumount /mnt/WinE¡£ÕâºÃÏñ²»ÊÇ¡°mount¡±ÃüÁî°¡£¿¶Ô£¬¡°umount¡±ÃüÁîÊÇÓÃÓÚжÔØ·ÖÇøµÄ¡£ÎÒÃÇÖ®ËùÒÔÕâô×öÊÇÒòΪ¡°ºìÆì 5.0¡±ÔÚÆô¶¯Ê±¾Í½«·ÖÇø¶¼¹ÒÔØÁË¡£Çë×¢Ò⣬Ŀ¼Ãû³ÆÇø·Ö´óСд¡£umount ÊÇжÔØ·ÖÇøµÄÃüÁ/mnt/WinE ÊÇҪжÔصĹÒÔصãĿ¼¡£



ÏÖÔÚÈ¥¿´¿´Ô­À´ÈûµÃÂúÂúµÄ¡°WinE¡±Ä¿Â¼ÊDz»ÊÇÈ«¿ÕÁË£¿ºÃ£¬ÎÒÃÇÒѾ­Ñ§»áÁËÈçºÎжÔØ·ÖÇø£¬ÄÇÏÖÔÚ¾ÍÊÔÒ»ÏÂÈçºÎ¹ÒÔØ·ÖÇø°É¡£ÎÒʹÓõÄÍêÕûÃüÁîÊÇÕâÑùµÄ£ºmount /dev/hdc6 /mnt/WinE£¬ÏÖÔÚÎÒÀ´½âÊÍһϡ£mount ÊǹÒÔØ·ÖÇøµÄÃüÁî¡£/dev/hdc6 ÖÐµÄ hdc6 ÊÇÎÒ Windows ÖÐµÄ E ÅÌÔÚ¡°ºìÆì 5.0¡±ÖеÄÃû³Æ¡£ÏëÁ˽â´ÅÅÌÃû³ÆµÄʶ±ð·½·¨Çëä¯ÀÀ£ºLinux ´æ´¢É豸ÓëĿ¼¹æ·¶¡£



¡¡¡¡ºÜ¼òµ¥²»ÊÇÂ𣿲»¹ý¹âÕâÑù»¹²»ÐС£Ò²ÐíͬÑùµÄÃüÁîÔÚ±ðµÄ Linux ·¢ÐаæÉÏ»á³öÎÊÌâ¡£ËùÒÔÎÒÃÇ»¹ÒªÑ§Ï°¡°mount¡±ÃüÁîµÄÆäËüһЩ²ÎÊýµÄÓ÷¨¡£

¡¡¡¡²ÎÊý -v¡£verbose ģʽ£¬mount ½«¸ø³öÐí¶àÐÅÏ¢±¨¸æÆä״̬¡£



¡¡¡¡²ÎÊý -r¡£ÒÔÖ»¶Á·½Ê½¹ÒÔØ·ÖÇø



¡¡¡¡²ÎÊý -w¡£ÒԿɶÁд·½Ê½¹ÒÔØ·ÖÇø¡£Òª×¢ÒâµÄÊÇ Linux ËäȻ֧³ÖÏ൱¶àµÄ·ÖÇø¸ñʽҲ¾ÍÊÇÎļþϵͳ£¬µ«¶ÔijЩÎļþϵͳֻ֧³ÖÖ»¶Á·½Ê½



²ÎÊý -t¡£¹ÒÔØÖ¸¶¨µÄÎļþϵͳ -t ²ÎÊýºóÃæÒª¸úÎļþϵͳÃû³Æ¡£ÎÒÕą̂µçÄÔÉ쵀 /dev/hdc6 ÊÇ FAT32 Îļþϵͳ¡£Linux ÖÐ³Æ FAT32 ÎļþϵͳÊÇ vfat¡£ÏëÁ˽â Linux Îļþϵͳ¸ü¶àµÄ֪ʶ£¬Çëä¯ÀÀ£ºLinux Öг£¼ûµÄÎļþϵͳ¡£



¡¡¡¡²ÎÊý -o¡£-o ²ÎÊýºóÃæÒª¸úÑ¡ÏîÁÐ±í£¬²»Í¬Ñ¡ÏîÖ®¼äÓà , ºÅ¸ô¿ª¡£³£ÓõÄÓÐ codeage=XXXX(XXX ´ú±íÌض¨µÄ´úÂëÒ³)£»iocharset=XXXX(XXXX ´ú±íÌض¨µÄ×Ö·û¼¯)¡£Êµ¼ÊÉϲ»Í¬µÄ Linux ·¢Ðаæ¶Ô×Ö·û¼¯µÄÖ§³ÖÊDz»Ò»ÑùµÄ¡£±ÈÈç Fedora Core 3 Ö§³ÖµÄÊÇ UTF8 ×Ö·û¼¯£¬¼ÙÉèÎÒÕą̂»úÆ÷°²×°µÄÊÇ Fedora Core 3£¬ÃüÁîÓ¦¸ÃÕâÑùд¡£mount -o iocharset=utf8 /dev/hdc6 /mnt/WinE¡£



¡¡¡¡µ«ÊÇÎÒÃÇÔÚ¡°ºìÆì 5.0¡±ÖÐÔËÐÐÕâ¶ÎÃüÁî»áÔõôÑùÄØ£¿



¡¡¡¡ÌìÄÄÖÐÎÄĿ¼ºÍÎļþÃûÈ«ÍêÁË¡£ÄÇ¡°ºìÆì 5.0¡±Ö§³ÖÄÄÖÖ×Ö·û¼¯ÄØ£¿ÎÒÃÇÊÔһϠgb2312 ¿´¿´ÈçºÎ¡£ÏȽ«¹ÒÔصã /mnt/WinE жÔØ¡£ÔÙÊäÈëÃüÁî mount -o iocharset=gb2312 /dev/hdc6 /mnt/WinE¡£



¡¡¡¡ÔÙ»Ø /mnt/WinE Ŀ¼Öп´¿´£¬ÖÐÎÄĿ¼ºÍÎļþÃûÊDz»ÊÇÓÖÇåÇå³þ³þÁË¡£



¶ÔÓÚ -o ²ÎÊýÁíÒ»¸öÖØÒªµÄÑ¡ÏîÊÇ loop£¬ËüÊÇÓÃÀ´×÷ʲôµÄÄØ£¿ÔÚ Windows ÖÐÅóÓÑÃÇÊÇ·ñ´æ´¢ÁËÐí¶àµÄ¹âÅ̾µÏñÎļþ£¿µ±½øÈë Linux ʱÏë´ò¿ªÕâЩ¾µÏñÎļþÊDz»ÊÇûʲôÕÐÄØ¡£loop Ñ¡Ïî¾ÍÊÇÌṩÁ˰ѹâÅ̾µÏñÎļþµ±³ÉÎïÀí¹âÅ̹ҵ½¹âÇýÖеŦÄÜ£¬ÃÇÀ´ÊÔÊÔ¿´¡£

¡¡¡¡ÔÚÎҵġ°ºìÆì 5.0¡±ÖУ¬ÕÒµ½ /mycomputer/WinE/LinuxSoft/rfd5.0 Ŀ¼¡£ÀïÃæ·ÅµÄÊÇ¡°ºìÆì 5.0¡±°²×°¹âÅ̵ľµÏñÎļþ¡£



¡¡¡¡ÊDz»ÊÇÓÐÒ»¸ö½Ð×ö RedFlag-5-disc1-snapshot.iso µÄÎļþ°¡£¿ºÃµÄ£¬ÏÖÔÚÎÒÃÇÔÚÖÕ¶ËÖÐÊäÈëÃüÁmount -o loop /mycomputer/WinE/LinuxSoft/rfd5.0/RedFlag-5-disc1-snapshot.iso /mnt/cdrom¡££¨´ÓÉÏÃæµÄÄÚÈÝÎÒÃǵÃÖª /mnt/cdrom Ŀ¼¾ÍÊÇ¡°ºìÆì 5.0¡±Ä¬ÈϹÒÔعâÇýµÄµØ·½£©



¡¡¡¡ÏÖÔÚÎÒÃÇÈ¥¡°ÎҵĵçÄÔ¡±ÕÒµ½¡°¹âÇý¡±£¬È»ºó´ò¿ª¡£



¡¡¡¡ÅóÓÑÃÇ¿´µ½Ê²Ã´ÁË°¡£¿ÊDz»ÊÇ RedFlag-5-disc1-snapshot.iso ¾µÏñÎļþµÄÄÚÈÝÈ«¶¼ÏÔʾ³öÀ´ÁË¡£ÆäʵÎÒÃÇ¿ÉÒ԰ѹâÅ̾µÏñÎļþµ±×÷¹âÅÌ°²×°µ½ÈκÎÒ»¸öÎļþ¼ÐÖУ¬°üÀ¨×Ô¼º½¨Á¢µÄ¡£¹þ¹þ¹þ£¡Ô­À´ Linux Á¬ÐéÄâ¹âÇý¶¼¸øÎÒÃÇ×¼±¸ºÃÁË°¡¡£ÕâÏÂÎÒÃÇÔÙÒ²²»Óû¨Ç®ÂòÐéÄâ¹âÇýÈí¼þ½¨Á¢¡°¹âÅÌËþ¡±ÁË¡£



¡¡¡¡ÎÒÃÇÏÖÔÚ¿ÉÒÔ·¢ÏÖ Linux ÆäʵÊǺܼòµ¥µÄ¡£ËäÈ»ÔÚ Windows ÖÐÎÒÃÇʹÓÃÓ²ÅÌ·ÖÇøÊǷdz£ÈÝÒ׵ġ£µ«»¹ÊÇÓзdz£¶àµÄ¼ÆËã»ú°®ºÃÕ߶ÔÕâ¸ö°º¹óµÄºÚºÐ×ÓÓÐÌ«¶à²»Âú¡£´ÓÁíÍâÒ»¸ö½Ç¶È˵£¬Linux ¶Ôÿһ¸öÈ˶¼ÊÇÍêȫ͸Ã÷µÄ¡£ËùÓÐÈË£¬ÌرðÊǶԼÆËã»úÓÐ×ÅŨºñÐËȤµÄѧÉúºÍÄêÇàÈË¿ÉÒÔ͸¹ý Linux ¸üÉîÈëµØÁ˽â¼ÆËã»úÄÚ²¿µÄ΢¹ÛÊÀ½ç¡£È¥·¢¾òÎÒÃǵļÆËã»úÒ»Ö±±» Windows Òþ²ØµÄÃÜÃØ¡£
ÎÄÕÂÆÀÂÛ

¹²ÓÐ 13 ÌõÆÀÂÛ

  1. chifangzhou ÓÚ 2007-07-01 13:30:11·¢±í:

    ºÜ²»´íµÄ,ͼ½â²»´í.

  2. coolentboy ÓÚ 2006-08-01 12:23:39·¢±í:

    ¶¥

  3. iLove.Rain ÓÚ 2006-07-28 08:46:14·¢±í:

    ÎÒÀ´¶¥Ò»ÏÂ

  4. sonwfly ÓÚ 2006-07-19 09:03:59·¢±í:

    ͼ½âµÄ²»´í°¡

  5. rainer_823 ÓÚ 2006-06-25 09:56:02·¢±í:

    [root@localhost ~]# mount -o loop /root/Download/A.iso/mnt/cdrom
    mount: can't find /root/Download/A.iso/mnt/cdrom in /etc/fstab or /etc/mtab
    ÎÒÔÚÓÃÕâ¸ö¹¦ÄܵÄʱºò³öÏÖÁËÒÔÉÏÎÊÌ⣬¸÷λ´óϺ°ïæ½â¾öÒ»ÏÂÏÂ
    mount -o loop /root/Download/A.iso/ºÍ/mnt/cdromÖ®¼äÒªÓпոñµÄ

  6. nzp1029 ÓÚ 2006-06-18 15:13:52·¢±í:

    żÊDzËÄñ£¬Ñ§Ï°ÏÂ

  7. wsbg2008 ÓÚ 2006-06-04 11:21:51·¢±í:

    ʵÓõ«¶Ô°³À´ËµÓеãÄǸö ºÇºÇ »¹ºÃÓÐͼ~

  8. deejac ÓÚ 2006-05-28 13:28:47·¢±í:

    [root@localhost ~]# mount -o loop /root/Download/A.iso/mnt/cdrom
    mount: can't find /root/Download/A.iso/mnt/cdrom in /etc/fstab or /etc/mtab
    ÎÒÔÚÓÃÕâ¸ö¹¦ÄܵÄʱºò³öÏÖÁËÒÔÉÏÎÊÌ⣬¸÷λ´óϺ°ïæ½â¾öÒ»ÏÂÏÂ

  9. bombike ÓÚ 2006-05-07 18:12:10·¢±í:

    ѧϰÖУ¬Ð»Ð»

  10. dtpingwang ÓÚ 2006-04-28 11:36:21·¢±í:

    ¸ÕºÃÄÜÓÃÉÏ£¬Ð»Ð»Â¥Ö÷¡£

  11. kgditxsve ÓÚ 2006-04-28 09:51:31·¢±í:

    ¶÷ʵÓÃ

  12. golshing ÓÚ 2006-04-27 11:15:48·¢±í:

    ½²µÃºÜºÃ

  13. google ÓÚ 2006-03-05 11:35:15·¢±í:

    ºÜºÃ