ms-sys
2.7.0
About: ms-sys writes Microsoft compatible boot records. Development version. Fossies Dox: ms-sys-2.7.0.tar.gz ("unofficial" and yet experimental doxygen-generated source code documentation) 
|
Go to the documentation of this file.
31 static char szOemId[9];
46 static char acOemId[8];
49 for(i=0; (i<8) && szOemId[i]; i++)
50 acOemId[i] = szOemId[i];
67 _(
"%s does not seem to be a floppy or disk partition device,\n"),
72 printf(
_(
"%s does not seem to have a FAT file system,\n"),
75 printf(
_(
"use the switch -f to force writing of OEM ID\n"));
int write_data(FILE *fp, unsigned long ulPosition, const void *pData, unsigned int uiLen)
int write_oem_id(FILE *fp, const char *szOemId)
int read_data(FILE *fp, unsigned long ulPosition, void *pData, unsigned int uiLen)
char * read_oem_id(FILE *fp)
int is_fat_32_fs(FILE *fp)
int is_fat_12_fs(FILE *fp)
int sanity_check(FILE *fp, const char *szPath, int iBr, int bPrintMessages)
int is_fat_16_fs(FILE *fp)
int ok_to_write_oem_id(FILE *fp, const char *szPath, int bPrintMessages)