[Ovmsdev] /store gone

Greg D. gregd2350 at gmail.com
Sat Feb 17 10:56:08 HKT 2018


Ah, ok then.  I did a vfs ls of it, and nothing got returned, so tried
catting it. 

If it's a directory, what should I normally find in there?  I have not
tried to set any config parameters as yet.  Is it worth trying to do so
(writing to flash)?

Greg


Mark Webb-Johnson wrote:
> Ovms_config is a directory. Don’t think you can cat it.
>
> Regards, Mark
>
>> On 17 Feb 2018, at 10:32 AM, Greg D. <gregd2350 at gmail.com> wrote:
>>
>> Hi Steve,
>>
>> No, it's just "cannot be opened:"
>>
>> OVMS > vfs ls /store
>> ��������.���
>> ��������.���
>> <snip 124 lines>
>> ��������.���
>> ��������.���
>> ovms_config
>> OVMS > vfs cat /store/ovms_config
>> Error: VFS file cannot be opened
>> OVMS > vfs stat /store/ovms_config
>> Error: VFS file cannot be opened
>> OVMS >
>>
>> I just noticed that there are 128 lines of bogus files (power of 2 a
>> coincidence?), prior to ovms_config.
>>
>> Greg
>>
>>
>> Stephen Casner wrote:
>>> Greg,
>>>
>>>> But, if I try to vfs cat the file, ovms complains that the file
>>>> cannot be opened.
>>> Just checking... Is the complaint "Error: protected path"?  If so, you
>>> have to set:
>>>
>>> CONFIG_OVMS_DEV_CONFIGVFS=y
>>>
>>> in sdkconfig to allow access with the vfs commands.
>>>
>>>                                                        -- Steve
>>> _______________________________________________
>>> OvmsDev mailing list
>>> OvmsDev at lists.teslaclub.hk
>>> http://lists.teslaclub.hk/mailman/listinfo/ovmsdev
>> _______________________________________________
>> OvmsDev mailing list
>> OvmsDev at lists.teslaclub.hk
>> http://lists.teslaclub.hk/mailman/listinfo/ovmsdev
> _______________________________________________
> OvmsDev mailing list
> OvmsDev at lists.teslaclub.hk
> http://lists.teslaclub.hk/mailman/listinfo/ovmsdev




More information about the OvmsDev mailing list