trinity-users@lists.pearsoncomputing.net

Message: previous - next
Month: January 2017

Re: [trinity-users] desktop icons for automounted external USB hard disks

From: François Andriot <francois.andriot@...>
Date: Wed, 11 Jan 2017 19:13:18 +0100
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