After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 786570 - Mounted Drives aren't listed in 'Other locations'
Mounted Drives aren't listed in 'Other locations'
Status: RESOLVED DUPLICATE of bug 781867
Product: gvfs
Classification: Core
Component: udisks2 volume monitor
1.30.x
Other Linux
: Normal normal
: ---
Assigned To: gvfs-maint
gvfs-maint
Depends on:
Blocks:
 
 
Reported: 2017-08-21 14:28 UTC by Kaartic
Modified: 2017-10-06 12:07 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Partitions displayed in gnome-disk-utility (79.07 KB, image/png)
2017-08-23 01:53 UTC, Kaartic
Details
'Other locations' view not showing the mounted disks (53.81 KB, image/png)
2017-08-23 01:55 UTC, Kaartic
Details
/mnt listing the mounted drives (64.21 KB, image/png)
2017-08-23 01:58 UTC, Kaartic
Details
Output of 'udiskctl dump' (24.81 KB, text/plain)
2017-08-27 09:17 UTC, Kaartic
Details
fstab (1.07 KB, text/plain)
2017-08-27 09:18 UTC, Kaartic
Details
GIO_USE_VOLUME_MONITOR=unix gvfs-mount -l (3.76 KB, text/plain)
2017-08-31 15:27 UTC, Kaartic
Details
gvfs-mount -l (238 bytes, text/plain)
2017-08-31 15:27 UTC, Kaartic
Details
Output of 'mount' (2.79 KB, text/plain)
2017-09-05 16:23 UTC, Kaartic
Details

Description Kaartic 2017-08-21 14:28:54 UTC
All was fines until a recent upgrade. Nautilus 3.22.3 stopped listing the mounted drives in the 'Other locations' view. I find it difficult to manoeuvre to the /mnt directory each time I wish to access them.

Steps to reproduce
1. Open nautilus
2. Tap on the 'Other locations' option on the left pane

Expected results
The mounted drives are lsited

