>>>>> On Mon, 22 Jun 2015 23:49:43 +0200, Thomas Lange 
>>>>> <la...@informatik.uni-koeln.de> said:

>>>>> On Sat, 20 Jun 2015 19:10:46 +0200, Holger Parplies <w...@parplies.de> 
>>>>> said:
    >> don't the slots of card readers appear as sd* devices regardless of 
whether a
    >> card is actually inserted?
    > Yes and no. They appear in as devices like /dev/sd* and also in
    > /dev/disk/by-id even if no SD card is inserted. But they do not appear
    > in /proc/partitions which is used by FAI.

The problem may be that if you boot from USB stick, this device would
also appear in the list of available disks.

Maybe it's better if you can write a script class/99-usb-disk.source
which redefines the internal variable disklist:

newlist="sdf"
echo disklist=\"$newlist\" >> $LOGDIR/additional.var


Then the disklist of FAI will be overwritten.

-- 
regards Thomas

Antwort per Email an