D22080: [Fstab] Show mounted "overlay" filesystems

Stefan BrĂ¼ns noreply at phabricator.kde.org
Mon Jun 24 17:42:43 BST 2019


bruns created this revision.
bruns added reviewers: ngraham, fvogt, broulik.
Herald added a project: Frameworks.
Herald added a subscriber: kde-frameworks-devel.
bruns requested review of this revision.

REVISION SUMMARY
  Overlay filesystems are not enumerated by udisks, so add support for these
  to the fstab backend
  
  See also D15739 <https://phabricator.kde.org/D15739>

TEST PLAN
  $> grep overlay /proc/self/mounts
  
  NAME /mnt overlay rw,relatime,lowerdir=/home/stefan/tmp/,upperdir=/tmp/overlay/rw,workdir=/tmp/overlay/work 0 0
  NAME /home/stefan/tmp2 overlay rw,relatime,lowerdir=/home/stefan/tmp/,upperdir=/tmp/overlay2/rw,workdir=/tmp/overlay2/work 0 0
  
  $> solid-hardware5 list details
  ...
  udi = '/org/kde/fstab/overlay/mnt'
  
    parent = '/org/kde/fstab'  (string)
    vendor = 'overlay'  (string)
    product = '/mnt'  (string)
    description = '/mnt (overlay)'  (string)
    icon = 'folder'  (string)
    StorageAccess.accessible = true  (bool)
    StorageAccess.filePath = '/mnt'  (string)
    StorageAccess.ignored = false  (bool)
  
  udi = '/org/kde/fstab/overlay/home/stefan/tmp2'
  
    parent = '/org/kde/fstab'  (string)
    vendor = 'overlay'  (string)
    product = '~/tmp2'  (string)
    description = '~/tmp2 (overlay)'  (string)
    icon = 'folder'  (string)
    StorageAccess.accessible = true  (bool)
    StorageAccess.filePath = '/home/stefan/tmp2'  (string)
    StorageAccess.ignored = false  (bool)

REPOSITORY
  R245 Solid

BRANCH
  submit

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

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

To: bruns, ngraham, fvogt, broulik
Cc: kde-frameworks-devel, LeGast00n, michaelh, ngraham, bruns
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20190624/be60077b/attachment-0001.html>


More information about the Kde-frameworks-devel mailing list