LinuxCommandLibrary

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]

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

-l, --list

List mounted locations.
-u, --unmount location
Unmount location.
-e, --eject location
Eject media.
-d, --device device
Mount device by path.
-s, --unmount-scheme scheme
Unmount all of scheme type.
-a, --anonymous
Use anonymous authentication.

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

Deprecated in favor of gio mount. Requires GVFS daemon. Mount points in /run/user/$UID/gvfs/. Desktop environment integration recommended.

HISTORY

gvfs-mount was part of GVFS, developed for GNOME to provide virtual filesystem access. The gvfs-* commands have been replaced by the unified gio command in modern GNOME.

SEE ALSO

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

> TERMINAL_GEAR

Curated for the Linux community

Copied to clipboard

> TERMINAL_GEAR

Curated for the Linux community