Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 2 Mar 2014 16:46:32 +0100
From:      Roland Smith <rsmith@xs4all.nl>
To:        ajtiM <lumiwa@gmail.com>
Cc:        "freebsd-questions@freebsd.org" <freebsd-questions@freebsd.org>
Subject:   Re: a big mistake-deleted etc
Message-ID:  <20140302154632.GA32691@slackbox.erewhon.net>
In-Reply-To: <50AC4930-2F20-4CDD-918F-765BBD3A82C5@gmail.com>
References:  <50AC4930-2F20-4CDD-918F-765BBD3A82C5@gmail.com>

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

--zhXaljGHf11kAtnf
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Fri, Feb 28, 2014 at 12:56:31PM -0500, ajtiM wrote:
> Hi!
>
> I have a big problem.
>
> I did accidental deleted /etc and I cannot start a system. Is it a way th=
at
> I get /etc back without lost everything, please?  I did mounted disk and
> there are no /etc. Uh

You can find the default versions of most configuration files in
/usr/src/etc/. You can run mergemaster(8) to install them.

What you should really do for the future is keep all your configuration fil=
es
under revision control in a subdirectory of your $HOME, complete with an
install script. I wrote up my workflow in 2010. See:
http://rsmith.home.xs4all.nl/howto/managing-configuration-files.html

Roland
--=20
R.F.Smith                                   http://rsmith.home.xs4all.nl/
[plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated]
pgp: 5753 3324 1661 B0FE 8D93  FCED 40F6 D5DC A38A 33E0 (keyID: A38A33E0)

--zhXaljGHf11kAtnf
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.22 (FreeBSD)

iQIcBAEBAgAGBQJTE1JYAAoJEED21dyjijPg4xMP/iusFvYr2YnK1NoU1LQ5RR4W
YSwk/X7uBpsgXsOsLSGp00XEkqliD5qdho7DBdZ8XWJZB53tUIdObUG9dv3Oy5PY
nATZX32GcCv5d4C2O/j9TSXjmj/AsE7K/oN/wevjuBTIYh3aeNeGuRRSsDYRok05
Te2CkAKr0FaxuthfbNma2bZKOX6Mr5Z5BfFeAQGkAYWooC1yJj4cyrM2npZC7ieN
gE3f3ipiPIquALFVDIDv6LUd38/AUv4t8A3IwXRTXPcnFZ1hRK3JUMvn6l4hctaz
JOp1ifMDkDKhi628Hiyj1gnYoPG1q9YFBUpqAjMk6A4q8nl12ooMYVRNFtkvqbBa
i8yWBuUnXHac41D1/BHZNuAO8U3rL5LV9TqCYxYxsE1Hk7uz0CcePSSLkQvnjR4I
LXidT+yNHI0kfeSt1b5j3AK3WKfsjeZsEKs8FqSLA1o7dZETUlZAphSg0cjy4u6f
o8l8eP5tsg9dZfHu3+L1JKPCQ/smmq6zEe6h52kJ5/oMYbW2c2CwrKuLt6WGH+ya
jLMD22Ps23SYtPS8DYGnu5eQ1qH53hDkWDTjRbHGknwqNJ9gGiFmTYVHPWThblfn
Ob/A4gCrf+5QatpHsgGbnJv3YZonJO1jyqFOUW+pF6yWtnTsQukZz/OJ1Ms1JJOU
VdRqwucU9N/BnaaRFomk
=YhLn
-----END PGP SIGNATURE-----

--zhXaljGHf11kAtnf--



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