search for: cluster_lo

Displaying 3 results from an estimated 3 matches for "cluster_lo".

Did you mean: cluster_ip
2018 Oct 28
0
[PATCH nbdkit 4/4] Add floppy plugin.
...patible) entry. */ + memset (&entry, 0, sizeof entry); + memcpy (entry.name, lfn->short_base, 8); + memcpy (entry.name+8, lfn->short_ext, 3); + entry.attributes = attributes; + set_times (statbuf, &entry); + entry.size = htole32 (file_size); + /* Note that entry.cluster_hi and .cluster_lo are set later on in + * update_directory_first_cluster. + */ + + i = extend_dir_table (di, floppy); + if (i == -1) + return -1; + floppy->dirs[di].table[i] = entry; + + return 0; +} + +/* Set the {c,m,a}date and {c,m}time fields in the entry structure + * based on metadata found in th...
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
2018 Oct 30
2
Re: [PATCH nbdkit 4/4] Add floppy plugin.
...0, sizeof entry); > + memcpy (entry.name, lfn->short_base, 8); > + memcpy (entry.name+8, lfn->short_ext, 3); here too > + entry.attributes = attributes; > + set_times (statbuf, &entry); > + entry.size = htole32 (file_size); > + /* Note that entry.cluster_hi and .cluster_lo are set later on in > + * update_directory_first_cluster. > + */ > + > + i = extend_dir_table (di, floppy); > + if (i == -1) > + return -1; > + floppy->dirs[di].table[i] = entry; > + > + return 0; > +} > + > +static int > +convert_long_file_name...