GVfs

GVfs
Stable release
1.56.1[1] Edit this on Wikidata / 18 October 2024
Repository
Operating systemLinux
PlatformGNOME
Typeabstraction layer for the files system
LicenseLGPL-2.0-or-later
Websitewiki.gnome.org/Projects/gvfs Edit this on Wikidata

GVfs (abbreviation for GNOME virtual file system) is GNOME's userspace virtual filesystem designed to work with the I/O abstraction of GIO, a library available in GLib since version 2.15.1. It installs several modules that are automatically used by applications using the APIs of libgio. There is also FUSE support that allows applications not using GIO to access the GVfs filesystems.

A cause of confusion is the fact that the file system abstraction used by the Linux kernel is also called the virtual file system (VFS) layer. This is however at a lower level.

The GVfs model differs from e.g. GnomeVFS, which it replaces, in that file systems must be mounted before they are used. There is a master daemon (gvfsd) that handles coordinating mounts, and then each mount is (typically) in its own daemon process (although mounts can share daemon process).

GVfs comes with a set of back-ends, including trash support, SFTP, FTP, WebDAV, SMB, and local data via Udev integration, OBEX, MTP and others.[2] GVfs does not seem to support the Files transferred over shell protocol (FISH).

GVfs also contains modules for GIO that implement volume monitors and the GNOME URI scheme handler configuration.

There is a set of arguments to the command line program "gio" that lets you run commands (like cat, ls, stat, mount, etc.) on files in the GVfs mounts.

Attached resources are exposed via a URI syntax, for example smb://server01/gamedata or ftp://username:[email protected]/public_html, but are also mounted in the traditional manner under ~/.gvfs/ or /run/user/$UID/gvfs or $XDG_RUNTIME_DIR/gvfs directory[3][4] to make them available to applications using standard POSIX commands and I/O.

Technical details

The option x-gvfs-show for the gvfs-udisks2-volume-monitor process determines whether a mounted device is shown or not[5] in GNOME Files. Screenshot of GNOME Disks.

Along with generally useful APIs such as networking and D-Bus support, GIO also provides a VFS API to applications. GVfs provides implementations that go beyond that and allow to access files and storage using many protocols. GVfs provides implementations for various network file systems as loadable modules. Additionally GVfs also provides support for trash, network or recent folders, for CD burning and for monitoring interesting devices and volumes on the computer.

The goal of GVfs has been to overcome the shortcomings of GnomeVFS[6] and provide an API that is so good that developers prefer it over raw POSIX calls. Among other things that means using GObject. It also means not cloning the POSIX API, but providing higher-level, document-centric interfaces. GTK can directly use it, e.g. in the filechooser.

Applications use GVfs indirectly, by means of GIO loading the GVfs module that implements the GIO extension points. The GVfs main daemon gvfsd spawns further mount daemons for each individual connection. The GVfs support for volume monitoring is included in a separate loadable module.

The actual GVfs implementation is distributed over a number of processes.

GVfs can use FUSE to mount its VFS directly onto the filesystem.[7] It consists of two parts:[8]

  1. a shared library which is loaded by applications supporting GIO
  2. GVfs itself, which contains a collection of daemons which communicate with each other and the GIO module over D-Bus.

A collection of command-line utilities (such as gvfs-mount, gvfs-less) works with VFS resources.[9]

