WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: programs which could be in busybox  (Read 5944 times)

Offline nick65go

  • Hero Member
  • *****
  • Posts: 820
programs which could be in busybox
« 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 ?
« Last Edit: April 16, 2020, 02:29:19 PM by nick65go »

Offline nick65go

  • Hero Member
  • *****
  • Posts: 820
Re: programs which could be in busybox
« Reply #1 on: April 16, 2020, 06:08:49 PM »
oh, exception: blkid (is just a stub for UUDI in busybox, not usefull) and tune2fs (not implemented yet in busybox).

Offline curaga

  • Administrator
  • Hero Member
  • *****
  • Posts: 11027
Re: programs which could be in busybox
« Reply #2 on: April 17, 2020, 03:29:57 AM »
busybox's ext2 utils are not as featureful, they are very old and stripped versions.
The only barriers that can stop you are the ones you create yourself.

Offline nick65go

  • Hero Member
  • *****
  • Posts: 820
Re: programs which could be in busybox
« Reply #3 on: April 17, 2020, 12:33:25 PM »
right, so then viceversa, maybe fsck.ext2 and mkfs.ext2 should not be compiled inside busybox, to save size and avoid redundant functionality?

Offline curaga

  • Administrator
  • Hero Member
  • *****
  • Posts: 11027
Re: programs which could be in busybox
« Reply #4 on: April 17, 2020, 01:01:55 PM »
They aren't? What is enabled is fsck, which is the general binary that calls fs-specific fscks.
The only barriers that can stop you are the ones you create yourself.

Offline SonnyWalkman

  • Newbie
  • *
  • Posts: 5
Re: programs which could be in busybox
« Reply #5 on: July 10, 2024, 02:41:27 AM »
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?

Offline curaga

  • Administrator
  • Hero Member
  • *****
  • Posts: 11027
Re: programs which could be in busybox
« Reply #6 on: July 10, 2024, 04:11:22 AM »
Busybox's lspci just lists the numbers. It's not very useful. The main package uses the large db to print names.
The only barriers that can stop you are the ones you create yourself.

Offline mocore

  • Hero Member
  • *****
  • Posts: 616
  • ~.~
Re: programs which could be in busybox
« Reply #7 on: August 31, 2024, 05:09:55 AM »
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.