From: Seewer Philippe <philippe.seewer-omB+W0Dpw2o@public.gmane.org>
To: David Dillow <dave-i1Mk8JYDVaaSihdK6806/g@public.gmane.org>
Cc: Dave Jones <davej-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>,
Warren Togami <wtogami-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>,
Bill Nottingham <notting-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>,
"<initramfs-u79uwXL29TY76Z2rM5mHXA@public.gmane.org>"
<initramfs-u79uwXL29TY76Z2rM5mHXA@public.gmane.org>
Subject: Re: [PATCH] Get rid of cat and grep
Date: Fri, 5 Jun 2009 21:37:33 +0200 [thread overview]
Message-ID: <4A2973FD.1030305@bfh.ch> (raw)
In-Reply-To: <1244227068.6963.37.camel-FqX9LgGZnHWDB2HL1qBt2PIbXMQ5te18@public.gmane.org>
David Dillow wrote:
> On Fri, 2009-06-05 at 14:21 -0400, Dave Jones wrote:
>> Just because the scripts don't use it, doesn't mean it doesn't have
>> value in the initramfs. Being dropped to a rescue shell and not
>> being able to cat files for diagnostics is sort of annoying.
>
> So build cat as a shell function :)
>
> More seriously, I agree it is helpful to have some tools available when
> trying to debug, or develop dracut. But when I move this into production
> in a cluster here, I'm going to want my image as lean as I can get it.
>
> What do you think of making a module, say 99useful-tools, what installs
> various tools that would be helpful, and have it installed by default.
> That way, it is easy to have the best of both worlds.
Not quite. Since 99useful-tools (or 95debug come to that) would have to
be pulled in as a dependency if your module-scripts use tools from there.
debugging on the console: yes, I agree completely. Inside scripts:
Please use only if there's no other (readable) way.
--
To unsubscribe from this list: send the line "unsubscribe initramfs" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
next prev parent reply other threads:[~2009-06-05 19:37 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-06-05 11:56 [PATCH] Get rid of cat and grep Seewer Philippe
[not found] ` <4A2907E7.1080008-omB+W0Dpw2o@public.gmane.org>
2009-06-05 13:39 ` Harald Hoyer
[not found] ` <4A292005.4000404-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
2009-06-05 13:40 ` Seewer Philippe
2009-06-05 14:43 ` David Dillow
[not found] ` <1244213032.6963.1.camel-FqX9LgGZnHWDB2HL1qBt2PIbXMQ5te18@public.gmane.org>
2009-06-05 14:59 ` Harald Hoyer
2009-06-05 15:58 ` Bill Nottingham
[not found] ` <20090605155832.GH5107-Zdt1ptygihhQcNjhGXsBABcY2uh10dtjAL8bYrjMMd8@public.gmane.org>
2009-06-05 16:03 ` Warren Togami
[not found] ` <4A2941CD.1070709-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
2009-06-05 18:11 ` Seewer Philippe
[not found] ` <4A295FB4.6020306-omB+W0Dpw2o@public.gmane.org>
2009-06-05 18:21 ` Dave Jones
[not found] ` <20090605182106.GA26921-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
2009-06-05 18:23 ` Warren Togami
2009-06-05 18:37 ` David Dillow
[not found] ` <1244227068.6963.37.camel-FqX9LgGZnHWDB2HL1qBt2PIbXMQ5te18@public.gmane.org>
2009-06-05 18:45 ` Victor Lowther
[not found] ` <759A4D42-1B71-438B-A361-4CFCB6E289E7-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2009-06-05 18:57 ` David Dillow
2009-06-05 19:37 ` Seewer Philippe [this message]
2009-06-05 16:16 ` Victor Lowther
[not found] ` <E0B0F7E0-7880-4219-AE91-B7305665424D-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2009-06-05 16:38 ` Bill Nottingham
[not found] ` <20090605163828.GA7041-Zdt1ptygihhQcNjhGXsBABcY2uh10dtjAL8bYrjMMd8@public.gmane.org>
2009-06-05 16:46 ` Harald Hoyer
2009-06-05 16:51 ` David Dillow
2009-06-05 16:20 ` Victor Lowther
[not found] ` <8E821C8B-E7E8-4F71-ACCF-872B463AE3FF-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2009-06-05 16:49 ` David Dillow
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=4A2973FD.1030305@bfh.ch \
--to=philippe.seewer-omb+w0dpw2o@public.gmane.org \
--cc=dave-i1Mk8JYDVaaSihdK6806/g@public.gmane.org \
--cc=davej-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org \
--cc=initramfs-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
--cc=notting-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org \
--cc=wtogami-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org \
/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