Commit af72ce0
committed
placesManager: Improve mounts
- Pretty much any mount can unmount(), what we really want to know
when asking if a device is removable is if the mount.can_eject().
- Don't list mounts which are shadowed (whether or not they have a
drive)
- Don't list mounts which have no volumes. These are likely to be
system or technical mounts (loops, overlays etc..). One example
of this are docker overlays.1 parent 9cf30b7 commit af72ce0
1 file changed
+5
-15
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
105 | 105 | | |
106 | 106 | | |
107 | 107 | | |
108 | | - | |
| 108 | + | |
109 | 109 | | |
110 | 110 | | |
111 | 111 | | |
| |||
465 | 465 | | |
466 | 466 | | |
467 | 467 | | |
468 | | - | |
469 | | - | |
470 | | - | |
471 | | - | |
472 | | - | |
473 | | - | |
474 | | - | |
475 | | - | |
476 | | - | |
477 | | - | |
478 | | - | |
479 | | - | |
480 | 468 | | |
481 | 469 | | |
482 | 470 | | |
| |||
563 | 551 | | |
564 | 552 | | |
565 | 553 | | |
566 | | - | |
567 | | - | |
| 554 | + | |
| 555 | + | |
| 556 | + | |
| 557 | + | |
568 | 558 | | |
569 | 559 | | |
570 | 560 | | |
| |||
0 commit comments