any clue why this would happen in disk_config / etch
Michael Tautschnig
mt at debian.org
Fri Nov 14 12:35:33 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
>
I guess it could happen to assume some inserted CD/DVD is a writable media, but
otherwise this should be fine.
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/562e1f08/attachment.bin
More information about the linux-fai
mailing list