Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 14 Oct 2007 12:20:02 GMT
From:      Rui Paulo <rpaulo@fnop.net>
To:        freebsd-i386@FreeBSD.org
Subject:   Re: i386/117155: Salvage UFS partition with /sbin/fsck
Message-ID:  <200710141220.l9ECK27I000410@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR i386/117155; it has been noted by GNATS.

From: Rui Paulo <rpaulo@fnop.net>
To: Eugene Sobolev <amitrans@narod.ru>
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
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200710141220.l9ECK27I000410>