From: Eric Blake <eblake@redhat.com>
To: Wolfgang Bumiller <w.bumiller@proxmox.com>, qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] [PATCH v2 1/1] vvfat: add a label option
Date: Fri, 19 Jun 2015 06:48:36 -0600 [thread overview]
Message-ID: <55840FA4.5030608@redhat.com> (raw)
In-Reply-To: <1434706529-13895-2-git-send-email-w.bumiller@proxmox.com>
[-- Attachment #1: Type: text/plain, Size: 1423 bytes --]
On 06/19/2015 03:35 AM, Wolfgang Bumiller wrote:
> Until now the vvfat volume label was hardcoded to be
> "QEMU VVFAT", now you can pass a file.label=labelname option
> to the -drive to change it.
>
> The FAT structure defines the volume label to be limited to
> 11 bytes and is filled up spaces when shorter than that. The
> trailing spaces however aren't exposed to the user by
> operating systems.
>
> Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
> ---
> block/vvfat.c | 25 ++++++++++++++++++++++---
> qapi/block-core.json | 6 +++++-
> 2 files changed, 27 insertions(+), 4 deletions(-)
>
> +++ b/qapi/block-core.json
> @@ -1453,13 +1453,17 @@
> # @fat-type: #optional FAT type: 12, 16 or 32
> # @floppy: #optional whether to export a floppy image (true) or
> # partitioned hard disk (false; default)
> +# @label: #optional set the volume label, limited to 11 bytes. FAT16 and
> + FAT32 traditionally have some restrictions on labels, which are
> + ignored by most operating systems. Defaults to "QEMU VVFAT".
> + (since 2.4)
Nicer; thanks. (Still doesn't mention what those restrictions are, but
I'm not as worried about that)
Reviewed-by: Eric Blake <eblake@redhat.com>
--
Eric Blake eblake redhat com +1-919-301-3266
Libvirt virtualization library http://libvirt.org
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 604 bytes --]
next prev parent reply other threads:[~2015-06-19 12:48 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-06-19 9:35 [Qemu-devel] [PATCH v2 0/1] vvfat label option updated Wolfgang Bumiller
2015-06-19 9:35 ` [Qemu-devel] [PATCH v2 1/1] vvfat: add a label option Wolfgang Bumiller
2015-06-19 12:48 ` Eric Blake [this message]
2015-06-19 12:50 ` [Qemu-devel] [PATCH v2 0/1] vvfat label option updated Stefan Hajnoczi
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=55840FA4.5030608@redhat.com \
--to=eblake@redhat.com \
--cc=qemu-devel@nongnu.org \
--cc=w.bumiller@proxmox.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).