This shows you the differences between two versions of the page.
|
howto:automountusbstorage [2012/11/09 06:41] gerrardz |
howto:automountusbstorage [2013/02/18 01:45] (current) gerrardz old revision restored (2013/02/12 07:24) |
||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | == Auto-Mount USB Storage Devices == | + | == Tautan Sumber == |
| [[http://www.goldenfibreglass.com/product-atap-fiberglass.php|Atap Fiberglass]] & [[http://www.goldenfibreglass.com/product-tangki-fiberglass.php|Tangki FIberglass]] | [[http://www.goldenfibreglass.com/product-atap-fiberglass.php|Atap Fiberglass]] & [[http://www.goldenfibreglass.com/product-tangki-fiberglass.php|Tangki FIberglass]] | ||
| [[http://www.pedatimotor.com|Aksesoris Sparepart Motor]] | [[http://www.pedatimotor.com|Aksesoris Sparepart Motor]] | ||
| [[http://www.tokobungasabana.com|Toko Bunga Online]] | [[http://www.tokobungasabana.com|Toko Bunga Online]] | ||
| - | === What does this do? === | ||
| - | These instructions show how to configure your Eee to silently mount different SD cards and USB thumb drives in the location of your choice. They'll be mounted at startup if their already inserted or mounted when you insert them, but without the GUI detection dialog. The GUI will still show for any device you haven't specifically configured. | + | === Apa yang dilakukan ini? === |
| - | For example, you could have one SD card full of games that automatically mounts itself under /home/user/games and another used for photos that automatically mounts under /home/user/photos. | + | Instruksi ini menunjukkan bagaimana mengkonfigurasi Anda untuk diam-diam me-mount Eee kartu yang berbeda SD dan thumb drive USB di lokasi pilihan Anda. Mereka akan dipasang pada startup jika sudah mereka dimasukkan atau dipasang ketika Anda memasukkan mereka, tapi tanpa GUI dialog deteksi. The GUI masih akan menunjukkan untuk setiap perangkat yang tidak secara khusus dikonfigurasi. |
| - | You can then swap between the cards as needed, however you need to unmount them manually from the command line before removing them to avoid corrupting your data. There will also be no tray icon for inserted and mounted devices. | + | Sebagai contoh, Anda bisa memiliki satu kartu SD penuh permainan yang secara otomatis mount dirinya di bawah / home / user / games dan lain digunakan untuk foto yang akan me-mount di bawah / home / user / foto. |
| - | The following instructions can be repeated any number of times to configure different devices to be mounted in different locations | + | Anda kemudian dapat swap antara kartu yang dibutuhkan, tetapi Anda harus meng-unmount secara manual dari baris perintah sebelum melepaskan mereka untuk menghindari kerusakan data Anda. Ada juga akan ada ikon tray untuk perangkat dimasukkan dan terpasang. |
| + | Instruksi berikut dapat diulang beberapa kali untuk mengkonfigurasi berbagai perangkat yang akan dipasang di lokasi yang berbeda | ||
| - | === Find out the serial number of your device === | ||
| - | - Insert your SD card or USB thumb drive | + | |
| - | - Open the terminal (Ctrl-Alt-T in Easy mode, run konsole in Advanced). All actions below are performed in a terminal window. You may note some commands end with an "&". This makes them run in background, so that if you say run a GUI editor like KWrite, you can get your terminal prompt back for further commands, even with KWrite still running. | + | === Cari tahu nomor seri perangkat Anda === |
| - | - Save the contents of a virtual file ''/proc/bus/usb/devices'' into a real file in your home directory<code> | + | |
| - | cat /proc/bus/usb/devices > /home/user/usb_devices.txt | + | - Masukkan Anda kartu SD atau USB thumb drive |
| - | </code> | + | Buka terminal (Ctrl-Alt-T dalam mode Easy, jalankan konsole Lanjutan). Semua tindakan di bawah ini dilakukan di jendela terminal. Anda dapat mencatat beberapa akhir perintah dengan "&". Hal ini membuat mereka berjalan di latar belakang, sehingga jika Anda mengatakan menjalankan GUI editor seperti KWrite, Anda bisa mendapatkan kembali terminal prompt untuk perintah lebih lanjut, bahkan dengan KWrite masih berjalan. |
| - | - Open ''/home/user/usb_devices.txt'' in an editor<code> | + | - Menyimpan isi dari file virtual / proc / bus / usb / perangkat ke file nyata dalam direktori home Anda |
| - | kwrite /home/user/usb_devices.txt & | + | - cat / proc / bus / usb / perangkat> / home / user / usb_devices.txt |
| - | </code> | + | - Buka / home / user / usb_devices.txt di editor |
| - | - Find your device and serial number. Look for sections where the ''I:'' line ends with ''Driver=usb-storage'', a few lines above you will find the serial number of the card reader. Some devices will also have a product name you might recognise. It is this name that prevents some of them mount properly, preventing you to access them. Look for a line with ''Product=USB DISK 2.0'' (note this is just an example, and your name may be different or not there at all). | + | - kwrite / home / user / usb_devices.txt & |
| + | - Temukan perangkat Anda dan nomor seri. Carilah bagian mana saya: baris berakhir dengan Driver = usb-storage , beberapa baris di atas Anda akan menemukan nomor seri dari pembaca kartu. Beberapa perangkat juga akan memiliki nama produk Anda mungkin mengenali. Ini adalah nama yang mencegah beberapa dari mereka me-mount dengan benar, mencegah Anda untuk mengaksesnya. Carilah sejalan dengan Produk DISK = USB 2.0 (catatan ini hanya sebuah contoh, dan nama Anda mungkin berbeda atau tidak ada sama sekali). | ||
| <code>T: Bus=05 Lev=01 Prnt=01 Port=04 Cnt=02 Dev#= 2 Spd=480 MxCh= 0 | <code>T: Bus=05 Lev=01 Prnt=01 Port=04 Cnt=02 Dev#= 2 Spd=480 MxCh= 0 | ||
| D: Ver= 2.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS=64 #Cfgs= 1 | D: Ver= 2.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS=64 #Cfgs= 1 | ||