Bug 405594 - Allow network shares mounted using /etc/fstab to be renamed in Dolphin
Summary: Allow network shares mounted using /etc/fstab to be renamed in Dolphin
Status: CONFIRMED
Alias: None
Product: dolphin
Classification: Applications
Component: general (other bugs)
Version First Reported In: 18.12.2
Platform: Fedora RPMs Linux
: NOR wishlist
Target Milestone: ---
Assignee: Dolphin Bug Assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-03-18 12:57 UTC by Mike Krutov
Modified: 2021-07-03 19:50 UTC (History)
5 users (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Mike Krutov 2019-03-18 12:57:03 UTC
SUMMARY


STEPS TO REPRODUCE
1. Add lengthy-host-name:/some-even/lengthier-path/StuffThatMatters to /etc/fstab
2. open dolphin

OBSERVED RESULT
Dolphin displays very long string describing NFS shares. In case there are a few of network shares, it is easy to mix them up during normal operation.

SUGGESTION

Add a possibility of "renaming" network share in dolphin. That would not affect anything but visual part, and would allow to show e.g. "StuffThatMatters" instead of having the whole thing. 


SOFTWARE/OS VERSIONS

Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 5.14.5
KDE Frameworks Version: 5.55.0
Qt Version: 5.11.3

OS Version: Fedora 29
Comment 1 David R 2019-08-20 22:10:03 UTC
Hi,

I strongly agree with that.
Look on Dolphin how it looks : https://i.imgur.com/0YEgQmv.png

Having the ability just to rename it seems a reasonable request.

Operating System: Arch Linux 
KDE Plasma Version: 5.16.4
KDE Frameworks Version: 5.61.0
Qt Version: 5.13.0

Regards,

David
Comment 2 Nate Graham 2019-08-21 18:10:50 UTC
I would argue that if you manually add a network mount using /etc/fstab, it's reasonable to expect you to name it there, using the LABEL= directive.

If you create a Places panel entry using Dolphin itself via KIO or the upcoming KIO-Fuse system (in progress), you will be able to rename the mount. But if you make it manually with /etc/fstab, you should label it appropriately there.
Comment 3 David R 2019-08-21 19:34:05 UTC
Hi Nate and thanks for your answer.
I would gladly accept this solution, but after 30 minutes of searching the web, I tend to think that mounting partitions using UUID or Labels is possible only for local partitions and USB devices.
My current fstab uses UUID for every partition... except the NFS.

And when I think about it, it makes sense that it's not possible : the computer is not aware of labels of remote devices, they have to be connected to your computer.
Label is assigned to a partition, not to a shared folder also (I think).

If I'm wrong, feel free to correct me and to tell me how to mount NFS share with label, I will be very happy to test it :)

Regards,

David
Comment 4 Nate Graham 2019-08-23 14:55:17 UTC
You're right! Re-opening.