Tiny Core Linux
Tiny Core Base => TCB Q&A Forum => Topic started by: bigpcman on May 12, 2010, 07:59:32 PM
-
As of tc2.11 we have the following:
* Updated tc-config waitusb added optional LABEL/UID, e.g. waitusb=30:LABEL=tinycore
Please remind me how this works.
I read thread http://forum.tinycorelinux.net/index.php?topic=5584.msg29883#msg29883 (http://forum.tinycorelinux.net/index.php?topic=5584.msg29883#msg29883) but I don't get how LABEL=tinycore relates to a "blkid" . Does this example simply look for the tc file system to be mounted? Is the label the name of the usb partition?
-
I just tried this option.
I named the usb stick label 'tinycore' (which because of VFAT turned out to be 'TINYCORE'), changed the boot code and observed it booted in about 4s. I stuck a 20s timeout in there and it used up 4s before the usb stick was recognized.
-
The FAQ ( http://www.tinycorelinux.com/faq.html#pendrives ) explains how to write a label to a device.
-
It polls for any block device with that label, exits immediately if found. If not, it waits the specified timeout.