Linux command
dvd-ram-control 命令
文本
复制后可按需替换文件名、目录或参数。
常用示例
Show current settings
dvd-ram-control [/dev/dvd]
Make the disc read-only
dvd-ram-control -rdonly [/dev/dvd]
Re-enable read/write
dvd-ram-control -rdwr [/dev/dvd]
Enable automatic write relocation
dvd-ram-control -awre [/dev/dvd]
Enable automatic read relocation
dvd-ram-control -arre [/dev/dvd]
说明
dvd-ram-control is part of the dvd+rw-tools suite and lets you inspect or change low-level features of a DVD-RAM disc. Running it with no option flags prints the current state of the disc's Persistent Write Protection and AWRE/ARRE flags. Adding a flag toggles or sets the corresponding feature in the drive's defect management data. Persistent Write Protection (-rdonly / -rdwr) turns the whole disc into a read-only or read-write medium; AWRE and ARRE control automatic sector reallocation on write or read errors.
参数
- -rdonly
- Turn on persistent write protection (read-only).
- -rdwr
- Turn off persistent write protection (read-write).
- -awre
- Toggle Automatic Write Relocation Enable.
- -arre
- Toggle Automatic Read Relocation Enable.
FAQ
What is the dvd-ram-control command used for?
dvd-ram-control is part of the dvd+rw-tools suite and lets you inspect or change low-level features of a DVD-RAM disc. Running it with no option flags prints the current state of the disc's Persistent Write Protection and AWRE/ARRE flags. Adding a flag toggles or sets the corresponding feature in the drive's defect management data. Persistent Write Protection (-rdonly / -rdwr) turns the whole disc into a read-only or read-write medium; AWRE and ARRE control automatic sector reallocation on write or read errors.
How do I run a basic dvd-ram-control example?
Run `dvd-ram-control [/dev/dvd]` in a terminal, then adjust file names, paths, flags, or remote targets for your system.
What does -rdonly do in dvd-ram-control?
Turn on persistent write protection (read-only).