Type Here to Get Search Results !

Cara Mounting Flashdisk di linux



1. Buat folder sebagai mount-point USBFlashdisk
Code:

# mkdir mnt

2. Anda harus tahu USFlashdisk dikenali oleh system sebagai device yang ke berapa ? lakukan dengan perintah
Code:

# fdisk -l

contoh ouput dengan perintah di atas, misalnya =
Code:

Disk /dev/sda: 160.0 GB, 160041885696 bytes
255 heads, 63 sectors/track, 19457 cylinders, total 312581808 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x19f519f4

Device Boot Start End Blocks Id System
/dev/sda1 * 2048 206847 102400 7 HPFS/NTFS/exFAT
/dev/sda2 206848 52484095 26138624 7 HPFS/NTFS/exFAT
/dev/sda3 52484096 312580095 130048000 5 Extended
/dev/sda5 52486144 67051519 7282688 83 Linux
/dev/sda6 67053568 77365247 5155840 83 Linux
/dev/sda7 77367296 79249407 941056 82 Linux swap / Solaris
/dev/sda8 79251456 312580095 116664320 7 HPFS/NTFS/exFAT

Disk /dev/sdb: 4007 MB, 4007657472 bytes
86 heads, 22 sectors/track, 4137 cylinders, total 7827456 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0xc3072e18

Device Boot Start End Blocks Id System
/dev/sdb1 8064 7827455 3909696 b W95 FAT32

3. Device /dev/sdb1 adalah USBFlashdish yang mau kita mount
Code:

# mount /dev/sdb1 mnt

4. Untuk reject (safety remove) atau unmount USBFlashdisk tsb
Code:

# umount /dev/sdb1

Posting Komentar

0 Komentar