KallistiOS  ##version##
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups
Macros
Mount flags for fs_ext2

Macros

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

Detailed Description

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

#define FS_EXT2_MOUNT_READONLY   0x00000000

Mount read-only.

#define FS_EXT2_MOUNT_READWRITE   0x00000001

Mount read-write.