Difference between revisions of "Talk:Initscripts/rc.conf"

From ArchWiki
Jump to: navigation, search
(Blacklisting deprecated?: rm old discussion)
(Netcfg configuration deprecated?: rm closed discussion)
Line 23: Line 23:
ret = (adjtime.local_utc != LOCAL);
ret = (adjtime.local_utc != LOCAL);
== <s>Netcfg configuration deprecated?</s> ==
Please write about this in arch way.
:[https://wiki.archlinux.org/index.php?title=Rc.conf&diff=201310&oldid=199344 Done]. -- [[User:Karol|Karol]] ([[User talk:Karol|talk]]) 22:39, 13 May 2012 (UTC)

Revision as of 16:25, 27 July 2012

Deprecated options suggestion

As rc.conf is a major wiki article and I don't want to waste everyone's time making changes that are not desirable, I'd like to open a discussion about listing deprecated options. Mentioning UDEV_TIMEOUT on forums initiated a developer response, stating that the option is no longer usable. There was no reference on rc.conf wiki anymore, and such information can be easily missed while updating. This brought me to an idea that deprecated options could be listed on wiki, to make people aware that their functionality has been dropped, and perhaps linking to a way to replace it if one is known. Provided that such information would be properly labeled not to cause any confusion, I can't see any real downsides to it, though I'm not entirely sure that listing obsolete information in this way is desirable. Please share your thoughts. - Meph 20:40, 23 January 2012 (EST)

My opinion: only if necessary (in situations like yours). --AlexanderR 21:58, 23 January 2012 (EST)
I can't see any real downsides either, I'd just create a separate section for deprecated options, and make sure to write the last version of initscripts where the option was present, so that in the future it will be possible to remove the options which have been deprecated for too long. Also a brief description of the purpose of the section may prevent somebody from deleting it in case they think it's useless. -- Kynikos 06:43, 24 January 2012 (EST)

HARDWARECLOCK random string

Four options are given for HARDWARECLOCK. UTC, localtime, an empty string, and any other value. From experience, any other value behaves the same as an empty string. hwclock's source code seems to confirm this.--Stijn 18:04, 17 April 2012 (EDT)

hwclock.c 230-236
	if (utc)
		ret = TRUE;	/* --utc explicitly given on command line */
	else if (local_opt)
		ret = FALSE;	/* --localtime explicitly given */
		/* get info from adjtime file - default is UTC */
		ret = (adjtime.local_utc != LOCAL);