执行mount挂载命令 报错:mount: you must specify the filesystem type
mount/dev/sr0 /mnt/cdrom 想挂载镜像到/mnt/cdrom,来用做yum源,挂载报错如下
mount:you must specify the filesystemtype报错翻译是说:因为没有指定文件系统
使用df -T -h 查看文件系统格式
文件系统为ext4格式,接下来我进行如下操作
mount -t ext4 /dev/cdrom/ /media,结果报错如下
mount: nomedium found
通过查询,是因为ISO镜像没有加载到光盘里面,然后我去看一下虚拟机,
这样再进行挂载就不会报错了
重新执行挂载命令:成功