C++ Programming on Linux - Libfuse Filesystem in Userspace

Publié le: 24 novembre 2023
sur la chaîne: Hui Yuan
1,431
26

This short video is going to discuss a new library, libfuse - Filesystem in userspace.

https://en.wikipedia.org/wiki/File_sy...
There are many academy terminology to define, explain and specify filesystem, in short words, Filesystem is Operating System manage how to store and retrieve your data using storage device.
There are many type of storages devices, like disk drive, optical devices (CD ROM), Tape, USB, SSD and RAM devices.
it is one of very importantly part of operating system kernel.

https://en.wikipedia.org/wiki/Filesys...
Filesystem in Userspace (FUSE) is a software interface for Unix and Unix-like computer operating systems that lets non-privileged users create
their own file systems without editing kernel code.

Filesystem operation, usually it requires super user privilege,
Example: to mount/unmount disk. partition disk, handle logic volume, volume group you have to log on as super user like root.
libfuse is able to let non-privileged users to handle such filesystem operation. it is bridge between API level and kernel level.

FUSE is particularly useful for writing virtual file systems API.
https://en.wikipedia.org/wiki/Virtual...
VFS - Virtual File system, is an abstract layer on top of a more concrete file system.
The purpose of a VFS is to allow client applications to access different types of concrete file systems in a uniform way
For example, be used to access local and network storage devices transparently without the client application noticing the difference.

Linux filesystem concept.
A filesystem is a method for storing and organizing data on a computer. In Linux, the file system is a crucial component of the operating system, responsible for managing data stored on disk and other storage devices.

Linux File System :
https://opensource.com/life/16/10/int...
https://www.scaler.com/topics/linux-t...
https://opensource.com/life/16/10/int...
https://www.geeksforgeeks.org/linux-f...
https://tekrants.files.wordpress.com/...

The example code has been uploaded onto :
https://github.com/yuanhui360/CPP-Pro...


Sur cette page du site, vous pouvez voir la vidéo en ligne C++ Programming on Linux - Libfuse Filesystem in Userspace durée heure minute seconde en bonne qualité , qui a été Téléchargé par l'utilisateur Hui Yuan 24 novembre 2023, Partagez le lien avec vos amis et connaissances, sur youtube cette vidéo a déjà été regardée 1,431 fois et il a aimé 26 téléspectateurs. Bon visionnage!