Best problem ever, how to solve neatly?

Thomas Lange lange at informatik.uni-koeln.de
Fri Apr 3 14:54:41 CEST 2009


>>>>> On Fri, 3 Apr 2009 15:44:28 +0300, mjt at nysv.org (Markus Törnqvist) said:

    > Commented line 17: [ `cat /sys/block/$device/removable` -eq 1 ] && isdisk=0
This is the old way of detecting removable disks. You are using an old
FAI version. Now FAI uses:

[ `stat -c %G /dev/$device` = "disk" ] || isdisk=0

-- 
regards Thomas



More information about the linux-fai mailing list