Results 1 to 5 of 5

Thread: Trash doesn't work on ext4 partition

  1. #1

    Default Trash doesn't work on ext4 partition

    I have an ext4 partition containing my data files like music, video, etc. When I delete files from this partition, they are moved to:

    Code:
    ~/.local/share/Trash/files/.
    Since this is on my home partition, the files I delete are moved from one partition to the other. This is a very slow operation. For larger files, it takes several seconds (>10) to move a file to the trash bin.

    I tried making a .Trash-1000 folder in my ext4 data partition but that didn't help. When I right click on the trash applet, to change settings of the trashcan, I do not have separate options for my home partition and my ext4 data partition.

    Can somebody help me out in solving this problem? This is my fstab if that may help:

    Code:
    /dev/disk/by-id/ata-Maxtor_6V320F0_V60SJM5G-part1 swap                 swap       defaults              0 0
    /dev/disk/by-id/ata-Maxtor_6V320F0_V60SJM5G-part2 /                    ext4       acl,user_xattr        1 1
    /dev/disk/by-id/ata-Maxtor_6V320F0_V60SJM5G-part4 /data                ext4       user,acl              1 2
    proc                 /proc                proc       defaults              0 0
    sysfs                /sys                 sysfs      noauto                0 0
    debugfs              /sys/kernel/debug    debugfs    noauto                0 0
    devpts               /dev/pts             devpts     mode=0620,gid=5       0 0

  2. #2
    Vahis NNTP User

    Default Re: Trash doesn't work on ext4 partition

    suskewiet wrote:
    >
    > I have an ext4 partition containing my data files like music, video,
    > etc. When I delete files from this partition, they are moved to:
    >
    >
    > Code:
    > --------------------
    > ~/.local/share/Trash/files/.
    > --------------------


    I wrote some notes some time ago about emptying trash:

    http://waxborg.servepics.com/opensus...matic-trashcan

    See if there's anything you could use

    Vahis
    --
    http://waxborg.servepics.com
    openSUSE 11.4 (x86_64) 2.6.37.6-0.9-default main host
    openSUSE 12.1 (x86_64) 3.1.1-48-desktop Tumbleweed in VirtualBox
    openSUSE 12.1 (i586) 3.1.0-1.2-desktop in EeePC 900

  3. #3

    Default Re: Trash doesn't work on ext4 partition

    Hi,

    AFAIK, there is only one trash bin (folder) per user, and you can't configure it to use another folder in addition to the one in your /home dir.

    You could, of course, simply create a a folder called trash on the ext4 drive and, instead of deleting the files, move them there.

    This will not, however store the ancillary information the trash folder automatically has in it, i.e. where the file came from (to replace it there).

    HTH

    Lenwolf

  4. #4
    Join Date
    Feb 2009
    Location
    Spain
    Posts
    25,547

    Default Re: Trash doesn't work on ext4 partition

    On 2011-12-14 11:16, lenwolf wrote:
    >
    > Hi,
    >
    > AFAIK, there is only one trash bin (folder) per user, and you can't
    > configure it to use another folder in addition to the one in your /home
    > dir.


    That's bad programming. It should be reported as bug, files should be
    trashed in the same filesystem, not on another.

    --
    Cheers / Saludos,

    Carlos E. R.
    (from 11.4 x86_64 "Celadon" at Telcontar)

  5. #5

    Default Re: Trash doesn't work on ext4 partition

    Quote Originally Posted by lenwolf View Post
    Hi,

    AFAIK, there is only one trash bin (folder) per user, and you can't configure it to use another folder in addition to the one in your /home dir.

    You could, of course, simply create a a folder called trash on the ext4 drive and, instead of deleting the files, move them there.

    This will not, however store the ancillary information the trash folder automatically has in it, i.e. where the file came from (to replace it there).

    HTH

    Lenwolf
    I'm sure it is possible to trash on a second data partition since it works fine on another pc also running opensuse 12.1. I do not have a clue though why it doesn't work on this machine...

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •