:: Re: [DNG] Preferred automounter beh…
トップ ページ
このメッセージを削除
このメッセージに返信
著者: Teodoro Santoni
日付:  
To: Steve Litt
CC: dng
題目: Re: [DNG] Preferred automounter behavior?
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.
If I don't know whatever I plugged in, I would ls whatever there is.
Or run blkid.

Probably though, being a tool that would work independently from file
managers and DEs, the UUID would be a better choice, because `ls /mnt`
would be everything you need to inspect whatever is mounted.