[BusyBox 0000711]: mount doesn't obey "bind" option in fstab

bugs at busybox.net bugs at busybox.net
Wed Apr 12 13:47:27 UTC 2006


The following issue has been CLOSED 
====================================================================== 
http://busybox.net/bugs/view.php?id=711 
====================================================================== 
Reported By:                mort
Assigned To:                BusyBox
====================================================================== 
Project:                    BusyBox
Issue ID:                   711
Category:                   Other
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     closed
Resolution:                 open
Fixed in Version:           
====================================================================== 
Date Submitted:             02-09-2006 13:09 PST
Last Modified:              04-12-2006 06:47 PDT
====================================================================== 
Summary:                    mount doesn't obey "bind" option in fstab
Description: 

This is present in 1.1.0.  There wasn't that option in "Product Version",
so I stuck in "svn".

With a line like:

/tmp/		/foo		tmpfs	bind	0 0

in /etc/fstab, doing a `mount /foo` yields a new tmpfs mount, intead
of doing a bind of the /tmp tmpfs mount.
====================================================================== 

---------------------------------------------------------------------- 
 bernhardf - 04-11-06 11:19  
---------------------------------------------------------------------- 
Is this fixed in 1.1.2 or on trunk?
svn co svn://busybox.net/branches/busybox_1_1_stable 

---------------------------------------------------------------------- 
 mort - 04-12-06 06:16  
---------------------------------------------------------------------- 
Looks good.  From yesterday's daily snapshot:

BusyBox v1.2.0-pre0 (2006.04.12-12:30+0000) Built-in shell (ash)
Enter 'help' for a list of built-in commands.

# grep bind /etc/fstab 
/tmp/dtd                /dtd            tmpfs   bind    0 0
/tmp/run                /var/run        tmpfs   bind    0 0
/tmp/var                /var/tmp        tmpfs   bind    0 0
/tmp/nfs                /var/lib/nfs    tmpfs   bind    0 0

and all of the mounts are binds...

# df
Filesystem           1k-blocks      Used Available Use% Mounted on
/dev/root                 5760      3072      2688  53% /
/dev/mtdblock/2            640       516       124  81% /conf
none                      8192        24      8168   0% /tmp
none                      8192        24      8168   0% /dtd
none                      8192        24      8168   0% /var/run
none                      8192        24      8168   0% /var/lib/nfs
none                      8192        24      8168   0% /var/tmp

but I've got another issue with mount now...I'll open another bug. 

---------------------------------------------------------------------- 
 bernhardf - 04-12-06 06:47  
---------------------------------------------------------------------- 
Fixed on trunk. 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
02-09-06 13:09  mort           New Issue                                    
02-09-06 13:09  mort           Status                   new => assigned     
02-09-06 13:09  mort           Assigned To               => BusyBox         
04-11-06 11:19  bernhardf      Note Added: 0001263                          
04-12-06 06:16  mort           Note Added: 0001279                          
04-12-06 06:47  bernhardf      Status                   assigned => closed  
04-12-06 06:47  bernhardf      Note Added: 0001280                          
======================================================================




More information about the busybox-cvs mailing list