Summary: | Slash at start of NFS mount point is not being displayed | ||
---|---|---|---|
Product: | [Frameworks and Libraries] frameworks-solid | Reporter: | Shriramana Sharma <samjnaa> |
Component: | general | Assignee: | Lukáš Tinkl <lukas> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | kde, kdelibs-bugs-null, stefan.bruens |
Priority: | NOR | ||
Version First Reported In: | 5.50.0 | ||
Target Milestone: | --- | ||
Platform: | Other | ||
OS: | Linux | ||
Latest Commit: | https://commits.kde.org/solid/419a551baa3e2274bb13a7dad7b9d475eff39cd3 | Version Fixed In: | |
Sentry Crash Report: | |||
Attachments: |
screenshot demonstrating the bug
bug not found in Kubuntu Xenial |
Created attachment 113416 [details]
bug not found in Kubuntu Xenial
I notice that the bug is not seen in Kubuntu Xenial. I have attached a screenshot showing this as well as the respective versions.
Seems intentional, for some reason: https://cgit.kde.org/solid.git/tree/src/solid/devices/backends/fstab/fstabdevice.cpp#n37 This is a KDE bug tracker, so you should note down the KDE specific version. I don't know what Xenial is, and I don't care. Can you please provide your fstab, thanks! Git commit 419a551baa3e2274bb13a7dad7b9d475eff39cd3 by Stefan Brüns. Committed on 27/09/2018 at 15:37. Pushed by bruns into branch 'master'. [Fstab] Show non-empty share name in case root fs is exported Summary: The leading slash is stripped to save some space for the human readable description ("share on server"). In case of an exported root filesystem, this creates an empty export name, so readd the slash. Test Plan: Create two entries in fstab: `server:/ /mnt/a/ nfs defaults 0 0` `server:/b /mnt/b/ nfs defaults 0 0` run e.g. solid-hardware5 list details result ` description = '/ on server'` ` description = 'b on server'` Reviewers: #frameworks, broulik Reviewed By: broulik Subscribers: kde-frameworks-devel Tags: #frameworks Differential Revision: https://phabricator.kde.org/D15798 M +3 -0 src/solid/devices/backends/fstab/fstabdevice.cpp https://commits.kde.org/solid/419a551baa3e2274bb13a7dad7b9d475eff39cd3 |
Created attachment 113409 [details] screenshot demonstrating the bug Please see the attached screenshot. You can see that the entries in the middle are NFS entries reading as "SHARE on HOST" but they don't have the initial slash displayed so "/ on laptop" reads as " on laptop" etc. Please look into and fix this. Thank you.