search for: e753d9a

Displaying 1 result from an estimated 1 matches for "e753d9a".

2013 Dec 10
0
[PATCH] daemon: mkfs: Use -I option to force mkfs.fat to write a filesystem over a whole device (RHBZ#1039995).
...fs line 508, <PIPE> line 1. ...propagated at /usr/bin/virt-make-fs line 518, <PIPE> line 1. With this patch, the error goes away and partitionless disks can be created. --- daemon/mkfs.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/daemon/mkfs.c b/daemon/mkfs.c index e753d9a..ee0e9d1 100644 --- a/daemon/mkfs.c +++ b/daemon/mkfs.c @@ -96,6 +96,11 @@ do_mkfs (const char *fstype, const char *device, int blocksize, ADD_ARG (argv, i, "-O"); } + /* Force mkfs.fat to create a whole disk filesystem (RHBZ#1039995). */ + if (STREQ (fstype, "fat")...