D15739: [Places panel] Don't show Root by default
Stefan BrĂ¼ns
noreply at phabricator.kde.org
Mon Jun 24 16:24:53 BST 2019
bruns added a comment.
In D15739#486020 <https://phabricator.kde.org/D15739#486020>, @fvogt wrote:
> In D15739#486009 <https://phabricator.kde.org/D15739#486009>, @bruns wrote:
>
> > It actually already does, via the fstab backend (currently network (SMB/NFS) and various fuse mounts). Fstab in this case also includes everything in MTAB, should be quite easy to extend this.
> >
> > What is the output of `cat /proc/self/mounts` (fell free to remove anything irrelevant, like cgroups)?
>
>
> The entries involved in / are these:
>
> /dev/sr0 /run/initramfs/live iso9660 ro,relatime 0 0
> /dev/loop0 /run/initramfs/squashfs_container squashfs ro,relatime 0 0
> /dev/loop1 /run/rootfsbase ext4 ro,relatime,data=ordered 0 0
> LiveOS_rootfs / overlay rw,relatime,lowerdir=/run/rootfsbase,upperdir=/run/overlayfs/rw,workdir=/run/overlayfs/work 0 0
>
Hm, loop1 is the `lowerdir` of the overlay - how are loop0 and sr0 involved, are these the backing files?
Though, the relevant part is `mntent.mnt.type == "overlay"` and `mntent.mnt_dir == "/"`. Matching for "overlay" is probably sufficient.
REPOSITORY
R241 KIO
REVISION DETAIL
https://phabricator.kde.org/D15739
To: meven, #dolphin, #vdg, tcanabrava, ngraham, elvisangelaccio
Cc: andriusr, fvogt, meven, elvisangelaccio, Codezela, davidc, tcanabrava, ndavis, romangg, bruns, davidedmundson, abetts, svenmauch, broulik, acrouthamel, kde-frameworks-devel, LeGast00n, michaelh, ngraham
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.kde.org/mailman/private/kfm-devel/attachments/20190624/f280926e/attachment.htm>
More information about the kfm-devel
mailing list