[klibc] "Destructive" utilities
H. Peter Anvin
hpa at zytor.com
Mon Jun 7 14:43:12 PDT 2004
Alexander E. Patrakov wrote:
> The following threads suggest that the way to reclaim memory occupied by
> initramfs is to remove files from it:
>
> http://groups.google.com/groups?hl=en&lr=&ie=UTF-8&frame=right&th=c6cb846bba1a7aea&seekm=SAUO.51B.21%40gated-at.bofh.it#link1
>
> http://seclists.org/lists/linux-kernel/2003/Dec/0707.html
>
> However, there is no way to do it using utilities provided by klibs.
>
> Could you please include the "unlink" and "rmdir" programs into the
> distribution? Just put the attached *.c files in klibc/utils and adjust
> the PROGS target in the Makefile there.
>
I just added a "nuke" program, which does the equivalent of "rm -rf". Do we
also need unlink/rmdir?
The nuke program is in klibc-0.122.
-hpa
More information about the klibc
mailing list