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