Diffusion Solid 419a551baa3e

[Fstab] Show non-empty share name in case root fs is exported

Authored by bruns on Sep 27 2018, 3:06 PM.

Description

[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.

BUG: 395562

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

Details

Committed
brunsSep 27 2018, 3:37 PM
Reviewer
broulik
Differential Revision
D15798: [Fstab] Show non-empty share name in case root fs is exported
Parents
R245:f25235915c26: API dox: fix @note, to be used without trailing :
Branches
Unknown
Tags
Unknown