Installation overwrites USB boot stick

Thomas Lange lange at cs.uni-koeln.de
Mon Oct 2 15:43:13 CEST 2023


Hi Michael,

please check if you are using the newest version of this file.
In 2017 I've added some code to ignore the USB stick (git show 0e071f2ec8e6be1)

https://github.com/faiproject/fai/blob/master/lib/fai-disk-info

    > As expected, /sys/block/sd*/removable reads '1' for the USB stick and 
    > '0' for the SSD.

    > What is the advantage of checking the device group instead of the 
    > removable flag in /sys here anyway?
Some people may want to install to a removable disk, for e.g. a micro
SD card.


-- 
regards Thomas


More information about the linux-fai mailing list