Tiny Core Linux
Tiny Core Base => Micro Core => Topic started by: nick65go on April 16, 2020, 02:25:20 PM
-
I had a look into TC11_X64. TinyCorePure64-11.1.iso\boot\corepure64.gz\corepure64.cpio\sbin\
fsck.ext2 is a link to busybox. Why we need also e2fsk (268KB) ?
mkfs.ext2 is a link to busybox. Why we need also mk2fs.ext2 (110 KB)?
blkid (80 KB) could be an appleet inside busybox. Will it male busybox lager with more than 80 KB?
Maybe the same for tune2fs ?
-
oh, exception: blkid (is just a stub for UUDI in busybox, not usefull) and tune2fs (not implemented yet in busybox).
-
busybox's ext2 utils are not as featureful, they are very old and stripped versions.
-
right, so then viceversa, maybe fsck.ext2 and mkfs.ext2 should not be compiled inside busybox, to save size and avoid redundant functionality?
-
They aren't? What is enabled is fsck, which is the general binary that calls fs-specific fscks.
-
Now, Pi hardware and X86 for that case have PCIe hardware, could we add lspci to busybox?
I know there is a TCZ package however, having it included in busybox IMHO be the correct place for it?
-
Busybox's lspci just lists the numbers. It's not very useful. The main package uses the large db to print names.
-
Busybox's lspci just lists the numbers. It's not very useful. The main package uses the large db to print names.
perhaps see also : "ahwd - A sh alternative to lsusb and lspci" https://forum.tinycorelinux.net/index.php/topic,24445.0.html
wrt the databases
How to use ahwd ?
Just get the script, download http://www.linux-usb.org/usb.ids and https://pci-ids.ucw.cz/v2.2/pci.ids.
Keep these 3 in same dir and see the magic happen.