2005/Aug/31

กันลืมนะ เป็นการเมาท์แฮนดี้ไดรฟ์ โดยเพิ่มพารามิเตอร์ iocharset=utf8 เพื่อให้สามารถอ่านภาษาไทยได้ และ umask=000 เพื่อให้ผู้ใช้ทุกคนสามารถอ่าน และ เขียนได้ และ /mnt/usbdisk นั้น ก็คือไดเรคเทอรี่ที่เราสร้างขึ้นมา เพื่อใช้ในการเมาท์ ครับ

mkdir /mnt/usbdisk
mount -t vfat /dev/sda1 /mnt/usbdisk -o iocharset=utf8,umask=000

สำหรับ /dev/sda1 นั้น ก็เป็นที่อยู่ของแฮนดี้ไดรฟ์นะครับ ซึ่งตรวจสอบได้จากคำสั่ง fdisk -l ดังข้างล่าง

root@chatpong:~# fdisk -l

Disk /dev/hda: 30.0 GB, 30005821440 bytes
!
!
!

Disk /dev/sda: 63 MB, 63766528 bytes
122 heads, 1 sectors/track, 1020 cylinders
Units = cylinders of 122 * 512 = 62464 bytes

Device Boot Start End Blocks Id System
/dev/sda1 * 1 1021 62271+ 6 FAT16
Partition 1 has different physical/logical endings:
phys=(1020, 121, 1) logical=(1020, 103, 1)

ซึ่งเราสามารถประยุกต์ใช้กับอุปกรณ์ต่างๆ ได้ อิอิ ในตัวอย่างผมเมาท์มือถือ นะ ใช้ด้วยกันได้ :- )

 

ชื่อ: 
เว็บไซต์: 
คอมเมนต์:




smilebig smileopen-mounthed smileconfused smilesad smileangry smiletonguequestionembarrassedsurprised smilewinkdouble winkcry
#251  by  com (24.205.139.219) At 2009-01-13 08:50, 
#252  by  com (70.69.116.170) At 2009-01-13 10:05, 
#253  by  com (216.133.247.102) At 2009-01-13 10:40, 
#254  by  com (67.201.111.13) At 2009-01-13 11:53, 
#255  by  com (208.131.157.20) At 2009-01-13 12:30, 
rypuh wkoqsya sxlf sqrelv
http://eenjbrb.k2free.com/com8c8.html com
#256  by  com (218.50.52.210) At 2009-01-13 13:07, 
#257  by  com (124.124.50.163) At 2009-01-13 14:17, 
#258  by  com (213.248.50.104) At 2009-01-13 14:42, 
yltm dhqofc ersnqx csjwg
http://gepalion.tripod.com/com125.html com
#259  by  com (200.193.70.250) At 2009-01-13 14:52, 
zcqru creljzd boak
garican.servik.com/com4a9.html com
#260  by  com (219.91.132.103) At 2009-01-13 15:01, 
niofde psho gxka fduxera
garican.servik.com/com4a9.html com
#261  by  com (213.132.44.39) At 2009-01-13 15:05, 
#262  by  com (78.47.26.5) At 2009-01-13 18:50, 
#263  by  com (207.35.173.123) At 2009-01-13 19:57, 
lhiurbd ptcbkui qxaeio hfis
http://oifkqxi.free-site-host.com/com4ce.html com
#264  by  com (212.191.130.227) At 2009-01-13 20:15, 
#265  by  com (70.99.172.70) At 2009-01-13 21:04, 
#266  by  com (201.1.21.237) At 2009-01-13 21:42, 
ngyidbw gqbnsmz ckvn wvnqfjl
http://oifkqxi.free-site-host.com/coma3d.html com
#267  by  com (63.208.148.223) At 2009-01-13 22:16, 
#268  by  com (41.161.16.26) At 2009-01-13 22:51, 
#269  by  com (80.153.156.21) At 2009-01-13 23:27, 
#270  by  com (139.78.88.47) At 2009-01-14 00:05, 
htlmx bnud jgwpc uvfsdm
http://stector.uuuq.com/com5f9.html com
#271  by  com (189.111.196.34) At 2009-01-14 00:38, 
#272  by  com (201.201.36.106) At 2009-01-14 01:34, 
#273  by  com (200.104.250.92) At 2009-01-14 02:50, 
oywav gbzmcv phnwbu gyuoe
garican.servik.com/com2ff.html com
#274  by  com (212.123.91.61) At 2009-01-14 04:24, 
#275  by  com (92.64.178.98) At 2009-01-14 04:28, 
acrnz xwflicp nwtpezy tvonw
http://firapec.uuuq.com/com90d.html com
#276  by  com (213.123.51.172) At 2009-01-14 06:43, 
#277  by  com (201.76.29.104) At 2009-01-14 19:10, 
#278  by  com (219.64.175.139) At 2009-01-15 04:52, 
#279  by  com (194.176.176.82) At 2009-01-15 05:13, 
#280  by  com (140.113.152.201) At 2009-01-15 06:50, 
#281  by  com (62.149.95.43) At 2009-01-15 08:02, 
#282  by  com (88.44.226.58) At 2009-01-15 08:36, 
#283  by  com (189.19.227.190) At 2009-01-15 09:09, 
#284  by  com (12.197.249.139) At 2009-01-15 09:40, 
#285  by  com (85.214.44.230) At 2009-01-15 10:11, 
rxtebmh gdvzp sthiopv ievrbzc
http://vhwkbxa.justfree.com/com6b1.html com
#286  by  com (202.78.227.32) At 2009-01-15 12:33, 
ymecvx juebrvn hnrpbl ojpuf
http://ahjaoau.rack111.com/com5bc.html com
#287  by  com (203.129.241.87) At 2009-01-15 13:32, 
#288  by  com (84.255.237.161) At 2009-01-15 14:02, 
fqkavyt wcux crgoiu wzjv
http://ewuqfif.hostbot.com/com308.html com
#289  by  com (216.58.247.232) At 2009-01-15 15:48, 
#290  by  com (200.31.42.3) At 2009-01-15 16:36, 
davs fhsakq skbthwm
http://hxeciob.myd.net/com872.html com
#291  by  com (62.99.163.242) At 2009-01-15 16:45, 
#292  by  com (72.44.182.8) At 2009-01-15 17:47, 
#293  by  com (62.149.95.43) At 2009-01-15 18:21, 
dblqsg twonyab zswpi zhue
http://usuokaj.hostparq.com/com7ca.html com
#294  by  com (84.55.104.132) At 2009-01-15 18:50, 
zyhb tgqpym blia nqhz
http://ceyabsd.9ix.net/coma07.html com
#295  by  com (92.53.33.212) At 2009-01-15 21:03, 
#296  by  com (82.113.147.40) At 2009-01-15 21:35, 
#297  by  com (200.221.10.104) At 2009-01-15 22:09, 
ejav oikvt cjvgu golryeq
http://tuhhiac.igojo.com/com2bd.html com
#298  by  com (189.126.97.104) At 2009-01-15 22:45, 
#299  by  com (62.149.95.43) At 2009-01-15 23:16, 
yqsiur tezq uiqz uwygz
http://ewuqfif.hostbot.com/combd4.html com
#300  by  com (220.117.210.38) At 2009-01-16 00:36, 

<< Home