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

Stefan BrĂ¼ns noreply at phabricator.kde.org
Thu Sep 27 16:21:34 BST 2018


bruns created this revision.
bruns added a reviewer: Frameworks.
Herald added a project: Frameworks.
Herald added a subscriber: kde-frameworks-devel.
bruns requested review of this revision.

REVISION 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'`

REPOSITORY
  R245 Solid

BRANCH
  ensure_nonempty_nfs_exportname

REVISION DETAIL
  https://phabricator.kde.org/D15798

AFFECTED FILES
  src/solid/devices/backends/fstab/fstabdevice.cpp

To: bruns, #frameworks
Cc: kde-frameworks-devel, michaelh, ngraham, bruns
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20180927/8701aa52/attachment.html>


More information about the Kde-frameworks-devel mailing list