Main Page   Modules   Alphabetical List   Data Structures   File List   Data Fields   Globals   Related Pages  

ext2.h File Reference

ext2 file system header. More...

#include <const.h>

Go to the source code of this file.

Data Structures

struct  dir_ff
struct  group_descriptor
struct  i_node
struct  super_block

Defines

#define SIZE_SEC   512
#define N_EXT2_NUMERO_MAGICO   0xEF53
#define P_EXT2_NUMERO_MAGICO   0xEF51
#define EXT2_ERRORS_CONTINUE   1
#define EXT2_ERRORS_RO   2
#define EXT3_ERRORS_PANIC   3
#define EXT2_OS_LINUX   0
#define EXT2_OS_HURD   1
#define EXT2_MASIX   2
#define EXT2_FREEBSD   3
#define EXT2_OS_LITES4   4
#define EXT2_GOOD_OLD_REV   0
#define EXT2DYNAMIC_REV   1
#define EXT2_BAD_INO   0x01
#define EXT2_ROOT_INO   0x02
#define EXT2_ACL_IDX_INO   0x03
#define EXT2_ACL_DARA_INO   0x04
#define EXT2_BOOTLOADER   INO 0x05
#define EXT2_UNDEL_DIR_INO   0x06
#define MODE_MASK   0xF000
#define MODE_SOCK   0xC000
#define MODE_LINK   0xA000
#define MODE_FILE   0x8000
#define MODE_BDEV   0x6000
#define MODE_DIR   0x4000
#define MODE_CDEV   0x2000
#define MODE_FIFO   0x1000
#define EXT2_S_ISUID   0x0800
#define EXT2_S_ISGID   0x0400
#define EXT2_S_ISVTX   0x0200
#define EXT2_S_IRWXU   0x01C0
#define EXT2_S_IRUSR   0x0100
#define EXT2_S_IWUSR   0x0080
#define EXT2_S_IXUSR   0x0040
#define EXT2_S_IRWXG   0x0038
#define EXT2_S_IRGRP   0x0020
#define EXT2_S_IWGRP   0x0010
#define EXT2_S_IXGRP   0x0008
#define EXT2_S_IRWXO   0x0007
#define EXT2_S_IROTH   0x0004
#define EXT2_S_IWOTH   0x0003
#define EXT2_S_IXOTH   0x0001
#define EXT2_FT_UNKNOWN   0
#define EXT2_FT_REG_FILE   1
#define EXT2_FT_DIR   2
#define EXT2_FT_CHRDEV   3
#define EXT2_FT_BLKDEV   4
#define EXT2_FT_FIFO   5
#define EXT2_FT_SOCK   6
#define EXT2_FT_SYMLINK   7
#define EXT2_FT_MAX   8
#define DIM_SUPER_BLOCK   1024
#define START_SUPER_BLOCK   1024

Functions

bool init_ext2 ()
char * pwd_ext2 ()
void ls_ext2 ()
void cd_ext2 (char *param)
void cat_ext2 (char *stringa)


Detailed Description

ext2 file system header.

Author:
Filippo Brogi
Note:
Copyright (©) 2003 Filippo Brogi
Date:
Last update: 2003-09-30 by Andrea Righi init_ext2() now returns a boolean value.

Definition in file ext2.h.


Generated on Fri Feb 20 15:32:17 2004 for Minirighi by doxygen1.2.18