Displaying 5 results from an estimated 5 matches for "bbbbbbbbbbbb".
2018 Jul 31
2
Re: [PATCH nbdkit 3/4] Add map filter.
...into two 16K halves
> +and swap them over:
> +
> + # map file
> + 0,16K 16K # aaaaa
> + 16K,16K 0 # bbbbb
> +
> +When visualised, this map file looks like:
> +
> + ┌──────────────┬──────────────┬─── ─ ─ ─
> + Plugin serves ... │ aaaaaaaaaaaa │ bbbbbbbbbbbb │ (extra data)
> + │ 16K │ 16K │
> + └──────────────┴──────────────┴─── ─ ─ ─
> + │ │
> + Filter │ ┌─────────┘
> + transforms ... └──────────────┐
> +...
2015 Sep 24
0
[PATCH] com32/disk: add UEFI support
...ntation.
- *
- * @v buf Points to a minimum array of 37 chars
- * @v id The GUID to represent as text
- *
- * The buffer must be >= char[37] and will be populated
- * with an ASCII NUL C string terminator.
- * Example: 11111111-2222-3333-4444-444444444444
- * Endian: LLLLLLLL-LLLL-LLLL-BBBB-BBBBBBBBBBBB
- */
-void guid_to_str(char *buf, const struct guid *const id)
-{
- unsigned int i = 0;
- const char *walker = (const char *)id;
-
- while (i < sizeof(guid_le_walk_map)) {
- walker += guid_le_walk_map[i];
- if (!guid_le_walk_map[i])
- *buf = '-';
- else {
- *buf = ((*wal...
2018 Jul 31
0
[PATCH nbdkit 3/4] Add map filter.
...For example this map would divide the plugin data into two 16K halves
+and swap them over:
+
+ # map file
+ 0,16K 16K # aaaaa
+ 16K,16K 0 # bbbbb
+
+When visualised, this map file looks like:
+
+ ┌──────────────┬──────────────┬─── ─ ─ ─
+ Plugin serves ... │ aaaaaaaaaaaa │ bbbbbbbbbbbb │ (extra data)
+ │ 16K │ 16K │
+ └──────────────┴──────────────┴─── ─ ─ ─
+ │ │
+ Filter │ ┌─────────┘
+ transforms ... └──────────────┐
+ │ │...
2018 Jul 31
7
[PATCH nbdkit 0/4] Add truncate and map filters.
This patch series proposes two new filters.
* truncate: This can truncate, extend, round up or round down the size
of a plugin/device. A typical usage is to fix the qemu problem that
it can only handle devices which are a multiple of 512-bytes:
nbdkit --filter=truncate random size=500 round-up=512
This will serve a virtual device with size 512 bytes. Reading from
the last 12 bytes will
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