Success!!
In extrahd.cgi, delete section, extrahdctrl umount <path>
is called.
extrahd.pl behaves like a normal program, success return 0. But extrahd.cgi interprets this error.
Changing the line
if ( General::system("/usr/local/bin/extrahdctrl", "umount", "$extrahdsettings{'PATH'}")) {
to
if ( !General::system("/usr/local/bin/extrahdctrl", "umount", "$extrahdsettings{'PATH'}")) {
does resolve the problem.
One little problem remains in the mount section. If the mounting doesn’t succeed, the status files in /var/ipfire/extrahd aren’t not consistent. Found by trying to mount a NTFS partition with ‘auto’.
The partition is marked red ( not mounted ), what is right. Didn’t check yet, whether it can be deleted with the modifications above.
`