[Bug 599162] Re: Binding a directory with mount onto another forces mv to copy/delete under every circumstances

Freebirth One freebirth-one at arcor.de
Sun Jun 27 22:47:15 UTC 2010


** Attachment added: "Dependencies.txt"
   http://launchpadlibrarian.net/51005449/Dependencies.txt

** Description changed:

  Binary package hint: util-linux
  
  Following circumstances:
  
  I am binding a directory with "mount -o bind directory newdirectory",
- which both reside on the same partiton.
+ which both reside on the same partiton with ext3 as fs.
  
  When I want to move a file from a directory which is on the same
  partition like both of the above into newdirectory, it does a full
  copy/delete.
  
  I expected only the inode-Entry (?) to change instead of moving the
  whole data for moving the file, because the old location as well as the
  new location of it are both on the same partition.
  
  I suppose the bind option of mount is messing with this but am not
  really sure.
  
  Is this a bug or does it lie it within the design of ext3 and mount?
  
  ProblemType: Bug
  DistroRelease: Ubuntu 10.04
  Package: mount 2.17.2-0ubuntu1
  ProcVersionSignature: Ubuntu 2.6.32-22.37~ppa1~loms~lucid-generic 2.6.32.11+drm33.2
  Uname: Linux 2.6.32-22-generic i686
  Architecture: i386
  Date: Mon Jun 28 00:31:36 2010
  InstallationMedia: Xubuntu 9.10 "Karmic Koala" - Release i386 (20091028.3)
  ProcEnviron:
   LANGUAGE=
   PATH=(custom, user)
   LANG=de_DE.UTF-8
   SHELL=/bin/bash
  SourcePackage: util-linux

-- 
Binding a directory with mount onto another forces mv to copy/delete under every circumstances
https://bugs.launchpad.net/bugs/599162
You received this bug notification because you are a member of Kernel
Bugs, which is subscribed to util-linux in ubuntu.




More information about the kernel-bugs mailing list