L4Re Operating System Framework
Interface and Usage Documentation
|
Basic interface for an L4Re::Vfs file system. More...
#include <vfs.h>
Public Member Functions | |
virtual char const * | type () const noexcept=0 |
Returns the type of the file system used in mount as fstype argument. | |
virtual int | mount (char const *source, unsigned long mountflags, void const *data, cxx::Ref_ptr< File > *dir) noexcept=0 |
Create a directory object dir representing source mounted with this file system. | |
Basic interface for an L4Re::Vfs file system.
The main purpose of this interface is to have a single object for each supported file-system type (e.g., ext2, vfat) that exists in the application and is registered at the L4Re::Vfs::Fs singleton available via L4Re::Vfs::vfs_ops. Ultimately, the POSIX mount function calls the File_system::mount method matching the file-system type given in mount.
|
pure virtualnoexcept |
Create a directory object dir representing source mounted with this file system.
source | The path to the source device to mount. This may also be some URL or anything file-system specific. | |
mountflags | The mount flags as specified in the POSIX mount call. | |
data | The data as specified in the POSIX mount call. The contents are file-system specific. | |
[out] | dir | A new directory object representing the file-system root directory. |
|
pure virtualnoexcept |
Returns the type of the file system used in mount as fstype argument.
Implemented in L4Re::Vfs::Be_file_system.