>       - I get "Cannot build, -245 sectors free!"
>
> I can't see what the problem is, since I have 20+ MB free on /mnt/hd.

That is space on the floppy, not on the hard drive, which has only a few K.

>       set: Illegal option -C
>       mktemp: not found
>       cannot create temporary file

It looks like it tries to exec a shell and depends on bash and mktemp, or
something similarly very ugly.  It isn't pretty when a statically linked
executable depends on running commands from a shell...

> Does anyone have shred (or similar) working under tomsrtbt? Is it just
> a  missing mktemp binary, or is this more of a library problem? Any

Probably not a library problem.

I think it should be very, very trivial to combine "dd" with "/dev/zero"
or "/dev/urandom" or "/dev/random" and maybe "filesize" or "lua" to make
something as good.  Does just opening a file for truncate/write overwrite
it?  Probably not necessarily.  Use lua.  Lua allows opening a file in
random access update mode.  You can probably do it in less than 80 bytes.

-Tom


Reply via email to