Send connman mailing list submissions to
        [email protected]

To subscribe or unsubscribe via the World Wide Web, visit
        https://lists.01.org/mailman/listinfo/connman
or, via email, send a message with subject or body 'help' to
        [email protected]

You can reach the person managing the list at
        [email protected]

When replying, please edit your Subject line so it is more specific
than "Re: Contents of connman digest..."


Today's Topics:

   1. Using a different path to store connman settings
      (Eswaran Vinothkumar (BEG/PJ-IOT-EL))
   2. Re: Using a different path to store connman settings
      (Julien Massot)


----------------------------------------------------------------------

Message: 1
Date: Wed, 25 Oct 2017 14:26:41 +0000
From: "Eswaran Vinothkumar (BEG/PJ-IOT-EL)"
        <[email protected]>
To: "[email protected]" <[email protected]>
Subject: Using a different path to store connman settings
Message-ID: <[email protected]>
Content-Type: text/plain; charset="iso-8859-1"

Hello,

I need some information regarding the path in which Connman saves the 
information. Connman saves the settings of each network under /var/lib/connman.

We are planning to use Over the air software update for our product. Since this 
information are stored under /var/lib/ directories, these informations are lost 
after the software update. Is it possible to change this directory in Connman 
to some other location. We have a data partition which is not modified during 
the software update. It would be helpful, if we store the connman and ofono 
related information in this partition.

Any information on this topic would be useful.

I am currently using Connman version 1.35 and oFone 1.21. Linux kernel:4.9

Mit freundlichen Gr??en / Best regards

Vinothkumar Eswaran
BEG-PT/PJ-IOT1


-------------- next part --------------
An HTML attachment was scrubbed...
URL: 
<http://lists.01.org/pipermail/connman/attachments/20171025/67f4bd04/attachment-0001.html>

------------------------------

Message: 2
Date: Wed, 25 Oct 2017 17:09:30 +0200
From: Julien Massot <[email protected]>
To: "Eswaran Vinothkumar (BEG/PJ-IOT-EL)"
        <[email protected]>
Cc: "[email protected]" <[email protected]>
Subject: Re: Using a different path to store connman settings
Message-ID:
        <CADGp=qdecfc8swwd6cvirdfkopv7etr3d3pgoylfuvansjt...@mail.gmail.com>
Content-Type: text/plain; charset="UTF-8"

Hi Eswanran,

On Wed, Oct 25, 2017 at 4:26 PM, Eswaran Vinothkumar (BEG/PJ-IOT-EL)
<[email protected]> wrote:
>
> Hello,
>
>
>
> I need some information regarding the path in which Connman saves the 
> information. Connman saves the settings of each network under 
> /var/lib/connman.
>
>
>
> We are planning to use Over the air software update for our product. Since 
> this information are stored under /var/lib/ directories, these informations 
> are lost after the software update. Is it possible to change this directory 
> in Connman to some other location. We have a data partition which is not 
> modified during the software update. It would be helpful, if we store the 
> connman and ofono related information in this partition.
>
>
>
> Any information on this topic would be useful.



I use the same setup and my rootfs is set as read only.
I suggest to create a /data/var/lib directory at runtime.
You can
- have a symbolic link from /var/lib to /data/var/lib
- do a mount --bind
- use an overlay file system

I personnally use the 3rd solution

You can look at the systemd unit which mount this folder
https://pastebin.com/raw/XyuQd5YY

Best regards,
Julien

-- 





*This email and any attachment thereto are confidential and intended solely 
for the use of the individual or entity to whom they are addressed.If you 
are not the intended recipient, please be advised that disclosing, copying, 
distributing or taking any action in reliance on the contents of this email 
is strictly prohibited. In such case, please immediately advise the sender, 
and delete all copies and attachment from your system.This email shall not 
be construed and is not tantamount to an offer, an acceptance of offer, or 
an agreement by SoftBank Robotics Europe on any discussion or contractual 
document whatsoever. No employee or agent is authorized to represent or 
bind SoftBank Robotics Europe to third parties by email, or act on behalf 
of SoftBank Robotics Europe by email, without express written confirmation 
by SoftBank Robotics Europe? duly authorized representatives.*
------------------------------




*Ce message ?lectronique et ?ventuelles pi?ces jointes sont confidentiels, 
et exclusivement destin?s ? la personne ou l'entit? ? qui ils sont 
adress?s.Si vous n'?tes pas le destinataire vis?, vous ?tes pri? de ne pas 
divulguer, copier, distribuer ou prendre toute d?cision sur la foi de ce 
message ?lectronique. Merci d'en aviser imm?diatement l'exp?diteur et de 
supprimer toutes les copies et ?ventuelles pi?ces jointes de votre 
syst?me.Ce message ?lectronique n'?quivaut pas ? une offre, ? une 
acceptation d?offre, ou ? un accord de SoftBank Robotics Europe sur toute 
discussion ou document contractuel quel qu?il soit, et ne peut ?tre 
interpr?t? comme tel. Aucun employ? ou agent de SoftBank Robotics Europe 
n'est autoris? ? repr?senter ou ? engager la soci?t? par email, ou ? agir 
au nom et pour le compte de la soci?t? par email, sans qu?une confirmation 
?crite soit donn?e par le repr?sentant l?gal de SoftBank Robotics Europe ou 
par toute autre personne ayant re?u d?l?gation de pouvoir appropri?e.*



------------------------------

Subject: Digest Footer

_______________________________________________
connman mailing list
[email protected]
https://lists.01.org/mailman/listinfo/connman


------------------------------

End of connman Digest, Vol 24, Issue 27
***************************************

Reply via email to