LinuxCommandLibrary
GitHubF-DroidGoogle Play Store

gvfs-mount

mounts virtual filesystems through GVFS

TLDR

Mount remote location
$ gvfs-mount [smb://server/share]
copy
Mount SSH location
$ gvfs-mount [sftp://user@host]
copy
List mounted locations
$ gvfs-mount -l
copy
Unmount location
$ gvfs-mount -u [smb://server/share]
copy
Eject media
$ gvfs-mount -e [/dev/sr0]
copy

SYNOPSIS

gvfs-mount [options] [location...]gvfs-mount --list [options]gvfs-mount --unmount-scheme=SCHEME

DESCRIPTION

gvfs-mount mounts virtual filesystems through GVFS (GNOME Virtual File System). It supports various protocols including SMB/CIFS, SFTP, FTP, WebDAV, and MTP.GVFS provides a userspace filesystem layer, allowing file managers and applications to access remote resources transparently.

PARAMETERS

LOCATION

File or directory path or URI to mount.
-m, --mountable
Mount the specified location as a mountable, rather than the default mount operation.
-d, --device DEVICE
Mount the volume with the given device file.
-u, --unmount
Unmount the given locations.
-e, --eject
Eject the given locations.
-s, --unmount-scheme SCHEME
Unmount all mounts with the given scheme (e.g. smb, sftp).
-l, --list
List all known mounts.
-o, --monitor
Monitor mount and unmount events.
-i, --detail
Show extra information for --list and --monitor.
-h, --help
Print a short help text and exit.

SUPPORTED SCHEMES

$ smb://    SMB/CIFS network shares
sftp://   SSH file transfer
ftp://    FTP servers
dav://    WebDAV servers
mtp://    MTP devices (phones)
gphoto2:// PTP cameras
copy

CAVEATS

Part of the gvfs-bin command-line tools, deprecated in gvfs 1.31 (2016) and removed entirely in gvfs 1.38 (2018) in favor of the unified gio command (`gio mount`). Modern distributions no longer ship gvfs-mount. Requires a running GVFS daemon; mount points appear under /run/user/$UID/gvfs/.

HISTORY

gvfs-mount was part of GVFS's original gvfs-bin utilities, introduced for GNOME alongside GVFS in 2008 (GNOME 2.22). It has since been superseded by gio mount.

SEE ALSO

gio(1), mount(8), smbclient(1), fusermount(1)

RESOURCES

Braincup
Open source brain training for math, memory and focus
Braincup mini-games
41 mini-games · Apache-2.0
No ads · No tracking
Play in browser
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid
276 stars
From the maker of Linux Command Library
Copied to clipboard
Braincup
Open source brain training for math, memory and focus. 41 mini-games, from mental arithmetic to Sudoku, N-Back and Solo Chess.
Apache-2.0 licensed · No ads · No tracking · No account
From the maker of Linux Command Library
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid