:: Re: [DNG] Preferred automounter beh…
Inizio della pagina
Delete this message
Reply to this message
Autore: Teodoro Santoni
Data:  
To: Steve Litt
CC: dng
Oggetto: Re: [DNG] Preferred automounter behavior?
Good evening,

2015-12-26 4:23 GMT+01:00, Steve Litt <slitt@???>:
> On Sat, 26 Dec 2015 00:50:48 +0100
> Teodoro Santoni <asbrasbra@???> wrote:
>
>> Hey there,
>>
>> 2015-12-25 18:42 GMT+01:00, Steve Litt <slitt@???>:
>> > Anyway, if I stick in a thumb drive that contains
>> > partitions /dev/sdd1 and /dev/sdd2, would the most convenient way
>> > for it to automount be /mnt/sdd1 and /mnt/sdd2, or would it be more
>> > convenient by the ID so it might look
>> > like /mnt/usb-Generic_Flash_Disk_0FEAEC2F-0:0-part1
>> > and /mnt/usb-Generic_Flash_Disk_0FEAEC2F-0:0-part2?
>>
>> My very personal use-case suggests this behaviour: if the device has a
>> label, use that (/mnt/label), otherwise the block device name for
>> brevity.
>
> That *does* sound good. I might put it on a todo list. But what also
> has to be checked for is that two plugged in devices don't
> inadvertently have the same label.


On label overlap, I would fallback to the device name.

Merry Whatever (and have a nice day if you're atheist)!