Daemon task
Main
gvfsd gvfsd is the main daemon of GVfs. It provides the "org.gtk.vfs.Daemon" name on the session bus. gvfsd is autostarted by GIO clients if it is not running. The primary task of gvfsd is to act as a mount tracker/manager. It spawns new back-ends when requested and keeps track of their lifecycle, maintaining a list of active mounts and creates direct connections to them. gvfsd also starts the gvfsd-fuse(1), and provides it the mount point where the fuse file system should be mounted.
gvfsd-fuse gvfsd-fuse maintains a FUSE (Filesystem in Userspace) mount to make GVfs back-ends available to POSIX applications. The mount point for the fuse filesystem is provided by the [PATH] argument. gvfsd-fuse is normally started by gvfsd.
gvfsd-metadata gvfsd-metadata is a daemon acting as a write serialiser to the internal gvfs metadata storage. It is autostarted by GIO clients when they make metadata changes. Read operations are done by client-side GIO code directly, and don't require the daemon to be running. The gvfs metadata capabilities are used by the GNOME Files file manager, for example.
Volume monitors
gvfs-goa-volume-monitor support for GNOME Online Accounts (cf. GNOME Online Accounts in the GNOME wiki)
gvfs-gphoto2-volume-monitor support for the Picture Transfer Protocol as implemented in gPhoto
gvfs-mtp-volume-monitor support for the Media Transfer Protocol
gvfs-udisks2-volume-monitor The gvfs-udisks2-volume-monitor process is responsible for the disks, media, mounts and fstab entries shown in the desktop user interface. In particular, GNOME Shell, GNOME Files as well as any other application using the GLib APIs, is using information from this process.[5] In Debian it is distributed as part of the gvfs-daemons package.[10] It is not to be confused with udisksd and udisksctl, which are part of the udisks2 package.[11]
udisks: The udisks daemon serves as an interface to system block devices, implemented via D-Bus. It handles operations such as querying, mounting, unmounting, formatting, or detaching storage devices such as hard disks or USB thumb drives.
gvfs-afc-volume-monitor support for Apple File Conduit
Mount back-ends
gvfsd-afc mounts iPhone/iPod touch volumes
gvfsd-afp mounts Apple Filing Protocol volumes
gvfsd-afp-browse browses Apple Filing Protocol volumes
gvfsd-archive mounts archive files in various formats
gvfsd-burn provides a location for burning CDs/optical discs
gvfsd-cdda mounts audio CDs
gvfsd-computer provides computer://
gvfsd-dav mounts DAV filesystems
gvfsd-dnssd browses DNS-SD
gvfsd-ftp mounts over FTP
gvfsd-gphoto2 mounts over PTP, meaning GVfs uses libgphoto2 to expose on-camera photos to GNOME applications via the VFS
gvfsd-http mounts over HTTP
gvfsd-localtest a test backend
gvfsd-mtp mounts over MTP
gvfsd-network provides network://
gvfsd-nfs mounts over NFS protocol
gvfsd-recent provides recent://
gvfsd-sftp mounts over sftp
gvfsd-smb mounts SMB (i.e. Windows Shares Filesystem) volumes
gvfsd-smb-browse browses Windows Shares Filesystem volumes
gvfsd-trash provides trash://

Please refer to https://wiki.gnome.org/Projects/gvfs/backends for the official documentation.

Hot plugging

Devices connected over eSATA or USB are (supposed to be) physically hot-pluggable. When a device is physically connected to or physically removed from the computer system, the Linux kernel notices and sends out an event to user-space. systemd-udevd receives such events and responds to them according to its quite comprehensive configuration:

  • manages the special file system devfs mounted to /dev, hence systemd-udevd dynamically creates and removes device nodes from /dev, it also loads drivers as necessary at boot time
  • in case of a block device systemd-udevd notifies udisksd, and gvfsd and gvfs-udisks2-volume-monitor.[12]

The udisks2 daemon udisksd serves as an interface to system block devices, implemented via D-Bus. It handles operations such as querying, mounting, unmounting, formatting, or detaching storage devices such as hard disks or USB thumb drives. This package also provides the udisksctl utility, which can be used to trigger these operations from the command line (if permitted by PolicyKit).

Packaging

In Debian the GVfs is packaged into four packages: gvfs, gvfs-daemons, gvfs-bin and gvfs-backends.

