Re: proc entry for actual kernel filename

Michael B. Trausch (mtrausch@wcnet.org)
Mon, 14 Jun 1999 21:41:16 -0400 (EDT)


-----BEGIN PGP SIGNED MESSAGE-----

On Mon, 14 Jun 1999, Mike Bennett wrote:
>
> version that I can parse. Has anyone ever thought of creating a /proc
> entry with the actual filename? Perhaps it's a more difficult task
>

Hm.. I'm just learning C and starting to read through the kernel source to
try to learn things and study the source to get to know how it works.. but
can't you use argv[0] in the kernel and put that on the proc filesystem?

Or is there some completely obvious answer as to why this coundn't be
done...?

- ----------------------------------------------------------------------------
Michael B. Trausch
President of Linux Operations, ADK Computers http://adk.hypermart.net/
- ----------------------------------------------------------------------------
PGP Public Key is available at hkp://keys.pgp.com/mtrausch@wcnet.org, or at:
http://wcnet.org/~mtrausch/pubkey.txt
- ----------------------------------------------------------------------------
ADK Computers, Walbridge Office E-Mail: mtrausch@wcnet.org
- ----------------------------------------------------------------------------

Customer: I'm running Windows '98 Tech: Yes. Customer: My computer isn't
working now. Tech: Yes, you said that.

-----BEGIN PGP SIGNATURE-----
Version: PGPfreeware 5.0i for non-commercial use
Charset: noconv

iQCbAwUBN2WvSHNd0YT7jYpVAQEAgAQtE9DBSwOpNI0YZIRTe0Tb7oPyfBSokez9
7xCJaFUtckEam3aupapP0MFek43Fjki71TcLeTncPx90Fgou+HvnUWHQpxmu6Bp/
KGpqIvs6C83FUtHPiwwmoXSFHeSbPp/ZeQmfRCqEOthjNWGEIbaHWhtgWcBUQjLB
cUY927uYkFYUkDnFs38=
=xbaF
-----END PGP SIGNATURE-----

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/