Files
systemd/src/repart
dongshengyuan d4ea8a3061 repart: skip generated files during dry runs
Skip generated fstab and crypttab output when --dry-run=yes is used,
after confirming there is eligible content to generate.

Reproducer: systemd-repart --dry-run=yes --generate-fstab=/tmp/root/etc/fstab -

Before: the command exited successfully and still wrote the requested
fstab file.

Follow-up: 1a0541d44c
(cherry picked from commit e7e68ec449)
2026-07-23 10:54:52 +02:00
..