问答详情
图片加载失败

linux 如何挂载移动硬盘

阅读(245) 2017-06-19 09:49:02
linux 如何挂载移动硬盘
提问者:小小虾 悬赏分:0

评论

  • 小曹

    2017-06-19

    USB接口的移动硬盘是被当作SCSI设备对待的。 一、插入移动硬盘之前应该先用# fdisk -l看硬盘信息 移动硬盘应该是/dev/sda,硬盘是/dev/hda 二、在/mnt下建目录挂载点,如下: # mkdir -p /mnt/usbhd1 # mkdir -p /mnt/usbhd2 三、挂载 # mount -t ntfs /dev/sda1 /mnt/usbhd1 # mount -t vfat /dev/sda2 /mnt/usbhd2 对ntfs格式的移动存储磁盘分区应用 -t ntfs ,对fat格式的移动存储磁盘分区应用 -t vfat 如果遇到汉字显示为乱码,用下面命令: # mount -t ntfs -o iocharset=cp936 /dev/sda1 /mnt/usbhd1 # mount -t vfat -o iocharset=cp936 /dev/sda2 /mnt/usbhd2 四、若不用时卸载,用如下命令: #umount /dev/sda1 了解更多开源相关,去LUPA社区看看吧。

    0