Trash does not work across partitions

Robert Entner ubuntu at mail1.entner.net
Fri Dec 16 09:26:31 UTC 2005


Going directly to the folder without following symlinks leads to the same 
error message.

On Thursday 15 December 2005 18:04, Phillip Susi wrote:
> Of course mv works across partitions, it always has.  Obviously it is
> slower because it has to copy and delete rather than just rename, but
> it works.
>
> It sounds like nautilus thinks that the stuff in /home is on the same
> filesystem, and is trying to rename rather than copy+delete.  This
> confusion may be the result of your using a /home symlink.  Try
> actually mounting the other filesystem in /home instead of symlinking
> to it.  If that fixes it, then yes, I'd call this a bug in nautilus.
>
> Tony Arnold wrote:
> > I'd call it a limitation rather than a bug!
> >
> > As I understand it, Nautilus uses the 'mv' command to move files from
> > their current directory to the Trash directory. mv within the same
> > file system is very efficient as the file itself stays where it is
> > physically. To implement mv accross paritition, one would have to
> > copy the file and delete the old file with the risk of things going
> > wrong part way through this process.
> >
> > Certainly in older Unixes, mv between paritions did not work. I've
> > not tried it on more recent version of Linux.
> >
> > I guess one answer would be for Nautilus to keep a trash directory
> > for each file system, and mv the file to there.




More information about the ubuntu-users mailing list