any clue why this would happen in disk_config / etch

Michael Tautschnig mt at debian.org
Fri Nov 14 00:45:02 CET 2008


> > 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.

Best,
Michael

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 194 bytes
Desc: not available
Url : http://lists.uni-koeln.de/pipermail/linux-fai/attachments/20081114/53464b34/attachment.bin 


More information about the linux-fai mailing list