I just acquired a top-quality Chinese USB hub with 3 USB sockets and some memory card slots, just the thing to add to an HD-Fox T2 setup.
Using this to host a USB stick (sometimes referred to here as a USB pen drive) with CF packages installed together with a WLAN dongle results in ignoral of the stick which has appeared as sdb1.
In this particular configuration that means that the WLAN connection doesn't come up automatically, and other magic like tunefix-update doesn't work (and wouldn't even with a wired connection).
Apparently the init script S60mdev causes /etc/mdev/run-and-gun to be called with MDEV=/dev/sdb1 and ACTION=add, which would kick off the initialisation of /mod on the drive, except that it only looks for /dev/sda1.
As a work-around I created a 00run-and-gun specialised to this case in /mod/boot/xinit.d, which cracked the problem. However this is rather unwieldy for what ought to be a "configuration file".
It might be undesirable for the CF to initialise every /mod found on mounted disks, but the test in /etc/mdev/run-and-gun for the HD seems too restrictive.
The HDR case looks for any second partition ~ /sd.2/.
Wouldn't it be reasonable for the HD case to do something similar but ~/sd.1/ ?
Using this to host a USB stick (sometimes referred to here as a USB pen drive) with CF packages installed together with a WLAN dongle results in ignoral of the stick which has appeared as sdb1.
In this particular configuration that means that the WLAN connection doesn't come up automatically, and other magic like tunefix-update doesn't work (and wouldn't even with a wired connection).
Apparently the init script S60mdev causes /etc/mdev/run-and-gun to be called with MDEV=/dev/sdb1 and ACTION=add, which would kick off the initialisation of /mod on the drive, except that it only looks for /dev/sda1.
As a work-around I created a 00run-and-gun specialised to this case in /mod/boot/xinit.d, which cracked the problem. However this is rather unwieldy for what ought to be a "configuration file".
It might be undesirable for the CF to initialise every /mod found on mounted disks, but the test in /etc/mdev/run-and-gun for the HD seems too restrictive.
The HDR case looks for any second partition ~ /sd.2/.
Wouldn't it be reasonable for the HD case to do something similar but ~/sd.1/ ?