rev |
line source |
al@19850
|
1 # Virtual filesystem implementation for GIO
|
al@19850
|
2
|
al@19850
|
3 GVfs is a userspace virtual filesystem designed to work with the I/O abstraction
|
al@19850
|
4 of GIO (a library availible in GLib >= 2.15.1). It installs several modules that
|
al@19850
|
5 are automatically used by applications using the APIs of libgio. There is also
|
al@19850
|
6 FUSE support that allows applications not using GIO to access the GVfs
|
al@19850
|
7 filesystems.
|
al@19850
|
8
|
al@19850
|
9 The GVfs model differs from e.g. GnomeVFS in that filesystems must be mounted
|
al@19850
|
10 before they are used. There is a master daemon (gvfsd) that handles coordinating
|
al@19850
|
11 mounts, and then each mount is (typically) in its own daemon process (although
|
al@19850
|
12 mounts can share daemon process).
|
al@19850
|
13
|
al@19850
|
14 GVfs comes with a set of backends, including trash support, SFTP, SMB, HTTP,
|
al@19850
|
15 DAV, and others.
|
al@19850
|
16
|
al@19850
|
17 GVfs also contains modules for GIO that implement volume monitors and the GNOME
|
al@19850
|
18 URI scheme handler configuration.
|
al@19850
|
19
|
al@19850
|
20 There is a set of command line programs starting with "gvfs-" that lets you run
|
al@19850
|
21 commands (like `cat`, `ls`, `stat`, etc) on files in the GVfs mounts.
|
al@19850
|
22
|
al@19850
|
23 command | description
|
al@19850
|
24 --------|------------
|
al@19850
|
25 `gvfs-cat` | concatenates the given files and prints them to the standard output
|
al@19850
|
26 `gvfs-copy` | copies a file from one URI location to another
|
al@19850
|
27 `gvfs-info` | shows information about the given locations
|
al@19850
|
28 `gvfs-less` | executes less using the VFS as the input preprocesor, so less can access any resource accessible by any of the Gvfs backends
|
al@19850
|
29 `gvfs-ls` | lists information about the given locations
|
al@19850
|
30 `gvfs-mime` | is used to query information about applications that are registered to handle a mime-type, or set the default handler for a mime-type
|
al@19850
|
31 `gvfs-mkdir` | creates a directory specified by an URI
|
al@19850
|
32 `gvfs-monitor-dir` | prints information about file creation, deletion, file content and attribute changes and mount and unmount operations inside the specified directories
|
al@19850
|
33 `gvfs-monitor-file` | prints information about creation, deletion, content and attribute changes and mount and unmount operations affecting the monitored files
|
al@19850
|
34 `gvfs-mount` | provides commandline access to various aspects of GIOs mounting functionality
|
al@19850
|
35 `gvfs-move` | moves a file from one URI location to another
|
al@19850
|
36 `gvfs-open` | opens files with the default application that is registered to handle files of that type
|
al@19850
|
37 `gvfs-rename` | changes the name of a file or directory
|
al@19850
|
38 `gvfs-rm` | removes a file
|
al@19850
|
39 `gvfs-save` | reads from the standard input and saves the data to the given location
|
al@19850
|
40 `gvfs-set-attribute` | allows to set a file attribute on a file
|
al@19850
|
41 `gvfs-trash` | sends files or directories to the "Trashcan"
|
al@19850
|
42 `gvfs-tree` | lists the contents of the given directories recursively, in a tree-like format
|