Trash does not work across partitions
Tony Arnold
tony.arnold at manchester.ac.uk
Wed Dec 14 11:47:08 UTC 2005
Burt,
Robert Entner wrote:
> I have in my home folder a symlink to another partition. When I use
> Nautilus to 'Move to Trash' a file I access via this symlink I get the
> error message:
> Not on the same file system while deleting filename.
>
> Deleting permanently and via terminal work of course.
>
> This seems to be a Gnome/Nautilus bug to me, is this correct?
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.
Regards,
Tony.
--
Tony Arnold, IT Security Coordinator, University of Manchester,
IT Services Division, Kilburn Building, Oxford Road, Manchester M13 9PL.
T: +44 (0)161 275 6093, F: +44 (0)870 136 1004, M: +44 (0)773 330 0039
E: tony.arnold at manchester.ac.uk, H: http://www.man.ac.uk/Tony.Arnold
More information about the ubuntu-users
mailing list