qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH v2 0/1] vvfat label option updated
@ 2015-06-19  9:35 Wolfgang Bumiller
  2015-06-19  9:35 ` [Qemu-devel] [PATCH v2 1/1] vvfat: add a label option Wolfgang Bumiller
  2015-06-19 12:50 ` [Qemu-devel] [PATCH v2 0/1] vvfat label option updated Stefan Hajnoczi
  0 siblings, 2 replies; 4+ messages in thread
From: Wolfgang Bumiller @ 2015-06-19  9:35 UTC (permalink / raw)
  To: qemu-devel

* Till/Until changed
* Added (since 2.4) to json file
* Added the 11-byte limit description. Without mentioning the trailing
  spaces in the json file since the guest OS doesn't expose them to
  the user. However, I mentioned it in the commit message.

The limit comes from the FAT structure, but for completeness' sake I
looked up the FAT descriptions a little more.  Turns out at least
FAT32 labels are "supposed" to be stored with uppercase letters, and
seem to have some theoretical restrictions on the used characters, but
neither linux nor windows guests seem to care on the OS side. And at
least mkfs.vfat's -n option only warns about lowercase letters, but
doesn't error. Theoretically you're also not allowed to start a label
with a space, while mkfs.vfat neither warns nor errors about this.
So I decided to not add any additional checks and only mentioned it in
the json's doc string.

Wolfgang Bumiller (1):
  vvfat: add a label option

 block/vvfat.c        | 25 ++++++++++++++++++++++---
 qapi/block-core.json |  6 +++++-
 2 files changed, 27 insertions(+), 4 deletions(-)

-- 
2.1.4

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2015-06-19 12:50 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
2015-06-19 12:50 ` [Qemu-devel] [PATCH v2 0/1] vvfat label option updated Stefan Hajnoczi

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).