Bug 115129 - mount --move doesn't work as expected
Summary: mount --move doesn't work as expected
Status: RESOLVED FIXED
Alias: None
Product: SUSE LINUX 10.0
Classification: openSUSE
Component: Kernel (show other bugs)
Version: Beta 4
Hardware: 32bit All
: P5 - None : Normal
Target Milestone: ---
Assignee: Mads Martin Joergensen
QA Contact: E-mail List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-09-03 11:10 UTC by Jakub Jozwicki
Modified: 2005-09-29 10:46 UTC (History)
1 user (show)

See Also:
Found By: Other
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments
'mount --move' patch (876 bytes, patch)
2005-09-06 01:11 UTC, Jakub Jozwicki
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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.