See also

  • GNOME Files, the file manager for GNOME desktops, allows users to interact with GVfs filesystems
  • Thunar, the file manager for the Xfce desktop environment, also provides filesytem abstraction using the GVfs library
  • KIO, a similar facility for KDE systems
  • Archivemount, a virtual filesystem implementation specifically for accessing archive files

References

  1. ^ "Release 1.56.1". 18 October 2024. Retrieved 21 October 2024.
  2. ^ GNOME 2.22 Release Notes, 6.1: GVfs and GIO Archived 2008-06-01 at the Wayback Machine
  3. ^ "gvfsd-fuse.1 - manned.org". manned.org. Retrieved 18 April 2018.
  4. ^ "Nautilus' remote folder default mount point". askubuntu.com. Retrieved 18 April 2018.
  5. ^ a b "udisks2/what-is-shown.txt". 5 December 2012..
  6. ^ "Plans for gnome-vfs replacement". mail.gnome.org. Retrieved 18 April 2018.
  7. ^ "gvfs status report". mail.gnome.org. Retrieved 18 April 2018.
  8. ^ "Using GNOMEvfs to manipulate files", Linux.com
  9. ^ "OpenSolaris 2009.06 - man page for gvfs-mount (opensolaris section 1) - Unix & Linux Commands". www.unix.com. Retrieved 18 April 2018.
  10. ^ "filelist of gvfs-daemons package".
  11. ^ "filelist of udisks2 package".
  12. ^ David Zeuthen (2014-05-28). "Modern Mounting with Udisks2".

Read other articles:

artikel ini tidak memiliki pranala ke artikel lain. Tidak ada alasan yang diberikan. Bantu kami untuk mengembangkannya dengan memberikan pranala ke artikel lain secukupnya. (Pelajari cara dan kapan saatnya untuk menghapus pesan templat ini) General Atomics Aeronautical Systems, Inc. (GA-ASI), afiliasi dari General Atomics, menyediakan kendaraan udara tak berawak dan solusi radar militer dan aplikasi komersial di seluruh dunia. Divisi Aircraft Systems Group Reconnaissance Systems Group Produk ...

 

International basketball tournament19th Olympic Basketball TournamentRio de Janeiro 2016Tournament detailsOlympics2016 Summer OlympicsHost nationBrazilCityRio de JaneiroVenueCarioca Arena 1Youth ArenaDuration6–21 August 2016Men's tournamentTeams12 Medals Gold medalists  United States Silver medalists Serbia Bronze medalists  Spain Women's tournamentTeams12 Medals Gold medalists  United States Silver medalists Spain Bronze medalists  Serbia Official websit...

 

Concepción Cabrera de Armida Concepción Cabrera de Armida (8 Desember 1862 – 3 Maret 1937) adalah seorang penulis asal Meksiko. Ia lahir di San Luis Potosi, Meksiko dari pasangan Octaviano Cabrera Lacaveux dan Clara Arias Rivera sebagai anak ketujuh dari 12 bersaudara. Dua hari setelah lahir, ia dibaptis di Katedral San Juan de Dios. Pada 8 Desember 1872, ia menerima Sakramen Mahakudus. Ia berguru kepada para Suster Cinta Kasih (Hermanas de la Caridad). Pada 16 Januari 1876,...

Artikel ini tidak memiliki referensi atau sumber tepercaya sehingga isinya tidak bisa dipastikan. Tolong bantu perbaiki artikel ini dengan menambahkan referensi yang layak. Tulisan tanpa sumber dapat dipertanyakan dan dihapus sewaktu-waktu.Cari sumber: Perdagangan – berita · surat kabar · buku · cendekiawan · JSTOR Intérêts des nations de l'Europe, dévélopés relativement au commerce, 1766 Perdagangan, niaga, atau jual beli adalah kegiatan tukar me...

 

