|
miniOS
x86_64 hobby kernel with SMP, VFS, and POSIX process model
|
#include <fs_types.h>
Public Attributes | |
| uint8_t | major |
| uint8_t | minor |
vfs_mount_data_t - Generic mount parameters for block-backed filesystems.
Passed as the @data argument to vfs_mount_fstype() for any filesystem that reads from a block device. The FS implementation resolves the block device via blkdev_find(major, minor) to obtain the LBA bounds internally.
Example: vfs_mount_data_t d = { .major = BLKDEV_MAJOR_SATA, .minor = 1 }; vfs_mount_fstype("ext2", NULL, "/", &d);
| uint8_t vfs_mount_data_t::major |
| uint8_t vfs_mount_data_t::minor |