X-Git-Url: https://glassweightruler.freedombox.rocks/gitweb/Ventoy.git/blobdiff_plain/8dce0adda6e1967de616287e224b914eb1bcef8e..b7e878c466712712f47956d97dd7e33d0a6e0cef:/IMG/cpio/ventoy/hook/lunar/ventoy-inotifyd-hook.sh?ds=inline diff --git a/IMG/cpio/ventoy/hook/lunar/ventoy-inotifyd-hook.sh b/IMG/cpio/ventoy/hook/lunar/ventoy-inotifyd-hook.sh index da31013..2ddc120 100644 --- a/IMG/cpio/ventoy/hook/lunar/ventoy-inotifyd-hook.sh +++ b/IMG/cpio/ventoy/hook/lunar/ventoy-inotifyd-hook.sh @@ -35,7 +35,8 @@ if is_inotify_ventoy_part $3; then blkdev_num=$($VTOY_PATH/tool/dmsetup ls | grep ventoy | sed 's/.*(\([0-9][0-9]*\),.*\([0-9][0-9]*\).*/\1:\2/') vtDM=$(ventoy_find_dm_id ${blkdev_num}) - mount -t iso9660 /dev/$vtDM /sysroot + cp -a /dev/$vtDM /dev/ventoy + mount -t iso9660 /dev/ventoy /sysroot set_ventoy_hook_finish else