Actual results
Only the drive which have operating systems on them are listed. i.e., only the ext4 ones are listed and not the other NTFS ones that I have.
Comment 1 António Fernandes 2017-08-21 14:30:23 UTC
Are those drives missing from the sidebar too?
Comment 2 Carlos Soriano 2017-08-21 15:25:01 UTC
also, what version of gtk+?
Comment 3 Kaartic 2017-08-21 17:06:30 UTC
(In reply to António Fernandes from comment #1)
> Are those drives missing from the sidebar too?

I haven't seen them in the side bar since the time I've started using nautilus. Anyways, it's my mistake that I haven't mentioned the distribution and the desktop environment.

Base system: Debian GNU/Linux buster/sid 64-bit
Desktop environment: GNOME

(In reply to Carlos Soriano from comment #2)
> also, what version of gtk+?

I guess it's the one I get from dpkg -l libgtk* which is,

libgtk-3-0:amd64          3.22.18-1
Comment 4 António Fernandes 2017-08-21 17:22:13 UTC
One more thing I forgot to ask before:

Are you sure those drives are 'mounted'? How did you mount them? Was it from the command line? Or have you configured your system to always mount them? If so, how?
Comment 5 Kaartic 2017-08-23 01:51:58 UTC
(In reply to António Fernandes from comment #4)
> One more thing I forgot to ask before:
> 
> Are you sure those drives are 'mounted'?

Yes

> How did you mount them? Was it from the command line? Or have you configured your system to always mount them?
> If so, how?

I've configured the system to mount them at startup. I did that using gnome-disk-utility. I checked the 'Mount at startup' option from the 'Mount options' menu for the corresponding disk.

One small correction to the 'Description', I wrongly stated that the drives that were missing were NTFS ones. They are ext4 ones too.

Just for the note, nautilus was *listing* the mounted disks in the 'Other options' menu until that upgrade. It was just after that did I stop seeing them in the list.
Comment 6 Kaartic 2017-08-23 01:53:36 UTC
Created attachment 358189 [details]
Partitions displayed in gnome-disk-utility

Adding a few screen shots to make things clear.
Comment 7 Kaartic 2017-08-23 01:55:23 UTC
Created attachment 358190 [details]
'Other locations' view not showing the mounted disks

Note that I've bookmarked the drives to avoid manoeuvering for the time being.
Comment 8 Kaartic 2017-08-23 01:58:28 UTC
Created attachment 358191 [details]
/mnt listing the mounted drives

Note that the folders with the UUIDs found in /mnt aren't mounted. They are left back after I switched the way the disks were identified from 'UUID' to 'Label'.
Comment 9 Ondrej Holy 2017-08-23 09:41:20 UTC
Can you please provide output from "gvfs-mount -li"? If the disk is not listed there, then I would like to see your fstab and output from "udisksctl dump"...
Comment 10 Kaartic 2017-08-27 09:17:29 UTC
Created attachment 358503 [details]
Output of 'udiskctl dump'

The drive wasn't listed in "gvfs-mount -li", so attaching the "udiskctl dump".
Comment 11 Kaartic 2017-08-27 09:18:58 UTC
Created attachment 358504 [details]
fstab
Comment 12 Ondrej Holy 2017-08-31 06:41:19 UTC
Thanks for the attachments, they look ok. Reassigning to gvfs tentatively, because x-gvfs-show is probably ignored for some reason.
Comment 13 Ondrej Holy 2017-08-31 13:51:07 UTC
I've already seen such bug reports that x-gvfs-show/x-gvfs-hide doesn't work with certain glib versions, but I am not able to reproduce it :-(

Do you see the mounts in "GIO_USE_VOLUME_MONITOR=unix gvfs-mount -l" output? If yes, doesn't help if you restart the gvfs monitors before, e.g. "pkill gvfs; gvfs-mount -l"?
Comment 14 Kaartic 2017-08-31 15:26:27 UTC
(In reply to Ondrej Holy from comment #13) 
> Do you see the mounts in "GIO_USE_VOLUME_MONITOR=unix gvfs-mount -l" output?
Yes.

> If yes, doesn't help if you restart the gvfs monitors before, e.g. "pkill
> gvfs; gvfs-mount -l"?
I'm actually a little stuck here about what the correct output of "gvfs-mount -l" should be. I suppose I should be able to see the "different partitions" of the same disk as "different mounts". If what I suppose is correct then I don't see the mounts even after doing

    $ pkill gvfs
    $ gvfs-mount -l

In any case, I'll attach the output of "GIO_USE_VOLUME_MONITOR=unix gvfs-mount -l" and "gvfs-mount -l" just for the reference.
Comment 15 Kaartic 2017-08-31 15:27:16 UTC
Created attachment 358861 [details]
GIO_USE_VOLUME_MONITOR=unix gvfs-mount -l
Comment 16 Kaartic 2017-08-31 15:27:44 UTC
Created attachment 358862 [details]
gvfs-mount -l
Comment 17 Ondrej Holy 2017-09-01 07:16:35 UTC
Thanks. You are right, you should see volumes and mounts for the entries from fstab. "GIO_USE_VOLUME_MONITOR=unix gvfs-mount -l" seems ok, but "gvfs-mount -l" is wrong. Hmm, what are your gvfs and glib versions?
Comment 18 Ondrej Holy 2017-09-04 10:07:24 UTC
Can you please also attach output from "mount"?
Comment 19 Kaartic 2017-09-05 16:15:27 UTC
(In reply to Ondrej Holy from comment #17)
> Hmm, what are your gvfs and glib versions?

gvfs - 1.30.4-1+b1 

I got a lot of packages containing 'glib' in the output of 'dpkg -l'? I guess it's the one which has it's name as "libglib2.0-0:amd64" and description as "GLib library of C routines" It's version is 2.53.4-3. Note: As I'm in the testing channel of debian the versions might change in near future. In case it shouldn't let me know, so I would stop upgrading the device until this gets resolved.
Comment 20 Kaartic 2017-09-05 16:23:54 UTC
Created attachment 359208 [details]
Output of 'mount'

Note: I have split one of the partitions into two. So, it might not be possible to compare this output with previous attachments.
Comment 21 Ondrej Holy 2017-09-05 16:57:21 UTC
Thanks! Finally something useful. Among others, mount output doesn't contain the x-gvfs-show options, but I see them in my environment. That's probably the reason. I will discuss it with util-linux maint...
Comment 22 Kaartic 2017-09-06 08:00:31 UTC
(In reply to Ondrej Holy from comment #21)
> Thanks! Finally something useful. Among others, mount output doesn't contain
> the x-gvfs-show options, but I see them in my environment. That's probably
> the reason. I will discuss it with util-linux maint...

You're welcome! One small off-topic thing I wanted to know, Why is bug reporting for 'nautilus' disabled?
Comment 23 Carlos Soriano 2017-09-06 08:14:00 UTC
(In reply to Kaartic from comment #22)
> (In reply to Ondrej Holy from comment #21)
> > Thanks! Finally something useful. Among others, mount output doesn't contain
> > the x-gvfs-show options, but I see them in my environment. That's probably
> > the reason. I will discuss it with util-linux maint...
> 
> You're welcome! One small off-topic thing I wanted to know, Why is bug
> reporting for 'nautilus' disabled?

Hey, how did you found out that? What link did tell you it's disabled? Nautilus moved to GitLab, we might be missing one redirection.
https://gitlab.gnome.org/GNOME/nautilus
Comment 24 Kaartic 2017-09-12 04:04:28 UTC
(In reply to Carlos Soriano from comment #23)
> 
> Hey, how did you found out that? What link did tell you it's disabled?

I was trying to file a bug and was searching for 'Nautilus' in the list but couldn't find it. As I have previously field bugs on 'nautilus', I went to the 'My Bugs' page from the Bugzilla home page and tapped on the link to 'nautilus' found in the second column of a previous bug description. Anyways, seems you have already found that as it seems to be redirecting correctly.

BTW, you may have to update the links in the following wiki pages,

1. 'Code & Bugs' section of https://wiki.gnome.org/Apps/Nautilus/Resources

2. (possibly) 'list of newcomer bugs' link found in https://wiki.gnome.org/Apps/Nautilus/Contribute
Comment 25 Ondrej Holy 2017-10-06 12:07:48 UTC
It should be fixed by the latest patch from Bug 781867.

*** This bug has been marked as a duplicate of bug 781867 ***