Mount SD card by label instead of UUID

asked 2015-12-25 18:36:18 +0200

martin gravatar image

Currently sailfish is mounting the SD card in /media/sdcard/UUID. This is a problem in case of ext4 formatted SD cards, where the UUID takes the form of XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX, which creates ridiculously long filepaths. It would be really useful, if sailfish would use the filesystem label instead of the UUID, if a label is present. This would allow for paths that are easier to remember.

edit retag flag offensive close delete

Comments

1

Yes, really annoying. Nice for automated tasks, hell for human maintenance. An option to use the old disklabel based naming as an alternative would be nice.

marsch ( 2015-12-26 19:43:46 +0200 )edit

Or, at least, if there is a label, create a symlink in /media/sdcard named with this label, pointing to the correct path.

vbregier ( 2015-12-27 15:31:39 +0200 )edit