Re: [OpenWrt-Devel] [PATCH] fstools: add a hook before mounting the overlay

2019-10-10 Thread John Crispin
On 10/10/2019 13:02, Alin Năstac wrote: On Wed, Oct 9, 2019 at 4:52 PM Alin Năstac wrote: On Wed, Oct 9, 2019 at 4:41 PM John Crispin wrote: On 09/10/2019 16:34, Alin Năstac wrote: On Wed, Oct 9, 2019 at 2:59 PM John Crispin wrote: On 09/10/2019 14:41, Alin Nastac wrote: Scripts located

Re: [OpenWrt-Devel] [PATCH] fstools: add a hook before mounting the overlay

2019-10-10 Thread Alin Năstac
On Wed, Oct 9, 2019 at 4:52 PM Alin Năstac wrote: > > On Wed, Oct 9, 2019 at 4:41 PM John Crispin wrote: > > > > > > On 09/10/2019 16:34, Alin Năstac wrote: > > > On Wed, Oct 9, 2019 at 2:59 PM John Crispin wrote: > > >> > > >> On 09/10/2019 14:41, Alin Nastac wrote: > > >>> Scripts located in t

Re: [OpenWrt-Devel] [PATCH] fstools: add a hook before mounting the overlay

2019-10-09 Thread Alin Năstac
On Wed, Oct 9, 2019 at 4:41 PM John Crispin wrote: > > > On 09/10/2019 16:34, Alin Năstac wrote: > > On Wed, Oct 9, 2019 at 2:59 PM John Crispin wrote: > >> > >> On 09/10/2019 14:41, Alin Nastac wrote: > >>> Scripts located in the directory /lib/mount_root will be executed > >>> before mounting t

Re: [OpenWrt-Devel] [PATCH] fstools: add a hook before mounting the overlay

2019-10-09 Thread John Crispin
On 09/10/2019 16:34, Alin Năstac wrote: On Wed, Oct 9, 2019 at 2:59 PM John Crispin wrote: On 09/10/2019 14:41, Alin Nastac wrote: Scripts located in the directory /lib/mount_root will be executed before mounting the overlay. Signed-off-by: Alin Nastac Hi, should it not be /etc/mount_roo

Re: [OpenWrt-Devel] [PATCH] fstools: add a hook before mounting the overlay

2019-10-09 Thread John Crispin
On 09/10/2019 14:41, Alin Nastac wrote: Scripts located in the directory /lib/mount_root will be executed before mounting the overlay. Signed-off-by: Alin Nastac Hi, should it not be /etc/mount_root.d/ ? what do you need this for if I may ask ? further comments inline ...     John --

[OpenWrt-Devel] [PATCH] fstools: add a hook before mounting the overlay

2019-10-09 Thread Alin Nastac
Scripts located in the directory /lib/mount_root will be executed before mounting the overlay. Signed-off-by: Alin Nastac --- libfstools/hook.h| 51 +++ libfstools/overlay.c | 3 ++- 2 files changed, 53 insertions(+), 1 deletion(-) create mod