[Ilugc] uname
- From: gopu.bhaskar@xxxxxxxxx (gopu.bhaskar@xxxxxxxxx)
- Date: Wed Jun 23 15:02:07 2004
#uname
linux
but, in place of linux i want
another word like venu, how?
The uname utility I guess would inturn call the uname function.
I think the uname function is a syscall, going though the glibc
Code should confirm that.
In the file /usr/include/linux/uts.h
(/lib/modules/`uname -r`/build/include/linux/uts.h),
the following can be found.
/*
* Defines for what uname() should return
*/
#ifndef UTS_SYSNAME
#define UTS_SYSNAME "Linux"
#endif
I feel that changing this entry and recompiling the kernel should work.
HTH,
Gopu.
Confidentiality Notice
The information contained in this electronic message and any attachments to
this message are intended
for the exclusive use of the addressee(s) and may contain confidential or
privileged information. If
you are not the intended recipient, please notify the sender at Wipro or
Mailadmin@xxxxxxxxx immediately
and destroy all copies of this message and any attachments.
Other related posts: