GLAST / LAT > DAQ and FSW > FSW > Doxygen Index> FBS / V0-3-1 > fbs_rtos / rad750
#include <vxWorks.h>
#include <string.h>
#include <errno.h>
#include <dosFsLib.h>
#include <blkIo.h>
#include <cbioLib.h>
#include <usrLib.h>
#include <fioLibX.h>
#include <iosLib.h>
#include <sys/stat.h>
#include <tffs/tffsDrv.h>
#include <tffs/fatlite.h>
#include <FBS/FBS_pubrtos.h>
#include <FBS/FBS_msgs.h>
#include <MDB/MDB_pubdefs.h>
#include <FBS_prvrtos.h>
Defines | |
#define | TFFS_NUM_DIR 16 |
Functions | |
unsigned int | FILE_sysTffsFormat (int drv, unsigned int offset) |
Format a TFFS partition. | |
unsigned int | FILE_sysTffsMount (int drv) |
Mount a TFFS partition. | |
unsigned int | FILE_sysTffsCheck (int drv) |
Check consistency of a TFFS partition. | |
unsigned int | FILE_sysTffsRepair (int drv) |
Attempt to repair a bad TFFS partition. |
These implementations are meant to work with a real TFFS file system and SIB EEPROM banks.
#define TFFS_NUM_DIR 16 |
The number of directories to create on disk when formatting.
Referenced by FILE_sysTffsFormat().
unsigned int FILE_sysTffsCheck | ( | int | drv | ) |
Check consistency of a TFFS partition.
drv | The TFFS drive number for the bank to check. |
unsigned int FILE_sysTffsFormat | ( | int | drv, | |
unsigned int | offset | |||
) |
Format a TFFS partition.
drv | The TFFS drive number for the bank to format. | |
offset | The offset in bytes from the bank base address at which the TFFS/FTL formatting should begin. |
References FILE_PATH_STR_SIZE, FILE_PATH_STR_SIZE_USR, FILE_SYS_MAX_FILES, and TFFS_NUM_DIR.
unsigned int FILE_sysTffsMount | ( | int | drv | ) |
Mount a TFFS partition.
drv | The TFFS drive number for the bank to format. |
References FILE_SYS_MAX_FILES.
unsigned int FILE_sysTffsRepair | ( | int | drv | ) |
Attempt to repair a bad TFFS partition.
drv | The TFFS drive number for the bank to repair. |