How to restore a text file from UFS??

Alexander Best arundel at
Thu Aug 19 20:20:21 UTC 2010

On Thu Aug 19 10, 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....
> ;-(

i had a similar problem and this howto helped me very much [1].




More information about the freebsd-questions mailing list