mount:block device /dev/cdrom is write-protected,mounting read-only linux挂在问

来源:学生作业帮助网 编辑:六六作业网 时间:2024/12/24 13:15:00
mount:blockdevice/dev/cdromiswrite-protected,mountingread-onlylinux挂在问mount:blockdevice/dev/cdromisw

mount:block device /dev/cdrom is write-protected,mounting read-only linux挂在问
mount:block device /dev/cdrom is write-protected,mounting read-only linux挂在问

mount:block device /dev/cdrom is write-protected,mounting read-only linux挂在问
这是正常的提示.无需解决.
/dev/cdrom写保护,以只读方式挂载.
mount命令默认以读写方式挂载一个设备,而光盘是只读的,所以在挂载光盘这个块设备时会出现上述从读写方式切换为以只读方式挂载光盘的提示.如果不想看到这个提示,就请在mount命令后面添加参数,指定以只读方式来挂载设备.