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

slackwareÆÕͨÓû§²»ÄÜ·ÃÎÊmountµÄ·ÖÇøµÄ½â¾ö·½·¨

·¢²¼Ê±¼ä:2007-07-16 18:58:44À´Ô´:ºìÁª×÷Õß:source
ÕâÊÇÎÒµÄfstabµÄÄÚÈÝ£º

/dev/hda8 swap swap defaults 0 0
/dev/hda9 / ext3 defaults 1 1
/dev/hda5 /boot ext3 defaults 1 2
/dev/hda7 /mnt/win vfat defaults,iocharset=gb2312 1 0

Æô¶¯ºó£¬/dev/hda7×Ô¶¯¼ÓÔص½/mnt/win¡£Èç¹û²»mount /dev/hda7£¬ /mnt/winµÄȨÏÞÊÇdrwxr-xr-x£¬¼ÓÔØÖ®ºóËü×Ô¶¯±ä³Édrwxr--r--£¬¼´Ê¹rootÓÃchmodÒ²¸Ä²»ÁË£¬½á¹û¾ÍÊÇÆÕͨÓû§²»ÄÜ cd /mnt/winÁË¡£ÎÒ¾õµÃÓ¦¸ÃÓеط½¿ÉÒÔ¸ü¸ÄÕâÖÖÉèÖõģ¬ÄÄλÐÖµÜÖ¸µãһϣ¿

½â¾ö·½·¨£º¸Ä³ÉÕâÑù¾ÍÐÐÁË£¬¹Ø¼ü¾ÍÊÇÄǸöumask²ÎÊý£º

/dev/hda7 /mnt/win vfat defaults,iocharset=gb2312,umask=022 1 0

ÕâÑùmountÖ®ºó£¬/mnt/winµÄȨÏÞ¾ÍÊÇdrwxr-xr-x(¼´755)£¬ÆÕͨÓû§Ò²ÄÜ·ÃÎÊÁË¡£Í¬Àí£¬Èç¹ûumask=000£¬È¨Ï޾ͱä³Édrwxrwxrwx(¼´777)£¬ÈκÎÈ˶¼¿ÉÒÔΪËùÓûΪÁË¡£
ÎÄÕÂÆÀÂÛ

¹²ÓÐ 1 ÌõÆÀÂÛ

  1. jerry520 ÓÚ 2009-03-27 15:15:00·¢±í:

    ѧϰÁË.