[Solved] gvfs-mount deprecated

Questions about Wi-Fi and other network devices, file sharing, firewalls, connection sharing etc
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
Pastcal
Level 3
Level 3
Posts: 180
Joined: Tue May 07, 2013 12:06 pm

[Solved] gvfs-mount deprecated

Post by Pastcal »

Hmm, I'm getting a 'deprecated' message when I use gvfs-mount, for example:

$ gvfs-mount smb://192.168.0.4/tmp
This tool has been deprecated, use 'gio mount' instead.
See 'gio help mount' for more info.


However the gio mount help screen is not really all that much 'help'. Searching took me to this page: https://developer.gnome.org/gio/stable/GMount.html
which is also less clear than an un-muddied lake. I've tried all the options but non seems to mount the share. So does anyone have any idea of how to replace gvfs-mount.
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 3 times in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
User avatar
Flemur
Level 20
Level 20
Posts: 10097
Joined: Mon Aug 20, 2012 9:41 pm
Location: Potemkin Village

Re: gvfs-mount deprecated

Post by Flemur »

This might be better:
https://developer.gnome.org/gio/stable/gio.html

I think this might be more than just yet-another-man page:
https://www.systutorials.com/docs/linux/man/1-gio/

8 ways to mount smbfs - maybe you won't need gio:
https://www.linuxnix.com/8-ways-to-moun ... -in-linux/
However the gio mount help screen is not really all that much 'help'.
I ran into "gio" from gvfs-trash missing...I'd been waffling back and forth between mint 18.3 and 19, and that was the straw which made me decide to stick with 18.3.
Please edit your original post title to include [SOLVED] if/when it is solved!
Your data and OS are backed up....right?
altair4
Level 20
Level 20
Posts: 11433
Joined: Tue Feb 03, 2009 10:27 am

Re: gvfs-mount deprecated

Post by altair4 »

OLD: gvfs-mount smb://192.168.0.4/tmp
NEW: gio mount smb://192.168.0.4/tmp
Please add a [SOLVED] at the end of your original subject header if your question has been answered and solved.
Pastcal
Level 3
Level 3
Posts: 180
Joined: Tue May 07, 2013 12:06 pm

Re: gvfs-mount deprecated

Post by Pastcal »

Flemur wrote: Wed Aug 15, 2018 11:26 am <snipetty snip> the straw which made me decide to stick with 18.3.
Sound advice...
Pastcal
Level 3
Level 3
Posts: 180
Joined: Tue May 07, 2013 12:06 pm

Re: gvfs-mount deprecated

Post by Pastcal »

altair4 wrote: Wed Aug 15, 2018 11:46 am OLD: gvfs-mount smb://192.168.0.4/tmp
NEW: gio mount smb://192.168.0.4/tmp
All right Altair4. Also sound advice as always. Ta.
Locked

Return to “Networking”