From owner-freebsd-i386@FreeBSD.ORG Sun Oct 14 12:20:02 2007 Return-Path: Delivered-To: freebsd-i386@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D479D16A41B for ; Sun, 14 Oct 2007 12:20:02 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 90CB913C455 for ; Sun, 14 Oct 2007 12:20:02 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.1/8.14.1) with ESMTP id l9ECK2He000411 for ; Sun, 14 Oct 2007 12:20:02 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.1/8.14.1/Submit) id l9ECK27I000410; Sun, 14 Oct 2007 12:20:02 GMT (envelope-from gnats) Date: Sun, 14 Oct 2007 12:20:02 GMT Message-Id: <200710141220.l9ECK27I000410@freefall.freebsd.org> To: freebsd-i386@FreeBSD.org From: Rui Paulo Cc: Subject: Re: i386/117155: Salvage UFS partition with /sbin/fsck X-BeenThere: freebsd-i386@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Rui Paulo List-Id: I386-specific issues for FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 14 Oct 2007 12:20:02 -0000 The following reply was made to PR i386/117155; it has been noted by GNATS. From: Rui Paulo To: Eugene Sobolev Cc: freebsd-gnats-submit@FreeBSD.org Subject: Re: i386/117155: Salvage UFS partition with /sbin/fsck Date: Sun, 14 Oct 2007 13:10:40 +0100 On 13 Oct 2007, at 18:26, Eugene Sobolev wrote: > >> Number: 117155 >> Category: i386 >> Synopsis: Salvage UFS partition with /sbin/fsck >> Confidential: no >> Severity: critical >> Priority: high >> Responsible: freebsd-i386 >> State: open >> Quarter: >> Keywords: >> Date-Required: >> Class: sw-bug >> Submitter-Id: current-users >> Arrival-Date: Sat Oct 13 18:30:03 UTC 2007 >> Closed-Date: >> Last-Modified: >> Originator: Eugene Sobolev >> Release: FreeBSD 6.2 >> Organization: > Chaos Constructions >> Environment: > FreeBSD amiga. 6.2-RELEASE FreeBSD 6.2-RELEASE #0: Tue Aug 21 > 23:27:50 MSD 2007 wsadm@amiga.:/usr/src/sys/i386/compile/ > BSD_P4C800E_VER7 i386 > >> Description: > After reboot (pc crash during jdk16 compilation from ports) i had > to use /sbin/fsck for restore data on my /usr file-system. /sbin/ > fsck has forced me to answer more than 7000 times on the question > message: > > UNREF FILE I=4218477 OWNER=root MODE=100644 > SIZE=2244 MTIME=May 27 Oct 2000 > Reconnect? [yn] > > The answer to default does not exist. I should answer more than > 7000 times: "y" and press Enter!!! It not ridiculously also is > really enormous problem. It is complex to like respect for the > developer which supposes such children's errors. > >> How-To-Repeat: > 1. Estimate I-node which it is required Reconnect > 2. If > 100 ask from user: UNREF FILE > 100, Reconnect all? [yn] > 3. Default answer for any /sbin/fsck question: "y", there should be > enough pressing Enter for default user answer! > >> Fix: > Outcome on Ubuntu ;) > fsck has the -y option: -y Causes fsck to assume yes as the answer to all operator ques- tions. -- Rui Paulo