The FreeBSD Diary

The FreeBSD Diary (TM)

Providing practical examples since 1998

If you buy from Amazon USA, please support us by using this link.
[ HOME | TOPICS | INDEX | WEB RESOURCES | BOOKS | CONTRIBUTE | SEARCH | FEEDBACK | FAQ | FORUMS ]
Article Feedback - Get your name in the kernel!
 New Topic  |  Go to Top  |  Go to Topic  |  Search  |  Log In   Previous Message  |  Next Message 
 changing more text
Author: Mike Raymer 
Date:   28-10-01 19:11

(posted by Dan Langille)

In your article, you talked about how to get your name in your
kernel when performing a uname -a. I've played around with
this as well and in fact, you can change quite a bit of the text.
You just need to edit the right file prior to compiling your kernel.

After editing my kernel file, named KERNEL, and doing the
config KERNEL, change directory to ../../compile/KERNEL.
Once there, use vi, or your editor of choice, and make your
changes to the file vers.c You can edit the name (as you were
doing), the version number and even the OS name (why would
anyone want to hide the fact they run the best operating system
available?). Then proceed with the remainder of compiling your
kernel, make depend && make && make install.

Anyway, thought this might tie into your article and allow you to
customize some aspects of the system output.

If I'm mistaken in what you were attempting to do, then I apologize for not reading the article thoroughly

 Reply To This Message  |  Forum List  |  Flat View   Newer Topic  |  Older Topic 

 Topics Author  Date
 changing more text   new
Mike Raymer 28-10-01 19:11 


 Forum List  |  Need a Login? Register Here 
 User Login
 User Name:
 Password:
 Remember my login:
   
 Forgot Your Password?
Enter your email address or user name below and a new password will be sent to the email address associated with your profile.
How to get the most out of the forum

phorum.org