[Ovmsdev] /store gone

Mark Webb-Johnson mark at webb-johnson.net
Sat Feb 17 10:53:31 HKT 2018


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




More information about the OvmsDev mailing list