RTEMS  5.0.0
Data Structures | Macros | Functions
msdos_format.c File Reference

RTEMS MSDOS Format FunctionalityThis function formats a disk partition conforming to MS-DOS conventions. More...

#include <sys/types.h>
#include <sys/stat.h>
#include <fcntl.h>
#include <unistd.h>
#include <errno.h>
#include <stdlib.h>
#include <stdio.h>
#include <ctype.h>
#include <inttypes.h>
#include <rtems/libio_.h>
#include <rtems/dosfs.h>
#include "fat.h"
#include "fat_fat_operations.h"
#include "msdos.h"

Data Structures

struct  msdos_format_param_t
 

Macros

#define ONE_GB   (1024L * 1024L * 1024L)
 
#define RTEMS_IDE_PARTITION_TABLE_OFFSET   0x1be
 
#define RTEMS_IDE_PARTITION_TABLE_SIZE   (4 * 16)
 

Functions

int msdos_format (const char *devname, const msdos_format_request_param_t *rqdata)
 Formats a block device with a FAT file system. More...
 

Detailed Description

RTEMS MSDOS Format Functionality

This function formats a disk partition conforming to MS-DOS conventions.