County in Missouri, United States For other uses, see Webster County. County in MissouriWebster CountyCountyWebster County Courthouse in MarshfieldLocation within the U.S. state of MissouriMissouri's location within the U.S.Coordinates: 37°17′N 92°52′W / 37.28°N 92.87°W / 37.28; -92.87Country United StatesState MissouriFoundedMarch 3, 1854Named forDaniel WebsterSeatMarshfieldLargest cityMarshfieldArea • Total594 sq mi (1,540 ...

 

Peta anak benua India, secara historis disebut 'India' oleh berbagai komentator asing. Penyatuan Kembali India atau Reunifikasi India mengacu pada potensi penyatuan India (Republik India) dengan negara-negara yang sekarang disebut Bangladesh dan Pakistan. Pakistan dipisahkan dari India Britania pada tahun 1947. Latar belakang Peta India Britania (1893) Pada tahun 1947, India Britania dipartisi ke dalam Uni Dominion of India modern dan Dominion Pakistan, yang terakhir termasuk India barat laut...

Wayne Mark Rooney Rooney bersama Manchester United pada tahun 2016Informasi pribadiNama lengkap Wayne Rooney[1]Tanggal lahir 24 Oktober 1985 (umur 38)Tempat lahir Croxteth, LiverpoolTinggi 176 cm (5 ft 9 in)[2]Posisi bermain Penyerang, GelandangInformasi klubKlub saat ini Birmingham City F.C. (Kepala pelatih)Nomor 10Karier junior Liverpool Schoolboys Copplehouse Boys1996–2002 EvertonKarier senior*Tahun Tim Tampil (Gol)2002–2004 Everton 67 (15)2004–20...

 

American college basketball season 2018–19 Memphis Tigers men's basketballNIT, Second RoundConferenceAmerican Athletic ConferenceRecord22–14 (11–7 AAC)Head coachPenny Hardaway (1st season)Assistant coaches Tony Madlock Mike Miller Sam Mitchell Home arenaFedExForumSeasons← 2017–182019–20 → 2018–19 American Athletic Conference men's basketball standings vte Conf Overall Team W   L   PCT W   L   PCT No. 11 Houston 16 – 2  ...

 

Artikel ini sebatang kara, artinya tidak ada artikel lain yang memiliki pranala balik ke halaman ini.Bantulah menambah pranala ke artikel ini dari artikel yang berhubungan atau coba peralatan pencari pranala.Tag ini diberikan pada Desember 2022. Artikel ini sebatang kara, artinya tidak ada artikel lain yang memiliki pranala balik ke halaman ini.Bantulah menambah pranala ke artikel ini dari artikel yang berhubungan atau coba peralatan pencari pranala.Tag ini diberikan pada Oktober 2022. Mara B...

Историческое государствоИмперия Хотакипушту ‎هوټکی‎ перс. هوتاکی‎ Флаг ← ←   → 1709 — 1738 Столица Кандагар (1709–1722), (1725–1738) Исфахан (1722–1729) Официальный язык Персидский и Пушту Религия Ислам суннитского толка Форма правления Абсолютная монархия Эмир  •&...

 

Product and process of planning, designing and constructing buildings and other structures For other uses, see Architecture (disambiguation). In adding the dome to the Florence Cathedral (Italy) in the early 15th century, the architect Filippo Brunelleschi not only transformed the building and the city, but also the role and status of the architect.[1][2] Architecture is the art and technique of designing and building, as distinguished from the skills associated with construct...

 

Carte des Communautés de BelgiqueCommunauté flamande (en vert)Communauté française(en rouge)Région de Bruxelles-Capitale (où les 2 communautés ont des compétences, striée vert et rouge)Communauté germanophone (en bleu) Les communautés de Belgique sont des collectivités politiques fédérées autonomes, compétentes en matière d'enseignement, de culture, de politique de santé, d'aide aux personnes et d'emploi des langues[1]. Elles sont créées lors de la première réforme de l'...

