From: Jesper Juhl <juhl-lkml@dif.dk>
To: Adrian Bunk <bunk@stusta.de>
Cc: Henrik Nordstrom <uml@hno.marasystems.com>,
Andrew Morton <akpm@osdl.org>,
blaisorblade@yahoo.it, jdike@addtoit.com,
linux-kernel@vger.kernel.org,
user-mode-linux-devel@lists.sourceforge.net
Subject: Re: [uml-devel] Re: [patch 1/6] uml: remove elf.h [ compile-fix, for 2.6.12 ]
Date: Tue, 10 May 2005 22:54:44 +0200 (CEST) [thread overview]
Message-ID: <Pine.LNX.4.62.0505102251060.2386@dragon.hyggekrogen.localhost> (raw)
In-Reply-To: <20050510204048.GX3590@stusta.de>
On Tue, 10 May 2005, Adrian Bunk wrote:
> On Tue, May 10, 2005 at 03:37:33PM +0200, Henrik Nordstrom wrote:
> >...
> > The /dev/null trick only works well for adding files, not removing them.
>
> It works fine for removing files except when they have a zero length.
>
Then a two-patch approach would seem to work as a hack. First patch just
adds a blank line to the file making in non-zero length, second patch then
uses the /dev/null trick to kill the file. A hack? Yes, certainly, but it
sounds like it would work (actually, it does work, just tried it).
--
Jesper Juhl
next prev parent reply other threads:[~2005-05-10 20:54 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-05-09 22:45 blaisorblade
2005-05-10 1:34 ` Andrew Morton
2005-05-10 10:16 ` Blaisorblade
2005-05-10 13:37 ` [uml-devel] " Henrik Nordstrom
2005-05-10 20:40 ` Adrian Bunk
2005-05-10 20:54 ` Jesper Juhl [this message]
2005-05-10 18:06 ` Andrea Arcangeli
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=Pine.LNX.4.62.0505102251060.2386@dragon.hyggekrogen.localhost \
--to=juhl-lkml@dif.dk \
--cc=akpm@osdl.org \
--cc=blaisorblade@yahoo.it \
--cc=bunk@stusta.de \
--cc=jdike@addtoit.com \
--cc=linux-kernel@vger.kernel.org \
--cc=uml@hno.marasystems.com \
--cc=user-mode-linux-devel@lists.sourceforge.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
all inboxes | Powered by JetHome®