search for: clust_size

Displaying 1 result from an estimated 1 matches for "clust_size".

Did you mean: cluster_size
2013 Nov 19
2
[PATCH] Add filesystem UUID to SYSAPPEND for FAT
...ent = fat_next_extent, .copy_super = vfat_copy_superblock, + .fs_uuid = vfat_fs_uuid, }; diff --git a/core/fs/fat/fat_fs.h b/core/fs/fat/fat_fs.h index 7ea3db8..5c26d69 100644 --- a/core/fs/fat/fat_fs.h +++ b/core/fs/fat/fat_fs.h @@ -98,6 +98,8 @@ struct fat_sb_info { int clust_size; int fat_type; + + uint32_t uuid; /* fs UUID */ } __attribute__ ((packed)); struct fat_dir_entry { diff --git a/core/fs/fs.c b/core/fs/fs.c index 8c1feea..6965d1d 100644 --- a/core/fs/fs.c +++ b/core/fs/fs.c @@ -5,6 +5,7 @@ #include <unistd.h> #include <fcntl.h&g...