<?xml version="1.0" encoding="UTF-8" ?>

<bugzilla version="5.2"
          urlbase="https://bugzilla.altlinux.org/"
          
          maintainer="jenya@basealt.ru"
>

    <bug>
          <bug_id>23178</bug_id>
          
          <creation_ts>2010-03-18 14:33:26 +0300</creation_ts>
          <short_desc>no &quot;mount --move&quot;</short_desc>
          <delta_ts>2014-11-05 20:17:14 +0300</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>3</classification_id>
          <classification>Distributions</classification>
          <product>Branch 4.0</product>
          <component>mount</component>
          <version>4.0</version>
          <rep_platform>all</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>CLOSED</bug_status>
          <resolution>WONTFIX</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P3</priority>
          <bug_severity>major</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Ivan Zakharyaschev">imz</reporter>
          <assigned_to name="Nobody&apos;s working on this, feel free to take it">nobody</assigned_to>
          
          
          <qa_contact name="Q.A. 4.0">qa-4.0</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>107907</commentid>
    <comment_count>0</comment_count>
    <who name="Ivan Zakharyaschev">imz</who>
    <bug_when>2010-03-18 14:33:26 +0300</bug_when>
    <thetext>mount-2.12r-alt6

Although documented in the manpage (&quot;Since Linux 2.5.1 it is possible to atomically move a mounted tree  to  another  place.&quot;), &quot;mount --move&quot; doesn&apos;t work:

# mount --move /home/STORAGE-for-srv /srv
mount: wrong fs type, bad option, bad superblock on /home/STORAGE-for-srv,
       missing codepage or other error
       In some cases useful info is found in syslog - try
       dmesg | tail  or so

# 

Whereas &quot;--bind&quot; and &quot;--rbind&quot; work:

# mount --bind /home/STORAGE-for-srv /srv
# umount /srv
# mount --rbind /home/STORAGE-for-srv /srv


Also, &quot;move&quot; is not recognized in /etc/fstab; for example, with the following line:

/home/STORAGE-for-srv	/srv	none move,auto	0	0

the result is:

# mount /srv
mount: unknown filesystem type &apos;none&apos;
# 

whereas &quot;bind&quot; works with a line like this:

/home/STORAGE-for-srv	/srv	none bind,auto	0	0

.


&quot;mount --move&quot; would be of some real use at least for the case when one doesn&apos;t want to create a loop through &quot;mount --bind&quot; like this:

# mount --bind /home/STORAGE-for-srv /srv
# mount --bind /home /srv/ftp/home</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>148509</commentid>
    <comment_count>1</comment_count>
    <who name="Michael Shigorin">mike</who>
    <bug_when>2014-11-05 20:17:14 +0300</bug_when>
    <thetext>В 4.0/branch исправления не будут вноситься уже технически (заглушена очередь на сборку), поэтому прошу ошибки, актуальные для sisyphus/p7/t7, перевесить на текущие ветки или сизиф.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>