From owner-freebsd-questions@FreeBSD.ORG Thu Jun 19 22:48:56 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D590337B401 for ; Thu, 19 Jun 2003 22:48:56 -0700 (PDT) Received: from sigma.freebsdhackers.net (loaks-171-132.goldengate.net [216.250.171.132]) by mx1.FreeBSD.org (Postfix) with ESMTP id 39D2543F75 for ; Thu, 19 Jun 2003 22:48:56 -0700 (PDT) (envelope-from derrich@freebsdhackers.net) Received: by sigma.freebsdhackers.net (Postfix, from userid 1005) id 5CE0A6D4; Fri, 20 Jun 2003 00:48:53 -0500 (CDT) Received: from localhost (localhost [127.0.0.1]) by sigma.freebsdhackers.net (Postfix) with ESMTP id 4AFA662F for ; Fri, 20 Jun 2003 00:48:53 -0500 (CDT) Date: Fri, 20 Jun 2003 00:48:53 -0500 (CDT) From: derrich To: freebsd-questions@freebsd.org Message-ID: <20030620004434.L54359-100000@sigma.freebsdhackers.net> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Subject: fsck'ing UFS partitons under linux? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 20 Jun 2003 05:48:57 -0000 I'm trying to fsck a UFS (created under FreeBSD 4.8) partition from within a Linux system, and I'm having a whole lot of trouble. I know UFS support is enabled in the kernel, because I'm able to mount the drive read-only. I believe I've been unable to mount it read-write because the drive needs to be fsck'ed, but I can't figure out how to do this under linux. I've tried running 'fsck -t ufs /dev/hda2', but I get an error about /sbin/fsck.ufs not existing ... and googling 'fsck.ufs' turns up very little, and what little it turns up isn't all in English, which doesn't really help me. If anyone has any suggestions, it'd be appreciated. Derrich