Re: argv0 revisited...

From: DervishD (raul@pleyades.net)
Date: Wed Jan 15 2003 - 15:22:54 EST


    Hi Miquel :)

> Why not make that INIT=/what/ever, then make this /sbin/init:

    I cannot force the users to do that :(( I think that I could
hardcode the name in the binary. The problem with this is that the
user may move around the binary afterwards...

    I can't find a way to get the on-disk name from the core image
:(( Uff, this is getting way complicated, just for a pretty printing
of the proc titles.

    Thanks for the suggestion, anyway :)) You're great.

    Raśl

-
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/



This archive was generated by hypermail 2b29 : Wed Jan 15 2003 - 22:00:55 EST