Linux 掛載u盤

來源:互聯網
上載者:User

標籤:

如果想讓linux識別隨身碟,需要把滑鼠先定位在虛擬機器的linux裡面,然後插入優盤,優盤才會被linux識別,再用fdisk -l 來查看隨身碟的情況。
/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格式的隨身碟,掛載命令:mount  -t  vfat  /dev/sdb1  /mnt/udisk
如果是ntfs格式的隨身碟,掛載命令:mount  -t  ntfs-3g  /dev/sdb1  /mnt/udisk
如果沒有/mnt/udisk檔案夾,可以建立一個
mkdir /mnt/udisk
即可~

但是注意,ntfs格式要掛載的話,需要下載一個ntfs-3g-2011.4.12-5.el5.i386.rpm包,安裝一下~
百度一下這個包名,去CSDN下載...

Linux 掛載u盤

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.