| 152 | } |
| 153 | |
| 154 | ssize_t Fat32Volume::Write(Fat32Node* node, size_t offset, size_t size, uint8_t *buffer){ |
| 155 | return -EROFS; |
| 156 | |
| 157 | List<uint32_t>* clusters = GetClusterChain(node->inode); |
| 158 | if(offset + size > clusters->get_length() * bootRecord->bpb.sectorsPerCluster * part->parentDisk->blocksize){ |
| 159 | // TODO: Allocate clusters |
| 160 | Log::Info("[FAT32] Allocating Clusters"); |
| 161 | |
| 162 | } |
| 163 | } |
| 164 | |
| 165 | void Fat32Volume::Open(Fat32Node* node, uint32_t flags){ |
| 166 |
nothing calls this directly
no test coverage detected