[BusyBox 0000605]: fsck -A fails ("need terminal for interactive repairs")

bugs at busybox.net bugs at busybox.net
Tue Feb 26 19:45:26 UTC 2008


The following issue has been CLOSED 
====================================================================== 
http://busybox.net/bugs/view.php?id=605 
====================================================================== 
Reported By:                iggarpe
Assigned To:                BusyBox
====================================================================== 
Project:                    BusyBox
Issue ID:                   605
Category:                   Other
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     closed
Resolution:                 open
Fixed in Version:           
====================================================================== 
Date Submitted:             12-19-2005 03:05 PST
Last Modified:              02-26-2008 11:45 PST
====================================================================== 
Summary:                    fsck -A fails ("need terminal for interactive
repairs")
Description: 
fsck -A fails. What actually fails is fsck.whatever for each partition in
/etc/fstab, complaining that it hasn't a valid terminal and thus cannot
perform automatic repairs.

If instead of "fsck -A" one calls "fsck partition" for each partition,
everything works fine.

I attach a copy of my /etc/fstab.
====================================================================== 

---------------------------------------------------------------------- 
 vda - 11-23-06 05:25  
---------------------------------------------------------------------- 
Please explain where do you run fsck -A: from init? from login shell? from
init script? 

---------------------------------------------------------------------- 
 iggarpe - 11-23-06 23:48  
---------------------------------------------------------------------- 
I run fsck -A from /etc/init.d/rcS, which is called by init:

::sysinit:/etc/init.d/rcS 

---------------------------------------------------------------------- 
 vda - 02-26-08 11:45  
---------------------------------------------------------------------- 
User error. If user needs to do interactive repairs, [s]he needs to provide
ctty to fdisk. 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
12-19-05 03:05  iggarpe        New Issue                                    
12-19-05 03:05  iggarpe        Status                   new => assigned     
12-19-05 03:05  iggarpe        Assigned To               => BusyBox         
12-19-05 03:05  iggarpe        File Added: fstab                            
11-23-06 05:25  vda            Note Added: 0001794                          
11-23-06 05:25  vda            Status                   assigned => feedback
11-23-06 23:48  iggarpe        Note Added: 0001801                          
02-26-08 11:45  vda            Status                   feedback => closed  
02-26-08 11:45  vda            Note Added: 0005414                          
======================================================================




More information about the busybox-cvs mailing list