search for: fat_type

Displaying 4 results from an estimated 4 matches for "fat_type".

Did you mean: at_type
2013 Nov 19
2
[PATCH] Add filesystem UUID to SYSAPPEND for FAT
...lude <stdio.h> +#include <ctype.h> #include <string.h> #include <sys/dirent.h> #include <cache.h> @@ -777,6 +778,12 @@ static int vfat_fs_init(struct fs_info *fs) } sbi->clusters = clusters; + /* fs UUID - serial number */ + if (FAT32 == sbi->fat_type) + sbi->uuid = fat.fat32.num_serial; + else + sbi->uuid = fat.fat12_16.num_serial; + /* Initialize the cache */ cache_init(fs->fs_dev, fs->block_shift); @@ -811,6 +818,29 @@ static int vfat_copy_superblock(void *buf) return 0; } +#define FAT_UUID_LEN (4 + 1 + 4 + 1)...
2016 Feb 24
2
[PATCH 1/5] fat: fix minfatsize for large FAT32
When trying to installing Syslinux on a FAT32 drive formatted using Ridgecrop's Large FAT32 formatting tool [1], the installer will bail due to the minfatsize check, as there is an extra sector being used. This fix addresses that. [1] http://www.ridgecrop.demon.co.uk/index.htm?fat32format.htm -------------- next part --------------
2016 Feb 25
3
[PATCH 1/5] fat: fix minfatsize for large FAT32
...a secondary FAT32 boot sector Setting secondary FAT32 boot sector for boot... Setting Label (This may take while)... Format completed. Writing master boot record... (...) Installing Syslinux 6.03... Opened drive \\?\Volume{00466cbf-0000-0000-0000-100000000000} for write access nclusters = 3051903 fat_type = FAT28, LIBFAT_SECTOR_SHIFT = 9 minfatsize = 23843 (patched, after shift) fatsize = 23843 Successfully wrote Syslinux boot record ----------------------------------------------------------------------- If minfatsize wasn't patched (original Syslinux code) it would be 23844 due and the (...
2016 Feb 25
0
[PATCH 1/5] fat: fix minfatsize for large FAT32
...ry FAT32 boot sector for boot... > Setting Label (This may take while)... > Format completed. > Writing master boot record... > (...) > Installing Syslinux 6.03... > Opened drive \\?\Volume{00466cbf-0000-0000-0000-100000000000} for write > access > nclusters = 3051903 > fat_type = FAT28, LIBFAT_SECTOR_SHIFT = 9 > minfatsize = 23843 (patched, after shift) > fatsize = 23843 > Successfully wrote Syslinux boot record > ----------------------------------------------------------------------- > > If minfatsize wasn't patched (original Syslinux code) it...