46#ifndef __EXT2_FS_EXT2_H
47#define __EXT2_FS_EXT2_H
97#define FS_EXT2_MOUNT_READONLY 0x00000000
98#define FS_EXT2_MOUNT_READWRITE 0x00000001
Definitions for a simple block device interface.
int fs_ext2_init(void)
Initialize fs_ext2.
int fs_ext2_mount(const char *mp, kos_blockdev_t *dev, uint32_t flags)
Mount an ext2 filesystem in the VFS.
int fs_ext2_unmount(const char *mp)
Unmount an ext2 filesystem from the VFS.
int fs_ext2_sync(const char *mp)
Sync an ext2 filesystem, flushing all pending writes to the block device.
int fs_ext2_shutdown(void)
Shut down fs_ext2.
A simple block device.
Definition blockdev.h:54