Çó½â£¡£¡£¡
±¾ÈËС°×£¬»ù±¾Ã»Ñ§¹ýLinux£¬ÏÖÔÚʹÓõÄÊÇ
Linux version 3.16.0-4-686-pae (debian-kernel@lists.debian.org) (gcc version 4.8.4 (Debian 4.8.4-1) ) #1 SMP Debian 3.16.7-ckt20-1+deb8u3 (2016-01-17)
×ösamba·þÎñÆ÷¡£
ÊÖ¶¯¹ÒÔØNTFSÒƶ¯Ó²ÅÌûÓÐÈκÎÎÊÌ⣬±ÈÈ磬sudo mount /dev/sdb1 /mnt/nas
ʹÓÃÕâ¾ä¿ÉÒÔÕý³£Ê¹ÓÃNTFSµÄÒƶ¯Ó²ÅÌ¡£
µ«ÊÇÔڽű¾shÎļþÀï¾Í³öÏÖÎÊÌâÁË£¬±ÈÈ磬
#!/bin/bash
mount /dev/sdb1 /mnt/nas»òÕßmount -t ntfs-3g /dev/sdb1 /mnt/nas
Ò»¸öºǫ́³ÌÐò£¬±ÈÈçudev´Ù·¢ÁËÕâ¸ö½Å±¾ºó£¬¾Í»á³öÏÖºÜÆæ¹ÖµÄÎÊÌ⣺
lsblk¿ÉÒÔ¿´µ½sdb1ÒѾ¹Òµ½/mnt/nasÉÏÁË£¬
µ«ÊÇls /mnt/nas »á±¨´íTransport endpoint is not connected£¬
ÔÚWINÏÂnasÕâ¸öÎļþ¼ÐÏûʧÁË¡£
µ«µ«µ«ÊÇ£¬Èç¹ûÊÖ¶¯shÕâ¸ö½Å±¾Ò»µãÎÊÌâûÓУ¬¿ÉÒÔÕý³£Ê¹ÓÃÕâ¸öNTFSÒƶ¯Ó²ÅÌ¡£
Õâ¸öÎÊÌâÔõô½â£¿£¿£¿£¿£¿
fat32»òext4µÄÒƶ¯Ó²ÅÌÔÚudevµÄ½Å±¾ÀïûÓÐÎÊÌ⣬¿ÉÒÔÕý³£Ê¹Óá£
Äòʧ½û¿´Ï ÓÚ 2016-01-28 11:43:55·¢±í:
ÊÖ¶¯¹ÒÔØNTFSÒƶ¯Ó²ÅÌûÓÐÈκÎÎÊÌ⣬±ÈÈ磬sudo mount /dev/sdb1 /mnt/nas
ʹÓÃÕâ¾ä¿ÉÒÔÕý³£Ê¹ÓÃNTFSµÄÒƶ¯Ó²ÅÌ¡£
µ«ÊÇÔڽű¾shÎļþÀï¾Í³öÏÖÎÊÌâÁË£¬±ÈÈ磬
#!/bin/bash