Skip to content
  • alex@thinkpad's avatar
    run_canon_fw.sh: fine-tuned checking of whether SD/CF image is in use · 54c02f65e81f
    alex@thinkpad authored
    - use lsof to detect whether another process opened the SD/CF image for writing
    - only allow multiple instances of QEMU if using -snapshot (read-only access to SD/CF image)
    - check all results returned by losetup (note: lsof does not show whether the image is mounted)
    - use alternate methods (grepping mount output) if losetup is not available
    - to be tested/refined on Mac and Windows 10 WSL
    
    --HG--
    branch : qemu
    54c02f65e81f