any clue why this would happen in disk_config / etch

kegstand kegstand at gmail.com
Fri Nov 14 01:00:54 CET 2008


On Thu, Nov 13, 2008 at 3:45 PM, Michael Tautschnig <mt at debian.org> wrote:
>> > Ok, seems like FAI 3.2.8 is not fully compatible with etch :-); I guess you will
>> > need to hack the disk-info script in your NFSROOT. I think it should suffice to
>> > look at the code of disk-info and do the reverse of what the comment in line 17
>> > says, that is:
>> >
>> > - throw away line 18
>> > - put [ `cat /sys/block/$device/removable` -eq 1 ] && isdisk=0
>> >  back in place
>>
>> ok i did it.  I have run the script from the command line, I got no
>> output.  Should that work?
>> I don't know where '$device' is going to be set.
>>
>
> $device is set in the while loop; probably the contents of
> /sys/block/sda/removable is 1 then ... I remember some discussion about that
> adaptec stuff. Well, you can definitely just hack things and always set isdisk
> to 1 if $device = sda.

how about if i just set isdisk to 1 no matter what?

# set isdisk to 1 no matter what happens
isdisk=1


More information about the linux-fai mailing list