a big mistake-deleted etc

Roland Smith rsmith at xs4all.nl
Sun Mar 2 15:46:41 UTC 2014


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 that
> 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 files
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
-- 
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)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 834 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20140302/514a215e/attachment.sig>


More information about the freebsd-questions mailing list