Date: Sat, 21 Aug 2010 15:43:45 +0100 From: Frank Shute <frank@shute.org.uk> To: EforeZZ <eforezz@gmail.com> Cc: freebsd-questions <freebsd-questions@freebsd.org> Subject: Re: How to restore a text file from UFS?? Message-ID: <20100821144345.GA93633@orange.esperance-linux.co.uk> In-Reply-To: <AANLkTi=vNyd=4sM=EgYpqzzBv-CQA=SuZRhu6YzxvCX5@mail.gmail.com> References: <AANLkTi=vNyd=4sM=EgYpqzzBv-CQA=SuZRhu6YzxvCX5@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Aug 19, 2010 at 09:07:51PM +0300, EforeZZ wrote: > > I edited my 50Kb /etc/rc.conf, loaded a driver and.... got a kernel panic!! > After reboot my /etc/rc.conf is 0 bytes (after automatic background fsck). > Which tool should I try now to restore any version of my rc.conf?.. > I think data should still be somewhere on the disk.... > > ;-( Your editor doesn't save a backup? E.g: /etc/rc.conf~ I use vim and have it setup to save backups. Even though the backup might not be identical, it's saved my bacon on occasion. Regards, -- Frank Contact info: http://www.shute.org.uk/misc/contact.html
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20100821144345.GA93633>