[BusyBox 0000281]: mount -at <type> mounts all the file systems, not just those of type <type>

bugs at busybox.net bugs at busybox.net
Mon Feb 18 12:59:35 UTC 2008


The following issue has been CLOSED 
====================================================================== 
http://busybox.net/bugs/view.php?id=281 
====================================================================== 
Reported By:                jbowler
Assigned To:                BusyBox
====================================================================== 
Project:                    BusyBox
Issue ID:                   281
Category:                   Other
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     closed
Resolution:                 open
Fixed in Version:           
====================================================================== 
Date Submitted:             06-03-2005 00:39 PDT
Last Modified:              02-18-2008 04:59 PST
====================================================================== 
Summary:                    mount -at <type> mounts all the file systems, not
just those of type <type>
Description: 
  mount -a -t nfs

(and the like) is used within standard init scripts to mount only nfs file
systems in fstab.  Busybox mount accepts these options but ignores the -t
nfs and mounts everything.  This is bad because it remounts stuff like
tmpfs partitions, obscuring any boot time setup already done in them.

====================================================================== 

---------------------------------------------------------------------- 
 jbowler - 01-26-06 16:06  
---------------------------------------------------------------------- 
I think this still exists in 1.1.0 (by code examination), but the code has
changed substantially so the patch won't apply. 

---------------------------------------------------------------------- 
 bernhardf - 08-25-06 08:50  
---------------------------------------------------------------------- 
Can you please retry this, either with the current 1.2.1-release or with
trunk?

If it still fails, please ping Mr. landley via the lists.

thanks, 

---------------------------------------------------------------------- 
 vda - 02-18-08 04:59  
---------------------------------------------------------------------- 
Doesn't happen with current svn:

# ./mount -vv -n -f -a
mount: would do mount('/dev/sda5','/','ext3',0x00008401,'(null)')
mount: would do
mount('/dev/sda6','/.share','reiserfs',0x00008400,'(null)')
mount: would do mount('/dev/sda7','/.1','reiserfs',0x00008400,'(null)')
mount: would do mount('/dev/sda8','/.2','reiserfs',0x00008400,'(null)')
# ./mount -vv -n -f -a -t nfs
[no output]
# _ 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
06-03-05 00:39  jbowler        New Issue                                    
06-03-05 00:39  jbowler        File Added: mount-all-type.patch                 
  
01-10-06 02:08  robang74       Issue Monitored: robang74                    
01-26-06 16:06  jbowler        Note Added: 0001013                          
08-25-06 08:50  bernhardf      Note Added: 0001590                          
02-18-08 04:59  vda            Status                   assigned => closed  
02-18-08 04:59  vda            Note Added: 0005024                          
======================================================================




More information about the busybox-cvs mailing list