search for: create_fsinfo

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

2018 Oct 28
0
[PATCH nbdkit 4/4] Add floppy plugin.
...*dir, const char *name, const struct stat *statbuf, size_t 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 virtua...
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