CentOS下挂载U盘

WBOY
Release: 2016-06-07 15:59:04
Original
1794 people have browsed it

插入U盘提示: [sdb] No Caching mode page present [sdb] Assuming drive cache: write through 再用fdisk -l 来查看U盘的情况(其实这部没什么用,只是看看) 下面是操作(只需两步): 1.去到dev目录下,查看你的U盘的设备名称,我的是sdb 2.挂载:mount -t

插入U盘提示:

[sdb] No Caching mode page present
[sdb] Assuming drive cache: write through

再用fdisk -l 来查看U盘的情况(其实这部没什么用,只是看看)

下面是操作(只需两步):

1.去到dev目录下,查看你的U盘的设备名称,我的是sdb

2.挂载:mount -t vfat /dev/sdb /mnt/udisk

注意:如果是fat格式的U盘,挂载命令:mount -t vfat /dev/sdb /mnt/udisk
如果是ntfs格式的U盘,挂载命令:mount -t ntfs-3g /dev/sdb /mnt/udisk
如果没有/mnt/udisk文件夹,可以创建一个
mkdir /mnt/udisk
即可~

但是,ntfs格式要挂载的话,需要下载一个ntfs-3g-2011.4.12-5.el5.i386.rpm包,安装一下~
百度一下这个包名,去CSDN下载...

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!