Re: [OpenWrt-Devel] [PATCH mountd 2/2] support for disk without partition table

2016-06-23 Thread Olivier Hardouin
gt; On 22/06/2016 09:51, olivier.hardo...@gmail.com wrote: >> if no partition found, try to mount the block device itself >> >> Signed-off-by: Olivier Hardouin > > Hi, > > looks ok, just wondering what kind of storage you see this on. i have > only seen superflop

[OpenWrt-Devel] [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 --- 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/mount.c @@ -693,13 +693,19 @@ static

[OpenWrt-Devel] [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: Olivie

[OpenWrt-Devel] [PATCH mountd 4/4] filesystem mount options in uci as optional parameter

2016-06-17 Thread olivier . hardouin
Possibility to overwrite the default hardcoded settings by adding 'options' and 'fstype' in the uci configuration. The fs names are changed in lowercase to comply with UCI general naming. Signed-off-by: Olivier Hardouin --- replaces patch "filesystem mount options in

[OpenWrt-Devel] [PATCH mountd 3/4] add hotplug events

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

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

2016-06-17 Thread olivier . hardouin
Signed-off-by: Olivier Hardouin --- 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", "",

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

2016-06-17 Thread olivier . hardouin
fix also possible null dereferenced pointers Signed-off-by: Olivier Hardouin --- 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 @@ -54,6 +54,9 @@ char* uci_get_option

Re: [OpenWrt-Devel] [PATCH package mountd] uci config for mountd fileystem options

2016-06-10 Thread Olivier Hardouin
> > 2016-06-10 11:37 GMT+02:00 : > >> Signed-off-by: Olivier Hardouin > >> --- > > > > Your patch doesn't have a commit message, which explains why these > > options are required by default. > > > > I've used mountd recently with ext4

[OpenWrt-Devel] [PATCH package mountd] uci config for mountd fileystem options

2016-06-10 Thread olivier . hardouin
Signed-off-by: Olivier Hardouin --- package/system/mountd/files/mountd.config | 28 1 file changed, 28 insertions(+) diff --git a/package/system/mountd/files/mountd.config b/package/system/mountd/files/mountd.config index 5610129..c105606 100644 --- a/package

[OpenWrt-Devel] [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 --- mount.c | 69