Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 28 Feb 2001 00:33:42 +0100 (CET)
From:      leifn@neland.dk
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   docs/25437: Suggest having kernel configs as symlinks out of /usr/src
Message-ID:  <200102272333.f1RNXgt33452@gina.neland.dk>

next in thread | raw e-mail | index | archive | help

>Number:         25437
>Category:       docs
>Synopsis:       kernel configs are the only precious files in /usr/src/sys
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-doc
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Tue Feb 27 15:40:01 PST 2001
>Closed-Date:
>Last-Modified:
>Originator:     Leif Neland
>Release:        FreeBSD 5.0-CURRENT i386
>Organization:
>Environment:
System: FreeBSD gina.neland.dk 5.0-CURRENT FreeBSD 5.0-CURRENT #9: Tue Feb 20 07:08:53 CET 2001 root@gina.neland.dk:/usr/obj/usr/src/sys/GINA i386


>Description:
	/usr/src can be considered as not important to backup, as it can
just be cvsup'ped again.
Sometime it is suggested to remove /usr/src and cvsup it if it is believed
to be hosed.

However, kernel config files is usually stored in /usr/src/sys/i386/conf,
and it is easy to forget to take backup of the kernel configs.

If the config files were just symlinks to somewhere more safe, like
/etc/kernconf, or /usr/local/etc/kernconf eg, it would be more difficult to
shoot oneself in the foot.


>How-To-Repeat:
	rm -r /usr/src/sys
	cvsup
	cd /usr/src/sys/i386/conf
	config MYVERYSPECIALKERNELCONFIGITTOOKLONGTIMETOMAKE
	curse :-)

>Fix:

	
	Either just make the suggestion in a manual, or (more agressively)
	make config complain if the configfile is not a symlink.

	Just as config hints "Don't forget to do a 'make depend'", it could 
	hint "It would be safer to have the kernel config be a symlink
	to outside /usr/src". 
>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-doc" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200102272333.f1RNXgt33452>