The Teaching Company audiovisual college courses This article contains content that is written like an advertisement. Please help improve it by removing promotional content and inappropriate external links, and by adding encyclopedic content written from a neutral point of view. (October 2023) (Learn how and when to remove this message)WondriumCompany typePrivateIndustryEducationFounded1990; 34 years ago (1990)FoundersThomas M. RollinsHeadquartersChantilly, Virginia, United ...

 

Public school in North Carolina, United States T.C. Roberson High SchoolLocation250 Overlook RdAsheville, North Carolina 28803United StatesCoordinates35°29′10″N 82°32′06″W / 35.486225°N 82.5351218°W / 35.486225; -82.5351218InformationSchool typePublicEstablished1962 (62 years ago) (1962)School districtBuncombe County Schools SystemCEEB code343630PrincipalNathan AllisonFaculty96.74 (FTE)[1]Enrollment1,470 (2019-20)[1]Student to ...

 

69th (South Lincolnshire) Regiment of FootActive10 December 1756–1 July 1881Country Kingdom of Great Britain (1756–1800) United Kingdom (1801–1881)Branch British ArmyTypeInfantrySizeOne battalion (two battalions 1795–1796 and 1803–1816)Garrison/HQMaindy Barracks, CardiffNickname(s)The Ups and DownsThe Old Agamemnons[1]EngagementsSeven Years' WarNapoleonic WarsFenian raidsMilitary unit The 69th (South Lincolnshire) Regiment of Foot was an infantry regiment of t...

Orléanais BenderaLambang kebesaranCountryFranceZona waktuCET Orléanais (pengucapan bahasa Prancis: [ɔʁleanɛ]) adalah bekas provinsi di Prancis yang berada di sekitar kota-kota Orléans, Chartres, dan Blois. Nama ini berasal dari Orléans, kota utama dan ibu kota tradisional. Provinsi ini dahulunya merupakan salah satu yang masuk wilayah Prancis yang dipecah sebelum Revolusi Prancis. Wilayah ini merupakan negara di sekitar Orléans, pagus Aurelianensis; yang terletak di kedua tepi S...

 

2004 United States House of Representatives elections in Oregon ← 2002 November 2, 2004 (2004-11-02) 2006 → All 5 Oregon seats to the United States House of Representatives   Majority party Minority party   Party Democratic Republican Last election 4 1 Seats won 4 1 Seat change Popular vote 951,688 761,545 Percentage 53.70% 42.97% Swing 0.88% 0.32% Democratic   50–60%   60–70%   70–80% Repu...

 

Charlton Heston Heston en 1953Información personalNombre de nacimiento John Charles CarterOtros nombres ChuckNacimiento 4 de octubre de 1923Evanston, Illinois, Estados UnidosFallecimiento 5 de abril de 2008 (84 años)Beverly Hills, California, Estados UnidosCausa de muerte Neumonía y enfermedad de Alzheimer Sepultura Columbario de la Iglesia Episcopal de San Mateo, Pacific PalisadesNacionalidad EstadounidenseReligión Iglesia episcopal en los Estados Unidos Lengua materna Inglés Carac...

For other uses, see County Hall, London (disambiguation). County building in London, England County HallCounty Hall from Westminster BridgeLocationLambethCoordinates51°30′7″N 0°7′8″W / 51.50194°N 0.11889°W / 51.50194; -0.11889Built1911–1939; 85 years ago (1939)ArchitectRalph KnottArchitectural style(s)Edwardian Baroque style Listed Building – Grade II*Designated19 October 1951Reference no.1358192 Shown in Lambeth County Hall (some...

 

Si ce bandeau n'est plus pertinent, retirez-le. Cliquez ici pour en savoir plus. Cet article ne s'appuie pas, ou pas assez, sur des sources secondaires ou tertiaires (février 2023). Pour améliorer la vérifiabilité de l'article ainsi que son intérêt encyclopédique, il est nécessaire, quand des sources primaires sont citées, de les associer à des analyses faites par des sources secondaires. Pour les articles homonymes, voir Corning. Corning Incorporated Création 1851 Fondateurs Amory...