Messages in this thread | | | Date | Tue, 10 May 2005 22:54:44 +0200 (CEST) | From | Jesper Juhl <> | Subject | Re: [uml-devel] Re: [patch 1/6] uml: remove elf.h [ compile-fix, for 2.6.12 ] |
| |
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
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |