加入收藏 | 设为首页 | 会员中心 | 我要投稿 南京站长网 (https://www.025zz.com.cn/)- 科技、建站、经验、云计算、5G、大数据,站长网!
当前位置: 首页 > 服务器 > 搭建环境 > Unix > 正文

linux如何用命令进入u盘,linux 下如何打开u盘

发布时间:2022-12-03 14:31:39 所属栏目:Unix 来源:网络
导读: 插入U盘之后,直接用mount就可以了。一般U盘都是/dev/sda1分区unix命令框,下面的命令就可以了:
[root@localhost home]# /sbin/fdisk -l //查看u盘加载在什么地方?
Disk /dev/sda: 155.9

插入U盘之后,直接用mount就可以了。一般U盘都是/dev/sda1分区unix命令框,下面的命令就可以了:

[root@localhost home]# /sbin/fdisk -l //查看u盘加载在什么地方?

Disk /dev/sda: 155.9 GB, 155933511168 bytes

255 heads, 63 sectors/track, 18957 cylinders

Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System

/dev/sda1 * 1 13 104391 83 Linux

/dev/sda2 14 18957 152167680 8e Linux LVM

Disk /dev/sdb: 8537 MB, 8537505792 bytes

64 heads, 32 sectors/track, 8142 cylinders

Units = cylinders of 2048 * 512 = 1048576 bytes

This doesn't look like a partition table

Probably you selected the wrong device.

Device Boot Start End Blocks Id System

/dev/sdb1 ? 945327 1849555 925929529+ 68 Unknown

Partition 1 does not end on cylinder boundary.

/dev/sdb2 ? 649505 912677 269488144 79 Unknown

Partition 2 does not end on cylinder boundary.

/dev/sdb3 ? 263179 945973 699181456 53 OnTrack DM6 Aux3

Partition 3 does not end on cylinder boundary.

/dev/sdb4 ? 680971 680981 10668+ 49 Unknown

Partition 4 does not end on cylinder boundary.

[root@localhost uu]# mkdir /mnt/usb

[root@localhost uu]# mount /dev/sdb /mnt/usb //加载完成

//mount -t vfat /dev/sda1 /mnt/

就行了。

(编辑:南京站长网)

【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!

    推荐文章