centos挂载错误

news/2024/6/29 6:21:31
[root@localhost ~]# mount /dev/cdrom /mnt/cdrom/


mount: block device /dev/sr0 is write-protected, mounting read-only


虚拟机挂着光驱光驱时提示只读,用以下命令可解决该报错,


mount -o remount,rw /dev/cdrom /mnt/cdrom


转自:http://blog.chinaunix.net/uid-30645967-id-5701870.html

转载于:https://www.cnblogs.com/hoewang/p/10257246.html


http://www.niftyadmin.cn/n/3060762.html

相关文章

Hive基本命令整理

创建表: hive> CREATE TABLE pokes (foo INT, bar STRING); Creates a table called pokes with two columns, the first being an integer and the other a string 创建一个新表,结构与其他一样 hive> create table new_table like reco…

pnfs执行truncate失败的BUG解析

Bug 名称 Truncate操作失败 Bug 描述 使用fstest工具,先执行create再执行truncate后,服务器会返回EIO,而不是期望的0,过一段时间之后,重复执行truncate则成功。 这是导致truncate测试用例所有失败的唯一原因。具体测试脚本在fs…

nilsimsa的大概算法

1. 有一个5个字节的window,沿着文本向右滑动,每次滑动一个字节2. 每一个window里面的5个字节,分别可以N个组成3元组。 例如igram,可以分为:igr iga igm iga igm gra grm gam ram3. 每一个三元组通过一个hash函数,算出来…

do_generic_file_read()函数

这个函数完成了文件读的主要流程 核心在于操作页高速缓存,如缺页,失效,预读等操作。 函数中goto语句不计其数, static void do_generic_file_read(struct file *filp, loff_t *ppos, read_descriptor_t *desc, read_a…

ECLIPSE、INTELLIJ IDEA格式化统一ECLIPSE CODE FORMATTER

Eclipse、Intellij idea格式化结果不一样,导致长时间都是用两个开发工具,idea开发eclipse进行格式化。但是现在这个问题可以解决了。使用Eclipse Code Formatter。 具体的插件地址:http://plugins.jetbrains.com/plugin/6546?pridea&off…

文件读写流程

在《linux内核虚拟文件系统浅析》这篇文章中,我们看到文件是如何被打开、文件的读写是如何被触发的。 对一个已打开的文件fd进行read/write系统调用时,内核中该文件所对应的file结构的f_op->read/f_op->write被调用。 本文将顺着这条路走下去&…

网站无法显示logo?

那是因为你没有配置favicon.ico,每个网站根目录都会有一个favicon.ico,因为每个服务器都会请求根目录下的它。

改变图片尺寸

// 改变图片尺寸 -(UIImage *)thumbnailWithImageWithoutScale:(UIImage *)image size:(CGSize)asize{UIImage *newimage;if (nil image) {newimage nil;}else{CGSize oldsize image.size;CGRect rect;if (asize.width/asize.height > oldsize.width/oldsize.height) {re…