Tiny Core Linux
Tiny Core Base => TCB Bugs => Topic started by: danielibarnes on April 27, 2011, 01:54:22 PM
-
While experimenting with tc-functions I encountered something that seems like a bug. The function autoscan-devices returns: sda1 sr0 tcvd on my system. I use tcvd, and my extension directory is tcvd/tce3. The autoscan function iterates through this list of three devices, and "find_mountpoint sr0" actually returns "/mnt/tcvd" (I don't have a CD in the drive). It seems as though it should return an empty string because no disc is mounted, and I suspect it does if tcvd is not used.
This is a problem because $(autoscan tce3 d) returns sr0 instead of tcvd, which means that autoscanning for a directory within tcvd does not work. This doesn't affect me, but I thought I'd mention it anyway.
-
tcvd was not intended for extensions, but as a hybrid /usr/local on a virtual drive.
However, this hybrid tclocal has pretty much been orphaned. It will make for good fodder to be revisited and retooled for extensions for v3.7
-
tcvd was not intended for extensions, but as a hybrid /usr/local on a virtual drive.
I find it very useful with Tiny Core on FAT filesystems, especially when you can't repartition them to make space for TC. I have a USB flash drive where Tiny Core coexists with other files. I created a tcvd.img and stored all of my Linux files in it. This allows me to use the rest of the flash drive for other things. I could partition the usb drive into separate ext2 and FAT partitions I suppose, but this approach made backing everything up as easy as copying my tcvd.img file.
-
Agreed. That's how I had it setup when I called it harddisk back in myDSL days.
I will retool it and have that boot code on the 'f' boot options screen for 3.7.
-
Found reported issue and fixed it. Thanks for reporting!