search for: create_fat

Displaying 2 results from an estimated 2 matches for "create_fat".

Did you mean: create_fact
2018 Oct 28
0
[PATCH nbdkit 4/4] Add floppy plugin.
...di, struct virtual_floppy *floppy); +static int create_mbr (struct virtual_floppy *floppy); +static void chs_too_large (uint8_t *out); +static int create_partition_boot_sector (const char *label, struct virtual_floppy *floppy); +static int create_fsinfo (struct virtual_floppy *floppy); +static int create_fat (struct virtual_floppy *floppy); +static void write_fat_file (uint32_t first_cluster, uint32_t nr_clusters, struct virtual_floppy *floppy); +static int create_regions (struct virtual_floppy *floppy); + +void +init_virtual_floppy (struct virtual_floppy *floppy) +{ + memset (floppy, 0, sizeof *flopp...
2018 Oct 28
6
[PATCH nbdkit 0/4] Add floppy plugin.
Add nbdkit-floppy-plugin, “inspired” by qemu's VVFAT driver, but without the ability to handle writes. The implementation is pretty complete, supporting FAT32, LFNs, volume labels, timestamps, etc, and it passes both ‘make check’ and ‘make check-valgrind’. Usage is simple; to serve the current directory: $ nbdkit floppy . Then using guestfish (or any NBD client): $ guestfish --ro