Retro Rocket Kernel BASIC-Powered Operating System

Data Fields
fs_tree_t Struct Reference

Used internally by filesystem.c to cache directories to RAM. More...

`#include <filesystem.h>`

Collaboration diagram for fs_tree_t:
[legend]

## Data Fields
uint8_t | dirty
char * | name
struct fs_tree_t * | parent
struct fs_tree_t * | child_dirs
struct fs_directory_entry_t * | files
struct filesystem_t * | responsible_driver
uint64_t | lbapos
char | device_name [16]
uint64_t | device
uint64_t | size
void * | opaque
struct fs_tree_t * | next

## Detailed Description

Used internally by filesystem.c to cache directories to RAM.

Also used to route requests for that directory through to their driver. Also used to attach a driver initially to its mountpoint UNIX-style. fs_tree_t structs are usually not usable or visible to non-filesystem drivers.

## Field Documentation

## ◆ child_dirs

struct fs_tree_t* fs_tree_t::child_dirs

## ◆ device

uint64_t fs_tree_t::device

## ◆ device_name

char fs_tree_t::device_name[16]

## ◆ dirty

uint8_t fs_tree_t::dirty

## ◆ files

struct fs_directory_entry_t* fs_tree_t::files

## ◆ lbapos

uint64_t fs_tree_t::lbapos

## ◆ name

char* fs_tree_t::name

## ◆ next

struct fs_tree_t* fs_tree_t::next

## ◆ opaque

void* fs_tree_t::opaque

## ◆ parent

struct fs_tree_t* fs_tree_t::parent

## ◆ responsible_driver

struct filesystem_t* fs_tree_t::responsible_driver

## ◆ size

uint64_t fs_tree_t::size