歡迎來到Linux教程網
Linux教程網
Linux教程網
Linux教程網
Linux教程網 >> Linux基礎 >> 關於Linux >> linux下優盤或者移動硬盤的掛載方法

linux下優盤或者移動硬盤的掛載方法

日期:2017/3/1 16:32:13   编辑:關於Linux
linux下優盤或者移動硬盤的掛載方法 在虛擬機上安裝的Linux www.2cto.com 如果想讓linux識別U盤,需要把鼠標先定位在虛擬機的linux裡面,然後插入優盤,優盤才會被linux識別,再用fdisk -l 來查看U盤的情況。 /dev/sda1 * 1 6 48163+ 83 Linux /dev/sda2 7 515 4088542+ 83 Linux /dev/sda3 516 776 2096482+ 82 Linux swap / Solaris /dev/sda4 777 2610 14731605 5 Extended /dev/sda5 777 2610 14731573+ 83 Linux Disk /dev/sdb: 7985 MB, 7985954816 bytes 231 heads, 28 sectors/track, 2411 cylinders Units = cylinders of 6468 * 512 = 3311616 bytes Device Boot Start End Blocks Id System /dev/sdb1 2 2412 7794688 b W95 FAT32 如果是fat格式的U盤,掛載命令:mount -t vfat /dev/sdb1 /mnt/udisk 如果是ntfs格式的U盤,掛載命令:mount -t ntfs-3g /dev/sdb1 /mnt/udisk 如果沒有/mnt/udisk文件夾,可以創建一個 mkdir /mnt/udisk 即可~ 但是注意,ntfs格式要掛載的話,需要下載一個ntfs-3g-2011.4.12-5.el5.i386.rpm包,安裝一下~
Copyright © Linux教程網 All Rights Reserved