Hello!
I've found a bug (you may call it mis-feature
).
When I boot from CD after TCL has been installed on HDD, system mounts tce folder from that HDD ignoring the same folder on CD.
So I've decided to specify it with boot option 'tce=LABEL=TinyCore/tce'. This volume label ('TinyCore') is created with mkisofs option -V while remastering image.
But such trick doesn't work! As I can see, /sbin/blkid is responsible for disk detection and it checks /etc/blkid.tab cache file which, in turn, doesn't contain records for my CD yet. I don't know why it was not found on cache creation, but if I rebuild it later in find_mountpoint() function, all goes well.
Test case (QEMU with tinycore_3.0.iso as CDROM):
$ /sbin/blkid -lt LABEL=TinyCore -o device
[empty]
$ sudo /sbin/blkid -w /etc/blkid.tab /dev/hd? /dev/sd?
$ /sbin/blkid -lt LABEL=TinyCore -o device
/dev/hdc
Maybe it's a good idea to insert somewhere this blkid -w command? (See my patch).