To make sure I commented out the line calling /sbin/rescan-scsi-bus in INSUSB: same result, the slackware directory is not found.
But I forgot to tell that I used another (not partitioned) USB key as installation media and noticed that after I run INSUSB the installation key (not the one with the packages) was mounter under /usb-stick. So, it seems that as the installation key is the first listed in $REMOVEABLE_DEVICES but contains no partition, INSUSB tries to munt it as unpartitioned:
Code:
mount /dev/$DEVICE /usb-stick 1> /dev/null 2> /dev/null
Mount succeeds, though kernel complains verbosely it can't find any fileystem on the device (which is right), but of course there is no Slackware directory on it, so it says "NO SLACKWARE DIRECTORY FOUND" (In French here :-).
PS the key with the packages is well recognized by the kernel and shows in /proc/partitions as in /sys/block (with removable=1).
PPS. Stupid me: this was caused by an architecture misfit between the installer and the USB key containing the packages, so "mv slackware64 slackware" did the trick. Maybe because in slint I overlooked differences in INSUSB for 32 and 64 bit, or I mistakenly copied one over the other, I will check and correct that then.
PPPS. Yes I had the same (internationalized) file for both archs, my mistake. Messages in both genuine files are identical so no more translation is needed (but maybe a warning could be added, like "a slackware directory was found, but not for the same architecture as the installer"?) Yes, that would complicate things a bit though.