How to restore a text file from UFS??

Adam Vande More amvandemore at
Thu Aug 19 18:13:22 UTC 2010

On Thu, Aug 19, 2010 at 1:07 PM, EforeZZ <eforezz at> 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....

You should restore from backup, not an option if you use the "Do Nothing"

Adam Vande More

More information about the freebsd-questions mailing list