fatformat.h 284 B

1234567891011
  1. /* Create a fresh FAT filesystem on a block device (floppy = FAT12 superfloppy,
  2. * IDE = MBR + single FAT16/32 partition). */
  3. #ifndef FATFORMAT_H
  4. #define FATFORMAT_H
  5. #include "blkdev.h"
  6. /* Format device d. Returns 0 on success, -1 on error. */
  7. int fat_format(blk_dev_t *d);
  8. #endif