Date: Sat, 17 Nov 2007 10:52:32 +0100 From: Roland Smith <rsmith@xs4all.nl> To: "J. Porter Clark" <jpc@porterclark.com> Cc: freebsd-questions@freebsd.org Subject: Re: Making mergemaster skip certain files Message-ID: <20071117095232.GA27531@slackbox.xs4all.nl> In-Reply-To: <20071117043426.GA71265@auricle.charter.net> References: <20071117043426.GA71265@auricle.charter.net>
index | next in thread | previous in thread | raw e-mail
[-- Attachment #1 --] On Fri, Nov 16, 2007 at 10:34:26PM -0600, J. Porter Clark wrote: > Is there any way to keep certain files out of the reach of > mergemaster? I understand the need for carefully merging the > old and the new, but I really shouldn't ever have to for files > like these: > > /etc/aliases > /etc/hosts > /etc/hosts.allow > /etc/manpath.config > ... and many others. Set the system immutable and undeletable flags (as root); chflags schg,sunlnk /etc/aliases /etc/hosts /etc/hosts.allow \ /etc/manpath.config > Mergemaster has so many options that I'm fairly certain that > there must be some way to do this. There is an option you can set in /etc/mergemaster.rc to ignore /etc/motd, and the -P option to preserve replaced files. Of course you can always hack it to ignore some files. Roland -- R.F.Smith http://www.xs4all.nl/~rsmith/ [plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated] pgp: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 (KeyID: C321A725) [-- Attachment #2 --] -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.4 (FreeBSD) iD8DBQFHPrngEnfvsMMhpyURAhSKAJ49xrsfueAwfdYgqjDjtwmJBZojLwCgpBB3 Nhb9tL3lPDiaENHz45ewyTw= =ThhD -----END PGP SIGNATURE-----help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20071117095232.GA27531>
