From owner-freebsd-questions@FreeBSD.ORG Thu Aug 19 18:07:52 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id EA8FF1065696 for ; Thu, 19 Aug 2010 18:07:52 +0000 (UTC) (envelope-from eforezz@gmail.com) Received: from mail-qw0-f54.google.com (mail-qw0-f54.google.com [209.85.216.54]) by mx1.freebsd.org (Postfix) with ESMTP id A51B68FC20 for ; Thu, 19 Aug 2010 18:07:52 +0000 (UTC) Received: by qwg5 with SMTP id 5so2254381qwg.13 for ; Thu, 19 Aug 2010 11:07:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:date:message-id :subject:from:to:content-type; bh=3XN/xpc9qJVga7ODSyt5LIZYOMvAf3z9mET3z6XDTzU=; b=GstR8I0f1pyaxW6Oyd6YqFtO+PfOx+M/euTvMup1s3ngV7C28K+0NCCeQ6jdupFLnN X9fUwSSSVXX39vhdcxvyz5gM3s/6QjKMHol3K1G96hxa7DoxYV7wa6gku5oyhnRJTWHn QypcLEUXrxZ40QygSDl1+WoQlTJa2eLp60nTE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=kZlY6wSVZR48YC82Ssgld3gNnZUVxVO2tQScQTgBGOpQK+3jL1YyPf+tm28MqjOs76 CCMSVReWhOAlZGZxVPYigabpb19WgdRWiaBA29Vab4+hdwxnd8BMETNTUAwvA3ztj0LN GjCfvMbJPD3jKwvdghXSfyAqarwdc8ilO52pg= MIME-Version: 1.0 Received: by 10.224.6.138 with SMTP id 10mr125890qaz.305.1282241271667; Thu, 19 Aug 2010 11:07:51 -0700 (PDT) Received: by 10.229.83.193 with HTTP; Thu, 19 Aug 2010 11:07:51 -0700 (PDT) Date: Thu, 19 Aug 2010 21:07:51 +0300 Message-ID: From: EforeZZ To: freebsd-questions Content-Type: text/plain; charset=ISO-8859-1 Subject: How to restore a text file from UFS?? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 19 Aug 2010 18:07:53 -0000 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.... ;-(