Rev 3 |
Go to most recent revision |
Blame |
Compare with Previous |
Last modification |
View Log
| RSS feed
/*
*
*
*
*
*/
#ifndef __MSDOS_S_H__
#define __MSDOS_S_H__
#include <fs/types.h>
struct msdos_super_block {
__uint32_t lfat; /* fat start at? (logical sector) */
__uint32_t lroot; /* root directory start at? (logical sector) */
__uint32_t ldata; /* data start at? (logical sector) */
__uint32_t lsize; /* numbers of sectors in volume */
__uint16_t spc; /* sectors per cluster */
__uint32_t spf; /* sectors per fat */
__uint32_t rootsect; /* root directory size in sectors */
__uint16_t nfat; /* number of fats */
__uint16_t stclust; /* cluster on which begin search for free cluster */
};
#define MSDOS_SB(ptr) (ptr->u.msdos_sb)
#endif