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 f
Though I like the idea of being able to upgrade using a usb stick, I
wonder if mountd is the correct place to implement this.
Indeed mountd is sending events via hotplug, so some other subsystems
could listen to these ones and decide whether the upgrade should be
based on some file of an attached u
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
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
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
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",
"",
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
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
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
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
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
11 matches
Mail list logo