Hello:
TDE handles external USB hard drives the same as internal non-USB (ie SATA) drives. After plugging in an external USB hard drive it only places a device icon to the desktop if device icons for unmounted/mounted hard disks are enabled. I don't want to enable those icons because I have ~20 partitions I don't want to put on the desktop as devices. Still I would like to have removable USB hard disk icons on the desktop similarly to flash disks. How can I do it?
In my opinion removable hard disk should be distinguished from internal non-removable drives in this context.
Thanks,
Istvan
Am Mittwoch 11 Januar 2017 schrieb Istvan Gabor:
Hello:
TDE handles external USB hard drives the same as internal non-USB (ie SATA) drives. After plugging in an external USB hard drive it only places a device icon to the desktop if device icons for unmounted/mounted hard disks are enabled. I don't want to enable those icons because I have ~20 partitions I don't want to put on the desktop as devices. Still I would like to have removable USB hard disk icons on the desktop similarly to flash disks. How can I do it?
In my opinion removable hard disk should be distinguished from internal non-removable drives in this context.
Thanks,
Istvan
Hi Istvan,
have you tried to go to "Desktop -> Behaviour -> Device Icons" in Trinity Control Center?
Stefan
On Wed, 11 Jan 2017 16:53:18 +0100, Stefan Krusche wrote:
Am Mittwoch 11 Januar 2017 schrieb Istvan Gabor:
Hello:
TDE handles external USB hard drives the same as internal non-USB (ie SATA) drives. After plugging in an external USB hard drive it only places a device icon to the desktop if device icons for unmounted/mounted hard disks are enabled. I don't want to enable those icons because I have ~20 partitions I don't want to put on the desktop as devices. Still I would like to have removable USB hard disk icons on the desktop similarly to flash disks. How can I do it?
In my opinion removable hard disk should be distinguished from internal non-removable drives in this context.
Thanks,
Istvan
Hi Istvan,
have you tried to go to "Desktop -> Behaviour -> Device Icons" in Trinity Control Center?
Stefan
Hello:
Maybe my explanation was not clear enough. Under "Desktop -> Behaviour -> Device Icons" I can select mounted/unmounted "Hard Disk Volume". If I enable these all my partitions' volumes are placed on the desktop which I don't want. If I disable them then even removable USB hard disks aren't placed on the desktop. That is, the system doesn't distinguish between removable external hard disks and internal hard disks. I'd like external hard disk to be handled as "Removable Medium" instead of "Hard Disk Volume".
Cheers,
Istvan
Am Mittwoch 11 Januar 2017 schrieb Istvan Gabor:
Hello:
Maybe my explanation was not clear enough. Under "Desktop -> Behaviour -> Device Icons" I can select mounted/unmounted "Hard Disk Volume". If I enable these all my partitions' volumes are placed on the desktop which I don't want. If I disable them then even removable USB hard disks aren't placed on the desktop. That is, the system doesn't distinguish between removable external hard disks and internal hard disks. I'd like external hard disk to be handled as "Removable Medium" instead of "Hard Disk Volume".
Cheers,
Istvan
Okay, I got it. Seems to work on my system with the one USB hard disk I have.
Stefan
Le 11/01/2017 à 15:29, Istvan Gabor a écrit :
Hello:
TDE handles external USB hard drives the same as internal non-USB (ie SATA) drives. After plugging in an external USB hard drive it only places a device icon to the desktop if device icons for unmounted/mounted hard disks are enabled. I don't want to enable those icons because I have ~20 partitions I don't want to put on the desktop as devices. Still I would like to have removable USB hard disk icons on the desktop similarly to flash disks. How can I do it?
In my opinion removable hard disk should be distinguished from internal non-removable drives in this context.
Thanks,
Istvan
Hello, I have the same problem with a particular USB hard disk, which is seen as a fixed hard disk instead of removable hard disk. This does not happen on another USB hard disk.
I believe that this is related to the Linux kernel and/or the USB device itself.
On a real fixed (SATA) hard disk: $ cat /sys/block/sda/removable 0
On a normally working USB hard disk: $ cat /sys/block/sdb/removable 1
On the USB hard disk that is seen as fixed hard disk: $ cat /sys/block/sdc/removable 0
If TDE is using this "removable" flag, which is sometimes incorrect, it may explain the issue.
François
On Wed, 11 Jan 2017 19:13:18 +0100, François Andriot wrote:
Le 11/01/2017 à 15:29, Istvan Gabor a écrit :
Hello:
TDE handles external USB hard drives the same as internal non-USB (ie SATA) drives. After plugging in an external USB hard drive it only places a device icon to the desktop if device icons for unmounted/mounted hard disks are enabled. I don't want to enable those icons because I have ~20 partitions I don't want to put on the desktop as devices. Still I would like to have removable USB hard disk icons on the desktop similarly to flash disks. How can I do it?
In my opinion removable hard disk should be distinguished from internal non-removable drives in this context.
Thanks,
Istvan
Hello, I have the same problem with a particular USB hard disk, which is seen as a fixed hard disk instead of removable hard disk. This does not happen on another USB hard disk.
I believe that this is related to the Linux kernel and/or the USB device itself.
On a real fixed (SATA) hard disk: $ cat /sys/block/sda/removable 0
On a normally working USB hard disk: $ cat /sys/block/sdb/removable 1
On the USB hard disk that is seen as fixed hard disk: $ cat /sys/block/sdc/removable 0
If TDE is using this "removable" flag, which is sometimes incorrect, it may explain the issue.
François
I have used only two USB external HDs so far but both were mounted as hard disk volumes and not as removable devices.
The question is how the system decides which group a device belongs to. If there is some device or property database we could modify it according to our needs.
Thanks,
Istvan
Istvan Gabor wrote:
The question is how the system decides which group a device belongs to. If there is some device or property database we could modify it according to our needs.
not 100% sure but I think it is udev/kernel. Look in to udev. The library (rules) is in /lib/udev/ And you can put your own rules in /etc/udev/rules.d/ that can fix the problem for class of devices based on criteria or specific device based on vendor and/or device id.
regards
Am Mittwoch 11 Januar 2017 schrieb François Andriot:
Hello,
[...]
On a normally working USB hard disk: $ cat /sys/block/sdb/removable 1
On the USB hard disk that is seen as fixed hard disk: $ cat /sys/block/sdc/removable 0
If TDE is using this "removable" flag, which is sometimes incorrect, it may explain the issue.
I don't think so. On my system I get:
$ cat /sys/block/sdd/removable 0
for a 500GB Toshiba USB hard disk, which is registered as /sdd. And I still am able to have icons for SATA/IDE hard disks and for removable media seen independantly on desktop.
Stefan