PatchworkOS  da8a090
A non-POSIX operating system.
Loading...
Searching...
No Matches
mount_t Struct Reference

Mount structure. More...

#include <mount.h>

Collaboration diagram for mount_t:

Data Fields

ref_t ref
 
mount_id_t id
 
dentry_tsource
 The dentry to appear at target once mounted, usually the root dentry of the mounted filesystem.
 
dentry_ttarget
 The dentry which the source is mounted to, can be NULL for the root filesystem.
 
superblock_tsuperblock
 The superblock of the mounted filesystem.
 
mount_tparent
 The parent mount, can be NULL for the root filesystem.
 
mode_t mode
 Specifies the maximum permissions for this mount and if it is a directory or a file.
 

Detailed Description

Mount structure.

Mounts are owned by the VFS, not the filesystem.

Definition at line 43 of file mount.h.

Field Documentation

◆ ref

ref_t mount_t::ref

Definition at line 45 of file mount.h.

◆ id

mount_id_t mount_t::id

Definition at line 46 of file mount.h.

◆ source

dentry_t* mount_t::source

The dentry to appear at target once mounted, usually the root dentry of the mounted filesystem.

Definition at line 48 of file mount.h.

◆ target

dentry_t* mount_t::target

The dentry which the source is mounted to, can be NULL for the root filesystem.

Definition at line 49 of file mount.h.

◆ superblock

superblock_t* mount_t::superblock

The superblock of the mounted filesystem.

Definition at line 50 of file mount.h.

◆ parent

mount_t* mount_t::parent

The parent mount, can be NULL for the root filesystem.

Definition at line 51 of file mount.h.

◆ mode

mode_t mount_t::mode

Specifies the maximum permissions for this mount and if it is a directory or a file.

Definition at line 52 of file mount.h.


The documentation for this struct was generated from the following file: