LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 12-10-2011, 12:11 PM   #1
hpfeil
Member
 
Registered: Nov 2010
Location: Tucson, Arizona US
Distribution: Slackware Current
Posts: 354
Blog Entries: 1

Rep: Reputation: Disabled
Question Obsolete parameter in login.defs (env_hz)?


I tried to hunt down the purpose of the HZ environment variable and why it was set to "100." I finally stumbled upon this entry in /etc/login.defs: ENV_HZ HZ=100. That gave me another search option, but all I found were man pages for login.defs, no explanation of just what HZ=100 or why HZ=1024 for Linux/Alpha. My default search keywords include +2011, since I'm usually looking for info on current versions, not decades-old history. Dropping that restriction led me to a 1992 version of getdef.c, also a 2005 bug discussion for debian in which someone said it was obsoleted by PAM, someone else said it was a relic of the ftape days and if anyone found a program that still uses it they should file a bug.

Long-winded preface aside, may I humbly suggest we just comment out that ENV_HZ line? If we decide the parameter has some historic value, it might be a smart idea to add an explanation of why it is there among the comments. Or, perhaps just delete that section in a future release? Or just ignore this enigma, since it doesn't have any effect whether it is defined or not.
 
Old 12-10-2011, 12:46 PM   #2
Richard Cranium
Senior Member
 
Registered: Apr 2009
Location: McKinney, Texas
Distribution: Slackware64 15.0
Posts: 3,858

Rep: Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225Reputation: 2225
Quote:
HZ On platforms without itimer, this can be used to set clock resolution
See and scroll down until you find it.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
umask & /etc/login.defs gepesz Linux - Software 2 09-04-2011 03:02 AM
I deleted login.defs by a mistake :( mortinoi Slackware 8 05-07-2010 01:57 PM
How to activate FAIL_DELAY in /etc/login.defs ukursat Linux - Security 9 05-15-2007 01:47 AM
/etc/login.defs binary_0011 Linux - Newbie 1 11-06-2006 08:44 PM
Startup script=/etc/login.defs? ~zoey~ Linux - Newbie 2 11-12-2004 11:44 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 10:54 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration