> On Thu, Nov 13, 2008 at 3:45 PM, Michael Tautschnig <[EMAIL PROTECTED]> 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 >
I guess it could happen to assume some inserted CD/DVD is a writable media, but otherwise this should be fine. Best, Michael
pgpYYZM1x6HkY.pgp
Description: PGP signature
