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


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

Re: Busybox in Debian

From Ben Hutchings <ben@decadent.org.uk>
Newsgroups linux.debian.maint.boot
Subject Re: Busybox in Debian
Date 2017-08-14 17:20 +0200
Message-ID <uepjP-5KP-1@gated-at.bofh.it> (permalink)
References (3 earlier) <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> <uepaa-5HJ-17@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


[Multipart message — attachments visible in raw view] - view raw

On Mon, 2017-08-14 at 16:42 +0200, Denys Vlasenko wrote:
[...]
> > > minips
> 
> It's just mini-ps. Proliferation of reinvented tools
> with slightly different names.

It's not a POSIX-compliant ps implementation.  Anyway, initramfs-tools
doesn't need it.

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

klibc-utils doesn't implemnt rm, only nuke.  busybox could install nuke
in the initramfs as a wrapper for rm.

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

Correct.

> > > run-init
> 
> This tool is doing this:
[...]
> 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.

initramfs-tools used to use switch_root if possible, but it didn't
support the -d (drop capabilities) option.  Later on we needed
validation of the init filename to support symlinks (e.g. /sbin/init ->
/lib/systemd/systemd), so I added and used the -n (dry run) option to
run-init.  busybox would need to support both of these.

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

Go for it.

Ben.

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

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