Changeset 6ba36a0 in mainline for uspace/lib/ext4/include/ext4/cfg.h


Ignore:
Timestamp:
2018-10-03T15:31:58Z (7 years ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
9b0ceb1
Parents:
b209135
Message:

Setting a custom ext4 volume label.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/ext4/include/ext4/cfg.h

    rb209135 r6ba36a0  
    3434#define LIBEXT4_CFG_H_
    3535
     36#include "types.h"
     37
    3638/** Versions available to choose from when creating a new file system. */
    3739typedef enum {
     
    4547#define ext4_def_fs_version extver_ext2
    4648
     49/** Configuration of a new ext4 file system */
     50typedef struct {
     51        /** File system version */
     52        ext4_cfg_ver_t version;
     53        /** Volume name encoded as UTF-8 string */
     54        const char *volume_name;
     55} ext4_cfg_t;
     56
    4757#endif
    4858
Note: See TracChangeset for help on using the changeset viewer.