![]() |
Max OS 0.3
|
Handles the FAT32 filesystem operations. More...
#include <fat32.h>
Public Member Functions | |
| Fat32FileSystem (drivers::disk::Disk *disk, uint32_t partition_offset) | |
| Construct a new Fat32 File System object. | |
Public Member Functions inherited from MaxOS::filesystem::FileSystem | |
| virtual | ~FileSystem () |
| Destructor for FileSystem, frees the root directory (Which in turn frees all files and subdirectories) | |
| Directory * | root_directory () |
| Get the directory at "/". | |
| Directory * | get_directory (const string &path) |
| Get the directory at a given path. | |
| bool | exists (const string &path) |
| Check if a path exists on the filesystem. | |
Additional Inherited Members | |
Protected Attributes inherited from MaxOS::filesystem::FileSystem | |
| Directory * | m_root_directory = nullptr |
| The fist directory in the file system (not be confused with the system root) | |
| Fat32FileSystem::Fat32FileSystem | ( | drivers::disk::Disk * | disk, |
| uint32_t | partition_offset | ||
| ) |
Construct a new Fat32 File System object.
| disk | The disk to mount the filesystem from |
| partition_offset | The partition offset on the disk |
Definition at line 989 of file fat32.cpp.
References MaxOS::filesystem::format::Fat32Volume::bpb, MaxOS::filesystem::FileSystem::m_root_directory, and MaxOS::filesystem::Directory::read_from_disk().