Re: Installation overwrites USB boot stick
Thomas Lange <[email protected]>
| Newsgroups | gmane.linux.debian.fai |
|---|---|
| Message-ID | <[email protected]> |
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