Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.maint.boot > #54162

Re: Busybox in Debian

From Denys Vlasenko <vda.linux@googlemail.com>
Newsgroups linux.debian.maint.boot
Subject Re: Busybox in Debian
Date 2017-08-14 17:10 +0200
Message-ID <uepaa-5HJ-17@gated-at.bofh.it> (permalink)
References (2 earlier) <udnk6-76s-13@gated-at.bofh.it> <udFqF-1Rz-13@gated-at.bofh.it> <ueni2-4zq-15@gated-at.bofh.it> <ueni2-4zq-13@gated-at.bofh.it> <uenUL-4MF-39@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


>> ipconfig

Looks like it is used to run DHCP / BOOTP / RARP
on several interfaces, including a possibility
to run it on _all_ existing interfaces
(excluding loopback and point-to-point).
I see how this can be useful during boot.


>> minips

It's just mini-ps. Proliferation of reinvented tools
with slightly different names.


>> nuke

This is "rm -rf -- FILE". Should not be necessary.


>> resume

Writes "maj:min:offset" to /sys/power/resume.
Looks like this is support for resume from disk?


>> run-init

This tool is doing this:

Usage: exec run-init [-d caps] [-c consoledev] /real-root /sbin/init [args]
/*
 * run_init(realroot, consoledev, drop_caps, init, initargs)
 *
 * This function should be called as the last thing in kinit,
 * from initramfs, it does the following:
 *
 * - Delete all files in the initramfs;
 * - Remounts /real-root onto the root filesystem;
 * - Chroots;
 * - Drops comma-separated list of capabilities;
 * - Opens /dev/console;
 * - Spawns the specified init program (with arguments.)
 *
 * On failure, returns a human-readable error message.
 */

There is the "switch_root" tool in util-linux which does the
crucial part of this functionality - deleting / remounting / chrooting.
It is in bbox too.



If you want "resume" and "ipconfig" in bbox, I can do that.

Back to linux.debian.maint.boot | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Busybox in Debian Chris Boot <bootc@debian.org> - 2017-08-11 19:10 +0200
  Re: Busybox in Debian Denys Vlasenko <vda.linux@googlemail.com> - 2017-08-11 20:40 +0200
    Re: Busybox in Debian Chris Boot <bootc@debian.org> - 2017-08-11 21:00 +0200
      Re: Busybox in Debian Ben Hutchings <ben@decadent.org.uk> - 2017-08-12 16:20 +0200
        Re: Busybox in Debian Ben Hutchings <ben@decadent.org.uk> - 2017-08-14 15:10 +0200
          Re: Busybox in Debian Denys Vlasenko <vda.linux@googlemail.com> - 2017-08-14 15:50 +0200
            Re: Busybox in Debian Denys Vlasenko <vda.linux@googlemail.com> - 2017-08-14 17:10 +0200
              Re: Busybox in Debian Ben Hutchings <ben@decadent.org.uk> - 2017-08-14 17:20 +0200
                Re: Busybox in Debian Denys Vlasenko <vda.linux@googlemail.com> - 2017-08-18 21:10 +0200
                Re: Busybox in Debian Denys Vlasenko <vda.linux@googlemail.com> - 2017-08-21 20:00 +0200
                Re: Busybox in Debian Ben Hutchings <ben@decadent.org.uk> - 2017-08-21 20:40 +0200
                Re: Busybox in Debian Denys Vlasenko <vda.linux@googlemail.com> - 2017-08-22 11:00 +0200
                Re: Busybox in Debian Ben Hutchings <ben@decadent.org.uk> - 2017-08-23 02:50 +0200
                Re: Busybox in Debian Denys Vlasenko <vda.linux@googlemail.com> - 2017-08-23 15:00 +0200
                Re: Busybox in Debian Ben Hutchings <ben@decadent.org.uk> - 2017-08-26 02:20 +0200
                Re: Busybox in Debian Denys Vlasenko <vda.linux@googlemail.com> - 2018-01-14 17:30 +0100
        Re: Busybox in Debian Denys Vlasenko <vda.linux@googlemail.com> - 2017-08-14 15:20 +0200

csiph-web