tech-userlevel archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

RE: two modifications to dd(1)



<tsugutomo.enami%jp.sony.com@localhost> wrote:
>1) Copy argument before modifying it so that ps(1) shows entire
>   options.

wrt this, is it worth not exiting for strdup() failure? I mean, the 
consequences are not fatal because we can fall back to using the argv string 
directly..

(i don't know if the program would successfully continue in such a low memory 
instance, but dd is a rescue tool..)

iain


Home | Main Index | Thread Index | Old Index