Commit Graph

12 Commits

Author SHA1 Message Date
Arne Fitzenreiter
90147c2c33 extrahd: add forgotten udev_event handler to mount partitions via udev
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2023-09-28 09:17:46 +00:00
Arne Fitzenreiter
7c9f5f9882 extrahd: use udev rule to mount extrahd partitions
the previous patches for
https://bugzilla.ipfire.org/show_bug.cgi?id=12863
introduce a new bug that slow devices are not mounted
at boot. So now udev calls the extrahd script with
the uuid.

Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2023-09-17 12:10:42 +00:00
Michael Tremer
88513c0ef5 extrahd: Do not try to umount if nothing is mounted
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2023-08-02 09:14:46 +00:00
Michael Tremer
80eac2b523 extrahd: Skip relative mountpoints
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2023-08-02 09:14:46 +00:00
Michael Tremer
b49e4eec45 extrahd: Rewrite the mount script in shell
This is probably a lot easier than calling all sorts of shell commands
from Perl.

The script has also changed that it will try to mount/umount all
configured mountpoints unless a specific mountpoint is being given.

An initscript will be needed to mount everything when the system is
booting up and umount everything on shutdown.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2023-08-02 09:14:46 +00:00
Arne Fitzenreiter
fcd8ab4c23 Merge branch 'master' into core115 2017-10-18 21:20:23 +02:00
Matthias Fischer
3c3dfd165e Remove PRINT-line in extrahd.pl
As shown in https://forum.ipfire.org/viewtopic.php?f=50&t=19563#p111055
PRINT-output somehow garbles bash-prompt.

Signed-off-by: Matthias Fischer <matthias.fischer@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2017-10-11 12:19:58 +01:00
Matthias Fischer
d5f061e9e7 Apache 2.4.27 breaks ExtraHD-GUI
Opening 'extrahd.cgi' led to:
"Response header name 'scanhd idescanhd partitionsCache-control' contains
invalid characters, aborting request".

https://forum.ipfire.org/viewtopic.php?f=27&t=19550#p111030
https://forum.ipfire.org/viewtopic.php?f=50&t=19563&sid=575337ac1caf1df492fced01ca6243de#p111048
https://forum.ipfire.org/viewtopic.php?f=22&t=19563#p111052

Signed-off-by: Matthias Fischer <matthias.fischer@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2017-10-02 19:27:52 +01:00
Arne Fitzenreiter
e528205ed8 extrahd: Add UUID to table.
Fix blkid without cache does not work as nobody.
2010-12-10 13:29:23 +01:00
Michael Tremer
784d72a289 extrahd: Use UUID instead of device nodes. 2010-11-29 01:22:57 +01:00
ms
70df830214 Ein Paar Dateien fuer die GPLv3 angepasst.
git-svn-id: http://svn.ipfire.org/svn/ipfire/trunk@853 ea5c0bd1-69bd-2848-81d8-4f18e57aeed8
2007-08-29 13:25:32 +00:00
ms
aa2870e623 ExtraHD! Die Erweiterung um Festplatten schnell einzubinden!
git-svn-id: http://svn.ipfire.org/svn/ipfire/trunk@420 ea5c0bd1-69bd-2848-81d8-4f18e57aeed8
2007-02-15 18:17:05 +00:00