uci show fstab; block info
fstab.@global[0]=global
fstab.@global[0].anon_swap='0'
fstab.@global[0].anon_mount='0'
fstab.@global[0].auto_swap='1'
fstab.@global[0].auto_mount='1'
fstab.@global[0].delay_root='5'
fstab.@global[0].check_fs='0'
fstab.@mount[0]=mount
fstab.@mount[0].target='/mnt/sda2'
fstab.@mount[0].uuid='122f58e9-a341-4854-a440-53230f2c23af'
fstab.@mount[0].enabled='0'
-ash: block: not found
If the external drive fails to mount, logs will be written to internal flash under /mnt until the jffs is full.
Avoid this by either making the mount point under /tmp or using two levels of directory, e.g. have /logs/ on the drive which becomes /mnt/logs/ when the drive is mounted, and does not exist (thus log files will fail to write, if the logging program doesn't create directories) when the drive is not mounted.
Mon Jan 11 05:15:07 2021 daemon.err block: No "mount.ext4" utility available
Mon Jan 11 05:15:07 2021 daemon.err block: mounting /dev/sda2 (ext4) as /mnt/sda2 failed (25) - Not a tty