commit | 2139a7fbf3effd8cad505871e3a3c308780ada32 | [log] [tgz] |
---|---|---|
author | H. Peter Anvin <hpa@zytor.com> | Mon Jun 26 00:28:02 2006 -0700 |
committer | Linus Torvalds <torvalds@g5.osdl.org> | Mon Jun 26 09:58:40 2006 -0700 |
tree | 7697089be2d16bab7b59d9f261bad857649a0a10 | |
parent | 05381954243de2348def8e338ca23fb40a0a721d [diff] |
[PATCH] initramfs overwrite fix This patch ensures that initramfs overwrites work correctly, even when dealing with device nodes of different types. Furthermore, when replacing a file which already exists, we must make very certain that we truncate the existing file. Signed-off-by: H. Peter Anvin <hpa@zytor.com> Cc: Michael Neuling <mikey@neuling.org> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>