Bug 115129

Summary: mount --move doesn't work as expected
Product: [openSUSE] SUSE LINUX 10.0 Reporter: Jakub Jozwicki <jakub007>
Component: KernelAssignee: Mads Martin Joergensen <mmj>
Status: RESOLVED FIXED QA Contact: E-mail List <qa-bugs>
Severity: Normal    
Priority: P5 - None CC: kernel01
Version: Beta 4   
Target Milestone: ---   
Hardware: 32bit   
OS: All   
Whiteboard:
Found By: Other Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---
Attachments: 'mount --move' patch

Description Jakub Jozwicki 2005-09-03 11:10:51 UTC
Partiton /dev/sda1 is mounted at /mnt/sda1.  
After mount --move /mnt/sda1 /usr/src command 'mount' gives output:  
  
/dev/sda1 on /mnt/sda1 type xfs (rw)  
/mnt/sda1 on /usr/src type none (rw) 
 
As it can be seen old mount entry is not unmounted and new mount entry lost 
filesystem type. It is problem with 2.6.13
Comment 1 Carl-Daniel Hailfinger 2005-09-05 08:02:43 UTC
Please provide the output of
cat /proc/mounts
and tell us whether the contents of /dev/sda1 do appear in /usr/src.
Comment 2 Olaf Kirch 2005-09-05 19:37:42 UTC
Another candidate for Chris Mason's team 
Comment 3 Chris L Mason 2005-09-05 20:30:06 UTC
I'll take this one but leave it at NEEDINFO 
Comment 4 Jakub Jozwicki 2005-09-06 01:11:49 UTC
Created attachment 48867 [details]
'mount --move' patch
Comment 5 Chris L Mason 2005-09-06 13:52:25 UTC
This patch seems to be against util-linux?  I take it that you did a cat of /proc/mounts  
and found the correct info?  
  
I'll send it to the util-linux maintainer for comment. 
Comment 6 Mads Martin Joergensen 2005-09-29 10:46:35 UTC
It seems correct, so I added it, and have forwarded it to the upstream util-linux
maintainer.