Darrick

thanks for the reply. I tried editing /etc/modprobe.conf originally
(setting the filesystem to RW etc) but the changes do not make it past a
reboot. I also tried storing one on the keydisk in case this could be
used to replace the etc one - without success, it does not get copied over.

Where is the fundamental copy of the file - it is probably this one I
should be editing.

Thanks
Mart

Darrick Hartman wrote:
> Mart,
> 
> This isn't an area that I've had to use so we may need to adjust it. 
> Kristian may need to shed a little light on this too.
> 
> MODOPTS are supposedly set as follows: (from /etc/rc)
> 
>    if [ -n "$MODOPTS" ]; then
>      for i in $MODOPTS; do
>        MOD=`echo $i | cut -d: -f1`
>        OPT=`echo $i | cut -d: -f2`
>        echo "options $MOD $OPT" >> /tmp/etc/modprobe.conf
>      done
>    fi
> 
> However, it doesn't look like that is ever used since /etc/modprobe.conf 
> is hard coded.  For your purposes, you could edit the existing 
> modprobe.conf file and replace it with the options you want.  The 
> changes would be on unionfs and overwrite the other file.  After we've 
> determined the correct way to handle this, I'll walk you through 
> reversing the process.
> 
> Darrick
> 
> 
> Martin Rogers wrote:
>> Hi
>>
>> This is a followup to a recent thread on modprobe which did not conclude
>> in any resolution.
>>
>> It appears that setting MODOPTS in /mnt/kd/rc.conf are ignored.
>>
>> I am using the astlinux-0.6.1-via.img.gz image.
>>
>> I have set the following line in the /mnt/kd/rc.conf to set the opermode
>> to UK
>> and to turn debugging for the module on.
>>
>> MODOPTS="wctdm:opermode=UK wctdm:debug=1"
>>
>>  This line appears also in /etc/rc.conf after a restart indicating it
>> was sucessfully soaked up from the keydisk.
>>
>> However, after a restart :
>>  /sys/module/wctdm/parameters/opermode ="FCC"
>>  /sys/module/wctdm/parameters/debug ="0"
>>
>> which looks to me as if the two flags were not picked up in the startup
>> processing.
>>
>> Using a single parameter such as
>> MODOPTS="wctdm:debug=1"
>> does not have any effect either.
>>
>> Is this a bug, or am I missing something.
>>
>> Thanks
>> Mart
>>
>> -------------------------------------------------------------------------
>> This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
>> Build the coolest Linux based applications with Moblin SDK & win great prizes
>> Grand prize is a trip for two to an Open Source event anywhere in the world
>> http://moblin-contest.org/redirect.php?banner_id=100&url=/
>> _______________________________________________
>> Astlinux-users mailing list
>> Astlinux-users@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/astlinux-users
>>
>> Donations to support AstLinux are graciously accepted via PayPal to [EMAIL 
>> PROTECTED]
> 

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Astlinux-users mailing list
Astlinux-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/astlinux-users

Donations to support AstLinux are graciously accepted via PayPal to [EMAIL 
PROTECTED]

Reply via email to