Re: [LEDE-DEV] [PATCH] Mountd: Add sysupgrade functionality.

2016-07-08 Thread Olivier Hardouin
Hi Philipp, > Yes, good point. But then we should rewrite/redesign the whole update > process > including the sysupgrade binary in my opinion. For example writing a > small library and a daemon > which does the updates for us. A daemon which executes a sysupgrade tool > doesn't > make more sense

[LEDE-DEV] [PATCH mountd 2/2] support for disk without partition table

2016-06-22 Thread olivier . hardouin
if no partition found, try to mount the block device itself Signed-off-by: Olivier Hardouin <olivier.hardo...@gmail.com> --- mount.c | 14 ++ 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/mount.c b/mount.c index 0c2862a..7cbb8ff 100644 --- a/mount.c +++ b/m

[LEDE-DEV] [PATCH mountd 1/2] hfs+ journal partition support as read only

2016-06-22 Thread olivier . hardouin
use hfsplus driver to mount hfs+ partition marked as journalled, read only mounting since partial support from the kernel for write access (as stated in Documentatiom/filesystems/hfsplus.txt) add new index 'LASTFS' to be used in case of support for another driver Signed-off-by: Olivier Hardouin

[LEDE-DEV] [PATCH mountd 1/4] align fs_names table to indexes defined in include/fs.h

2016-06-15 Thread olivier . hardouin
Signed-off-by: Olivier Hardouin <olivier.hardo...@gmail.com> --- mount.c | 1 + 1 file changed, 1 insertion(+) diff --git a/mount.c b/mount.c index 8892040..36b99f5 100644 --- a/mount.c +++ b/mount.c @@ -59,6 +59,7 @@ char *fs_names[] = { "", "NTFS",

[LEDE-DEV] [PATCH mountd 3/4] add hotplug events

2016-06-15 Thread olivier . hardouin
add hotplug events (add, remove) to inform other subsystems remove obsolete /etc/mountd/event call Signed-off-by: Olivier Hardouin <olivier.hardo...@gmail.com> --- mount.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/mount.c b/mount.c index aaddb70..219146b

[LEDE-DEV] [PATCH mountd 2/4] fix crash if no uci config file present

2016-06-15 Thread olivier . hardouin
fix also possible null dereferenced pointers Signed-off-by: Olivier Hardouin <olivier.hardo...@gmail.com> --- uci.c | 6 ++ ucix.c | 9 - 2 files changed, 14 insertions(+), 1 deletion(-) diff --git a/uci.c b/uci.c index f5aad02..46c3922 100644 --- a/uci.c +++ b/uci.c @@

[LEDE-DEV] [PATCH mountd] filesystem mount options in uci config

2016-06-10 Thread olivier . hardouin
Move (previously hardcoded) mount option to UCI to allow different configuration like charset (utf-8 or iso) and filesystem driver (if alternative ones are used). The fs names are changed in lowercase to comply with UCI general naming. Signed-off-by: Olivier Hardouin <olivier.ha