Linux command
mount.ddi 命令
安全
权限或系统影响较大,执行前请核对目标。
常用示例
Mount
mount.ddi [path/to/image.raw] [/mnt/image]
Example
mount -t ddi [path/to/image.raw] [/mnt/image]
Example
mount -t ddi -o ro [path/to/image.raw] [/mnt/image]
说明
mount.ddi is a mount helper for Discoverable Disk Images (DDIs). It implements the mount(8) external helper interface, allowing DDI images to be mounted using standard mount syntax. When systemd-dissect is symlinked to /sbin/mount.ddi, the system can mount DDI images directly through the mount command with -t ddi filesystem type. This enables automatic mounting at boot via /etc/fstab entries. DDI images follow the Discoverable Partitions Specification, allowing automatic partition identification and mounting without manual configuration.
参数
- ro
- Mount read-only
- rw
- Mount read-write
- discard
- Enable block discarding
- nodiscard
- Disable block discarding
- defaults
- Use standard mount behavior
FAQ
What is the mount.ddi command used for?
mount.ddi is a mount helper for Discoverable Disk Images (DDIs). It implements the mount(8) external helper interface, allowing DDI images to be mounted using standard mount syntax. When systemd-dissect is symlinked to /sbin/mount.ddi, the system can mount DDI images directly through the mount command with -t ddi filesystem type. This enables automatic mounting at boot via /etc/fstab entries. DDI images follow the Discoverable Partitions Specification, allowing automatic partition identification and mounting without manual configuration.
How do I run a basic mount.ddi example?
Run `mount.ddi [path/to/image.raw] [/mnt/image]` in a terminal, then adjust file names, paths, flags, or remote targets for your system.
What does ro do in mount.ddi?
Mount read-only