From: Yann E. MORIN <yann.morin.1998@free.fr>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH 1/2] busybox: inittab: don't redirect output to /dev/null
Date: Mon, 21 Sep 2015 22:57:08 +0200 [thread overview]
Message-ID: <20150921205708.GF3570@free.fr> (raw)
In-Reply-To: <1442852984-28452-2-git-send-email-luca@lucaceresoli.net>
Luca, All,
On 2015-09-21 18:29 +0200, Luca Ceresoli spake thusly:
> Several inittab steps are redirected to /dev/null. This means any error or
> warning printed by these crucial commands would be hidden from the user.
> There is no evident reason to hide this output, so stop doing that.
>
> Suggested by Thomas Petazzoni:
> http://lists.busybox.net/pipermail/buildroot/2015-September/139146.html
>
> Signed-off-by: Luca Ceresoli <luca@lucaceresoli.net>
> Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Regards,
Yann E. MORIN.
> ---
> package/busybox/inittab | 12 ++++++------
> 1 file changed, 6 insertions(+), 6 deletions(-)
>
> diff --git a/package/busybox/inittab b/package/busybox/inittab
> index b1892c1..24d9199 100644
> --- a/package/busybox/inittab
> +++ b/package/busybox/inittab
> @@ -14,12 +14,12 @@
> # process == program to run
>
> # Startup the system
> -null::sysinit:/bin/mount -t proc proc /proc
> -null::sysinit:/bin/mount -o remount,rw /
> -null::sysinit:/bin/mkdir -p /dev/pts
> -null::sysinit:/bin/mkdir -p /dev/shm
> -null::sysinit:/bin/mount -a
> -null::sysinit:/bin/hostname -F /etc/hostname
> +::sysinit:/bin/mount -t proc proc /proc
> +::sysinit:/bin/mount -o remount,rw /
> +::sysinit:/bin/mkdir -p /dev/pts
> +::sysinit:/bin/mkdir -p /dev/shm
> +::sysinit:/bin/mount -a
> +::sysinit:/bin/hostname -F /etc/hostname
> # now run any rc scripts
> ::sysinit:/etc/init.d/rcS
>
> --
> 1.9.1
>
> _______________________________________________
> buildroot mailing list
> buildroot at busybox.net
> http://lists.busybox.net/mailman/listinfo/buildroot
--
.-----------------.--------------------.------------------.--------------------.
| Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ |
| +33 223 225 172 `------------.-------: X AGAINST | \e/ There is no |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. |
'------------------------------^-------^------------------^--------------------'
next prev parent reply other threads:[~2015-09-21 20:57 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-09-21 16:29 [Buildroot] [PATCH 0/2] Early boot fixes Luca Ceresoli
2015-09-21 16:29 ` [Buildroot] [PATCH 1/2] busybox: inittab: don't redirect output to /dev/null Luca Ceresoli
2015-09-21 20:57 ` Yann E. MORIN [this message]
2015-09-21 16:29 ` [Buildroot] [PATCH 2/2] skeleton: fix absence of /dev/shm on static, read-only systems Luca Ceresoli
2015-09-21 20:59 ` Yann E. MORIN
2015-10-03 13:35 ` [Buildroot] [PATCH 0/2] Early boot fixes Peter Korsgaard
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20150921205708.GF3570@free.fr \
--to=yann.morin.1998@free.fr \
--cc=buildroot@busybox.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox