From owner-freebsd-questions@FreeBSD.ORG Wed Jul 7 18:47:03 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 0963B1065672 for ; Wed, 7 Jul 2010 18:47:03 +0000 (UTC) (envelope-from eingorn777@gmail.com) Received: from mail-fx0-f54.google.com (mail-fx0-f54.google.com [209.85.161.54]) by mx1.freebsd.org (Postfix) with ESMTP id 91E518FC14 for ; Wed, 7 Jul 2010 18:47:02 +0000 (UTC) Received: by fxm13 with SMTP id 13so6330639fxm.13 for ; Wed, 07 Jul 2010 11:46:55 -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=gvGbF8IKUsQODsxdGoYZpirB/fxqr/YUz4Wzs6bq570=; b=vaLjQ+idHh1HC9DSbj/JMOsiKUngx8TV7XFOkhtzg+Lx4TAfQdEPripe4BZdyo50v5 bY8hL2YJYW728rFb9VuJnOy+MvQAkBsLUR6y7L6d5ZbxWshZ8o99t+PWS7EmdcwMVM2o 8BCynEsvNQT94XytLRRanBFqkD2L6Asa41bQ0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=O0Gnq27xtSnL+tJG6nqlUHAZ1R7JfASrNKatgutnEWjrm8pIH9pGTsRmXnHLswvJFV EXCg1Oy1uefkrSLS6OXW6XthvEHUrnVOavF8xJyl+aNvVB7t5NwayMVsnaDvxRfLp2pl KRjXfOQawlaBn0BkI3jh5ZWN9L85R/pJowdWY= MIME-Version: 1.0 Received: by 10.103.169.12 with SMTP id w12mr1779601muo.65.1278526607860; Wed, 07 Jul 2010 11:16:47 -0700 (PDT) Received: by 10.231.35.133 with HTTP; Wed, 7 Jul 2010 11:16:47 -0700 (PDT) Date: Wed, 7 Jul 2010 18:16:47 +0000 Message-ID: From: Dmitry Lunts To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: debugfs&FreeBSD 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: Wed, 07 Jul 2010 18:47:03 -0000 Hello,All! There is debugfs program dealing with ext2/ext3/ext4 filesystems. Is there some tool in FreeBSD with functionality analogous to debugfs which can operate on UFS2? Could anyone give me a hint? The thing is that recently I found out (thru smartctl) several bad blocks on UFS2 partition. The problem is how to discover which file(s) they belong to. TIA --=20 =D0=A1 =D1=83=D0=B2=D0=B0=D0=B6=D0=B5=D0=BD=D0=B8=D0=B5=D0=BC, =D0=94=D0=BC= =D0=B8=D1=82=D1=80=D0=B8=D0=B9 Best regards, Dmitry