Date: Sun, 6 Nov 2011 15:48:31 +0100 From: Polytropon <freebsd@edvax.de> To: Bill Tillman <btillman99@yahoo.com> Cc: "freebsd-questions@FreeBSD.org" <freebsd-questions@freebsd.org> Subject: Re: Urgent!. Problem with / etc / rc.conf Message-ID: <20111106154831.d4eb2edf.freebsd@edvax.de> In-Reply-To: <1320585834.66067.YahooMailNeo@web36502.mail.mud.yahoo.com> References: <288821E5-0392-49CA-BC85-0E550769C732@gmail.com> <CA%2BQLa9By435sthvHgCfu4YKPOe5-4BkdgcZQM%2BwQZRk_hf4vUA@mail.gmail.com> <8D04DED6-9175-42C7-B553-BAC1EA129E68@gmail.com> <1320585834.66067.YahooMailNeo@web36502.mail.mud.yahoo.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, 6 Nov 2011 05:23:54 -0800 (PST), Bill Tillman wrote: > Wow, to reinstall everything is like throwing the baby out > with the bath water. Rather drastic. There are some simple > steps you could have taken to get things back to normal but > without knowing what you had in your original rc.conf file > that's probably oversimplifying things. The defaults in /etc/defaults/rc.conf should be fully sufficient to bring the system up. From this state, running sysinstall could be used to choose settings that will cause /etc/rc.conf to be updated. Furthermore /etc/defaults/rc.conf can be used as a template for settings. Depending on what a system actually will be used for, there can be some "strange" settings required, such as keymap or services to be enabled at boot. Using some web web search, usabe /etc/rc.conf templates can also be revealed. Of course they need changes to conform to local needs. > I keep a little script in my /root/bin folder to backup > my config files periodically to another server. This is > something you should look into. We all make mistakes and > when we do, a backup copy can make the difference between > "oh wow" and "oh f***". I also have a copy /root/etc for the files I have changed, and I keep my changes in a CVS repository. I know this may sound overcomplex at _this_ particular problem, but it helps when you have to deal with various systems and sometimes need to undo changes. >From that repository, I can restore any version from any system. Even in worst case obtaining a complete set of configuration files is possible. The difference in the RESULT between > and >> can be immense, and having a backup you can _quickly_ access is really a happy "oh wow", which is more pleasant than "oh f***", especially if the last one is expressed by others. :-) Politely I'd also like to mention that there are no things called "folder" on FreeBSD in particular, and on operating systems in general. Those things are properly called directories. ;-) PS. Please wrap your lines < 72. Some MUAs don't do that automatically. Thanks! -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ...
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20111106154831.d4eb2edf.freebsd>