Linux command
systemd-sysext 命令
文本
复制后可按需替换文件名、目录或参数。
常用示例
Show current merge status
systemd-sysext status
List
systemd-sysext list
Merge
systemd-sysext merge
Unmerge
systemd-sysext unmerge
Refresh
systemd-sysext refresh
Merge ignoring version compatibility checks
systemd-sysext merge --force
说明
systemd-sysext manages system extension images that overlay files onto `/usr/` and `/opt/`. Extensions are read-only images (DDI format) that add software to the base system without modifying the root filesystem. Extensions are stored in `/var/lib/extensions/` or `/run/extensions/` and are merged using overlayfs.
参数
- --root= _PATH_
- Operate relative to the specified root directory.
- --force
- Ignore version incompatibilities when merging.
- --mutable= _MODE_
- Set mutability mode (disabled, auto, yes, import, ephemeral, ephemeral-import).
- --no-reload
- Do not reload daemon after merge, unmerge, or refresh.
- --no-pager
- Do not pipe output into a pager.
- --no-legend
- Do not print column headers and footer hints.
- --json= _MODE_
- Output as JSON (short, pretty, or off).
FAQ
What is the systemd-sysext command used for?
systemd-sysext manages system extension images that overlay files onto `/usr/` and `/opt/`. Extensions are read-only images (DDI format) that add software to the base system without modifying the root filesystem. Extensions are stored in `/var/lib/extensions/` or `/run/extensions/` and are merged using overlayfs.
How do I run a basic systemd-sysext example?
Run `systemd-sysext status` in a terminal, then adjust file names, paths, flags, or remote targets for your system.
What does --root= _PATH_ do in systemd-sysext?
Operate relative to the specified root directory.