KallistiOS git master
Independent SDK for the Sega Dreamcast
Loading...
Searching...
No Matches
Mount Flags

Mount flags for fs_ext2 More...

Macros

#define FS_EXT2_MOUNT_READONLY   0x00000000
 Mount read-only.
 
#define FS_EXT2_MOUNT_READWRITE   0x00000001
 Mount read-write.
 

Detailed Description

Mount flags for fs_ext2

These values are the valid flags that can be passed for the flags parameter to the fs_ext2_mount() function. Note that these can be combined, except for the read-only flag.

Also, it is not possible to mount some filesystems as read-write. For instance, if the filesystem was marked as not cleanly unmounted (from Linux itself), the driver will fail to mount the device as read-write. Also, if the block device does not support writing, then the filesystem will not be mounted as read-write (for obvious reasons).

These should stay synchronized with the ones in ext2fs.h.

Macro Definition Documentation

◆ FS_EXT2_MOUNT_READONLY

#define FS_EXT2_MOUNT_READONLY   0x00000000

Mount read-only.

◆ FS_EXT2_MOUNT_READWRITE

#define FS_EXT2_MOUNT_READWRITE   0x00000001

Mount read-write.