search for: vfat_fs_ops

Displaying 5 results from an estimated 5 matches for "vfat_fs_ops".

2013 May 10
1
[syslinux:firmware] efi: Lookup which file system we were loaded from
...@@ -1177,13 +1177,10 @@ static void efi_setcwd(CHAR16 *dp) > > EFI_STATUS efi_main(EFI_HANDLE image, EFI_SYSTEM_TABLE *table) > { > + EFI_PXE_BASE_CODE *pxe; > EFI_LOADED_IMAGE *info; > EFI_STATUS status = EFI_SUCCESS; > -#if 0 > - const struct fs_ops *ops[] = { &vfat_fs_ops, NULL }; > -#else > - const struct fs_ops *ops[] = { &pxe_fs_ops, NULL }; > -#endif > + const struct fs_ops *ops[] = { NULL, NULL }; Probably need to drop "const" here, no? -hpa
2013 Nov 19
2
[PATCH] Add filesystem UUID to SYSAPPEND for FAT
...UID_LEN, "%04x-%04x", + (uint16_t)(FAT_SB(fs)->uuid >> 16), + (uint16_t)FAT_SB(fs)->uuid) < 0) { + free(uuid); + return NULL; + } + + for (ptr = uuid; ptr && *ptr; ptr++) + *ptr = toupper(*ptr); + + return uuid; +} + const struct fs_ops vfat_fs_ops = { .fs_name = "vfat", .fs_flags = FS_USEMEM | FS_THISIND, @@ -826,4 +856,5 @@ const struct fs_ops vfat_fs_ops = { .iget = vfat_iget, .next_extent = fat_next_extent, .copy_super = vfat_copy_superblock, + .fs_uuid = vfat_fs_uuid,...
2012 Aug 20
13
[PATCH 00/12] Multidisk support
Hello, the following patches should get multidisk access working. The syntax accepted is the following: (hdx,y)/path/to/file where x is the disk number and start at 0 and the y is the partition number starting at 1. So (hd0,1) is the first partition of the first disk. the other accepted syntax is using MBR's 32 bits disk signature so for example: (mbr:0x12345678,2)/foo/bar would address
2012 Jun 26
2
[GIT PULL] elflink bug fixes
...t/fat.c +++ b/core/fs/fat/fat.c @@ -779,7 +779,7 @@ static int vfat_fs_init(struct fs_info *fs) return fs->block_shift; } -int vfat_copy_superblock(void *buf) +static int vfat_copy_superblock(void *buf) { struct fat_bpb fat; struct disk *disk; @@ -821,4 +821,5 @@ const struct fs_ops vfat_fs_ops = { .iget_root = vfat_iget_root, .iget = vfat_iget, .next_extent = fat_next_extent, + .copy_super = vfat_copy_superblock, }; diff --git a/core/include/fs.h b/core/include/fs.h index 481e085..08ac738 100644 --- a/core/include/fs.h +++ b/core/include/fs.h @@ -72,6...
2015 Jul 22
13
[PULL 0/8] MultiFS suppport for BIOS and EFI
So last week I was wondering if XFS was still working -- even with its last on-disk structure changes -- and it _suprisingly_ worked as expected. Right, now I can finally get rid of GRUB and use Syslinux to boot my Linux on EFI from a rootfs with xfs. Shit, I have two partitions (the first one being the required ESP) so there is no way to access the other partitions since because Syslinux does not