Files
Ventoy/IMG/cpio/ventoy/hook
longpanda 2248d1f807
Ventoy CI / build (push) Canceled after 0s
Mirror GitHub to Gitee / Sync-GitHub-to-Gitee (push) Canceled after 0s
Add a cleanup service for Ventoy udev rules files
When we boot an ISO file to the live system through Ventoy.
The ISO partition (e.g. /dev/sda1) is hold by the device-mapper which will block it to be mounted.
So Ventoy will create a mirror device-mapper /dev/mapper/VentoyPart for /dev/sda1.
Most live systems with GUI environment will auto mount Ventoy ISO partition by udisk.
So in 1.1.18 Venoty will inject an udev rule in the Live system in order to:
1. Block the original ISO partition (e.g. /dev/sda1) to be auto-mounted.
2. Force /dev/mapper/VentoyPart to be auto-mounted.

But the udev rule file was injected to /etc directory of the Live system, this will make the rule mistakenly inherited into the final installed system.
Originally, the /run directory would have been the most suitable location, but in some Live systems /run is not a static directory but an overlayfs which is created dynamically during boot which make it a little bit complex.
So we add a cleanup systemd/sysvinit service.
2026-11-23 20:26:11 +08:00
..
2020-06-25 23:01:59 +08:00
2020-06-25 23:01:59 +08:00
2020-05-30 20:13:09 +08:00
2021-05-31 21:02:46 +08:00
2020-07-18 22:07:06 +08:00
2025-01-22 18:24:09 +08:00
2020-07-18 22:07:06 +08:00
2020-07-18 22:07:06 +08:00
2020-04-05 00:08:01 +08:00
2020-05-09 22:15:14 +08:00
2020-07-18 22:07:06 +08:00
2020-08-14 22:16:27 +08:00
2020-08-29 13:12:46 +08:00
2020-08-29 13:12:46 +08:00
2020-07-09 19:26:23 +08:00
2020-04-05 00:08:01 +08:00
2026-04-23 00:23:21 +08:00
2020-08-29 13:12:46 +08:00
2020-04-05 00:08:01 +08:00