[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Busybox in Debian



On Mon, 2017-08-14 at 14:55 +0200, Denys Vlasenko wrote:
> On Sat, Aug 12, 2017 at 4:15 PM, Ben Hutchings <ben@decadent.org.uk>
> wrote:
> > On Fri, 2017-08-11 at 14:54 -0400, Chris Boot wrote:
> > [...]
> > > - The default initramfs assembly system, initramfs-tools, incorporates
> > > busybox into the initramfs and it's used until the root filesystem (and
> > > /usr if separate) is mounted and can be pivot_rooted into. We also use
> > > parts of klibc in the initramfs, and I'm not yet entirely clear what
> > > tools in the initramfs are klibc tools, busybox applets or executables
> > > copied from the running system.
> > 
> > [...]
> > 
> > If initramfs-tools is configured to use busybox, busybox installs all
> > its commands and then klibc-utils installs any commands that are not
> > already there.  So for any command that they both implement, the
> > busybox implementation is used.
> 
> Do you have a list of tools klibc-utils installs?

If busybox is used, then klibc-utils provides these:

chroot
fstype
halt
ipconfig
losetup
minips
nfsmount
nuke
pivot_root
poweroff
reboot
resume
run-init

(not all of which are actually used).

Ben.

-- 
Ben Hutchings
Life is what happens to you while you're busy making other plans.
                                                          - John Lennon

Attachment: signature.asc
Description: This is a digitally signed message part


Reply to: