ubuntu 擦除磁盘

This post introduces how to erase / blank / format a DVM+RW media on Linux in the command line.

这篇文章介绍了如何在命令行上在Linux上擦除/空白/格式化DVM + RW介质。

First, you need to find out the device of the DVD/CD+RW drive on your Linux box. For example, on my box with Linux 3.3.4 kernel, my DVD/CD+RW drive is /dev/sr0. You can also see what the /dev/cdrom links to to find out the device path for the DVD/CD+RW drive. For example:

首先,您需要在Linux机器上找到DVD / CD + RW驱动器的设备。 例如,在装有Linux 3.3.4内核的盒子上,我的DVD / CD + RW驱动器为/dev/sr0 。 您还可以查看/dev/cdrom链接到的内容,以找到DVD / CD + RW驱动器的设备路径。 例如:


# ls /dev/cdrom  -l
lrwxrwxrwx. 1 root root 3 Aug  1 17:00 /dev/cdrom -> sr0

To format/erase a DVD+RW disk, we need the dvd+rw-tools tool. Install it if it has not installed yet:

要格式化/擦除DVD + RW磁盘,我们需要dvd+rw-tools工具 。 如果尚未安装,请安装:


# yum install dvd+rw-tools

Then we can format/erase the DVD+RW (actually no need to blank them explicitly)/DVD-RW disk using the dvd+rw-format tool after inserting it into the drive:

然后,在将DVD + RW插入驱动器后,可以使用dvd+rw-format工具格式化/擦除DVD + RW(实际上无需显式地将其清空)/ DVD-RW磁盘:


# dvd+rw-format -force /dev/sr0

BTW: the command to erase a CD+RW disk using cdrecord (provided by wodim):

BTW:使用cdrecord擦除CD + RW磁盘的命令(由wodim提供):


# cdrecord dev=/dev/sr0 blank=fast

翻译自: https://www.systutorials.com/linux-format-erase-dvdrw-disks/

ubuntu 擦除磁盘

ubuntu 擦除磁盘_如何在Linux中格式化(擦除)DVD + RW / DVD-RW磁盘相关推荐

  1. linux 卸载usb驱动,2种有效的方案解决如何在Linux中格式化USB驱动器

    有没有可行的解决方案在Linux中格式化USB驱动器?由于操作系统的限制,许多Linux用户发现很难格式化USB驱动器.尽管Linux具有许多优势,但有时进行工作可能会有些乏味.本文有2种不同的方式格 ...

  2. linux对磁盘进行分区_如何在Linux中对磁盘进行分区

    linux对磁盘进行分区 在Linux中创建和删除分区是一种常规做法,因为在使用存储设备(如硬盘驱动器和USB驱动器)之前,必须先对其进行某种结构化. 在大多数情况下,大型存储设备被分为称为parti ...

  3. 查看linux可用磁盘空间_如何在Linux中检查可用磁盘空间

    查看linux可用磁盘空间 跟踪磁盘利用率信息在系统管理员(和其他人员)的日常任务清单上. Linux有一些内置的实用程序可以帮助提供这些信息. df df命令代表"无磁盘",并显 ...

  4. shell中竖线的作用_如何在 Linux 中安装、配置和使用 Fish Shell?

    每个 Linux 管理员都可能听到过 shell 这个词.你知道什么是 shell 吗? 你知道 shell 在 Linux 中的作用是什么吗? Linux 中有多少个 shell 可用? -- Ma ...

  5. linux 更改ssh端口_如何在Linux中更改SSH端口-简易指南

    linux 更改ssh端口 The default port on SSH is 22. But for security reasons, it's a good idea to change SS ...

  6. linux重启网卡命令_如何在 Linux 中更改 MAC 地址 | Linux 中国

    在向你展示如何在 Linux 中更改 Mac 地址之前,让我们首先讨论为什么要更改它.-- Dimitrios Savvopoulos 在向你展示如何在 Linux 中更改 MAC 地址之前,让我们首 ...

  7. linux中更改用户密码_如何在Linux中更改用户密码

    linux中更改用户密码 In this tutorial, we will focus on how you can change a user's password in Linux. We wi ...

  8. linux中设置环境变量_如何在Linux中设置环境变量

    linux中设置环境变量 Wondering how to set environment variables in Linux? This is exactly what we'll be doin ...

  9. linux grep 排除_如何在Linux中排除Grep?

    linux grep 排除 grep is very useful tool used by a lot of tech guys. grep provides different functions ...

最新文章

  1. 《预训练周刊》第34期:使用图像级监督检测两万个类别、BigScience寻求建立强大的开放语言模型...
  2. 代码 抠图_憋再PS抠图了,3行代码给你安排的明明白白!
  3. pylucene构建索引_pyLucene
  4. 分享网页加载速度优化的一些技巧?
  5. 剑指offer面试题25. 合并两个排序的链表(双指针)
  6. C++ 命名空间(namespace)
  7. 经典机器学习系列(十四)PAC-Learning
  8. Ipsec phase1 and phase2
  9. 思科服务器a设置dns信息,思科怎么配置dns服务器
  10. python拆分参数列表_Python序列拆分操作符与映射拆分操作符实例
  11. Castaways钓鱼还能参与么,数据来告诉你答案
  12. HMI-41-【节能模式】右侧表小汽车灯光实现
  13. 打怪小游戏 勇者打恶龙1.1
  14. [iOS] Xcode 5 + iOS 7免证书(iDP)真机调试与生成IPA全攻略
  15. 无需编程的BEAM昆虫积木机器人~适合小孩子的益智DIY小制作
  16. 选择低功率MCU需考虑外设功耗与电源管理
  17. C++plog库,轻量级日志框架(日志库)
  18. room+livedata+ViewModel+RecyclerView
  19. 容器技术之Docker
  20. 【故障诊断】cv2.imwrite无法写入图片,但程序就是不报错

热门文章

  1. 《Web前端黑客技术揭 秘》解决部分示例无效的问题
  2. Kerberos的原理 - MIT的对话集
  3. vs2022 C#使用Console.WriteLine调试没有命令行输出
  4. C++ 实现安卓手机拍照全景模式
  5. HotSpot汇编器与模板解释器
  6. 学习-Java字符串之正则表达式之元字符之判断字符串是否符合规则
  7. Java如何暂停线程一段时间?
  8. 【语言】Java怎么暂停线程
  9. nginx配置文件rewrite规则
  10. Apache配置的rewrite规则