On 6/14/20 4:44 PM, J. Fahrner via Dng wrote:
> Am 2020-06-14 15:09, schrieb Dr. Nikolaus Klepp:
>> Anno domini 2020 Sun, 14 Jun 14:12:21 +0200
>> J. Fahrner via Dng scripsit:
>>> [ 22.579214] sd 0:0:0:0: [sda] Attached SCSI disk
>>> [ 1145.246051] EXT4-fs (sda1): mounted filesystem with ordered data
>>
>> I see this on RPi, too, just the delay is smaller (~ 30 secs) - but
>> that's anoying, too.
>
> That was my manual mount. The automatic mount did not happen.
Hi,
you could try to stick at various boot stages a little program like this:
__________________________________________________________________________
#include <sys/mount.h>
#include <syslog.h>
#include <errno.h>
#include <string.h>
#include <stdio.h>
int main(int argc, char ** argv)
{
/* Eventually adjust the args to your liking */
if (mount("/dev/sda1", "/hdd", "ext4", 0, NULL) == -1) {
fprintf(stderr, "%s: %s\n", "mymount", strerror(errno));
syslog(LOG_ERR, "%s", strerror(errno));
} else {
fprintf(stderr, "%s: %s\n", "mymount", strerror(errno));
syslog(LOG_INFO, "%s", strerror(errno));
}
return 0;
}
__________________________________________________________________________
Compile with:
gcc -Wall mymount.c -o mymount
This will log error or success to syslog with some hopefully meaningful messages:
Jun 14 17:03:13 devuan kernel: EXT4-fs (sdm1): mounted filesystem with ordered data mode. Opts: (null)
Jun 14 17:03:13 devuan mymount: mymount: Success
Hope this helps.
Ciao,
Tito